Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:zzndb001
miniflux
miniflux.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File miniflux.spec of Package miniflux
# # spec file for package miniflux # # Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: miniflux Version: 2.2.1 Release: 0 Summary: Minimalist and opinionated feed reader License: Apache-2.0 URL: https://github.com/miniflux/v2 Source0: %{name}-%{version}.tar.xz Source1: vendor.tar.xz Source2: %{name}-user.conf BuildRequires: fdupes BuildRequires: go >= 1.22 BuildRequires: glibc BuildRequires: pkgconfig BuildRequires: pkgconfig(systemd) BuildRequires: sysuser-shadow BuildRequires: sysuser-tools Requires: postgresql-server >= 9.5 %{?systemd_ordering} %{?sysusers_requires} %description Miniflux is a minimalist and opinionated feed reader: Written in Go (Golang) Works only with Postgresql Doesn't use any ORM Doesn't use any complicated framework Use only modern vanilla Javascript (ES6 and Fetch API) Single binary compiled statically without dependency The number of features is voluntarily limited It's simple, fast, lightweight and super easy to install. %prep %setup -q -a 1 %build %define version_package miniflux.app/v2/internal/version info="-X '%{version_package}.Version=%{version}' -X '%{version_package}.Commit=$(grep 'commit:' %{_sourcedir}/miniflux.obsinfo | cut -d' ' -f2)' -X '%{version_package}.BuildDate=$(date +%FT%T%z)'" go build -mod vendor -buildmode pie -trimpath -ldflags "-s -w -buildid= ${info}" -o %{name} main.go %sysusers_generate_pre %{S:2} %{name} %install install -Dm 0755 %{name} %{buildroot}%{_bindir}/%{name} install -Dm 0644 packaging/systemd/%{name}.service %{buildroot}%{_unitdir}/%{name}.service install -Dm 0600 packaging/%{name}.conf %{buildroot}%{_sysconfdir}/%{name}.conf install -Dm 0644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1 install -d %{buildroot}%{_sbindir} ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name} %pre -f %{name}.pre %service_add_pre %{name}.service %post %service_add_post %{name}.service %preun %service_del_preun %{name}.service %postun %service_del_postun %{name}.service %files %license LICENSE %doc ChangeLog README.md SECURITY.md %{_bindir}/%{name} %{_unitdir}/%{name}.service %{_sbindir}/rc%{name} %config(noreplace) %{_sysconfdir}/%{name}.conf %{_mandir}/man1/%{name}.1%{?ext_man} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor