2021-07-14 17:43:30 +00:00
|
|
|
Name: arsse
|
|
|
|
Version: 0.10.0
|
|
|
|
Release: 0
|
|
|
|
Summary: Multi-protocol RSS/Atom newsfeed synchronization server
|
|
|
|
License: MIT
|
|
|
|
Group: Productivity/Networking/Web/Utilities
|
|
|
|
URL: https://thearsse.com/
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
|
2021-07-16 13:09:36 +00:00
|
|
|
%define minver 7.1
|
2021-07-14 17:43:30 +00:00
|
|
|
|
2021-07-16 13:09:36 +00:00
|
|
|
Requires: php >= %{minver}
|
2021-07-14 17:43:30 +00:00
|
|
|
Requires: php-intl
|
|
|
|
Requires: php-dom
|
|
|
|
Requires: php-simplexml
|
|
|
|
Requires: php-iconv
|
|
|
|
Requires: php-posix
|
|
|
|
Requires: php-pcntl
|
2021-07-14 13:23:14 +00:00
|
|
|
# This is usually compiled in
|
2021-07-14 17:43:30 +00:00
|
|
|
Requires: php-filter
|
2021-07-14 13:23:14 +00:00
|
|
|
# The below extensions are part of the PHP core in recent versions
|
2021-07-14 17:43:30 +00:00
|
|
|
Requires: php-hash
|
|
|
|
Requires: php-json
|
2021-07-16 13:09:36 +00:00
|
|
|
# A database option is required; a Web server option is required as well, but what we package is not exhaustive
|
2021-07-14 17:43:30 +00:00
|
|
|
Requires: arsse-conf-db
|
2021-07-14 13:23:14 +00:00
|
|
|
|
2021-07-14 17:43:30 +00:00
|
|
|
Recommends: arsse-sqlite
|
|
|
|
Suggests: php-curl
|
2021-07-14 13:23:14 +00:00
|
|
|
|
2021-07-14 21:24:38 +00:00
|
|
|
Provides: arsse = %{version}
|
|
|
|
Obsoletes: arsse < %{version}
|
|
|
|
|
2021-07-16 13:09:36 +00:00
|
|
|
BuildRequires: systemd-rpm-macros
|
|
|
|
|
2021-07-14 13:23:14 +00:00
|
|
|
%description
|
|
|
|
The Arsse bridges the gap between multiple existing newsfeed aggregator
|
|
|
|
client protocols such as Tiny Tiny RSS, Nextcloud News and Miniflux,
|
|
|
|
allowing you to use compatible clients for many protocols with a single
|
|
|
|
server.
|
|
|
|
|
|
|
|
%package sqlite
|
2021-07-14 17:43:30 +00:00
|
|
|
Summary: SQLite database configuration for The Arsse
|
2021-07-16 13:09:36 +00:00
|
|
|
Group: Productivity/Networking/Web/Utilities
|
2021-07-14 17:43:30 +00:00
|
|
|
Requires: (php-sqlite or php-pdo_sqlite)
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
2021-07-16 13:09:36 +00:00
|
|
|
Conflicts: arsse-pgsql
|
2021-07-14 17:43:30 +00:00
|
|
|
Conflicts: arsse-mysql
|
2021-07-16 13:09:36 +00:00
|
|
|
Provides: arsse-config-db
|
2021-07-14 21:24:38 +00:00
|
|
|
Provides: arsse-sqlite = %{version}
|
|
|
|
Obsoletes: arsse-sqlite < %{version}
|
2021-07-14 17:43:30 +00:00
|
|
|
|
2021-07-16 20:15:28 +00:00
|
|
|
%description sqlite
|
|
|
|
Configures The Arsse to use an SQLite database. This is the default
|
|
|
|
option and is suitable for most installations
|
|
|
|
|
2021-07-14 21:24:38 +00:00
|
|
|
%package pgsql
|
2021-07-14 17:43:30 +00:00
|
|
|
Summary: PostgreSQL database configuration for The Arsse
|
2021-07-16 13:09:36 +00:00
|
|
|
Group: Productivity/Networking/Web/Utilities
|
2021-07-14 17:43:30 +00:00
|
|
|
Requires: (php-pgsql or php-pdo_pgsql)
|
|
|
|
Requires: postgresql-server >= 10
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Conflicts: arsse-sqlite
|
|
|
|
Conflicts: arsse-mysql
|
2021-07-16 13:09:36 +00:00
|
|
|
Provides: arsse-config-db
|
2021-07-14 21:24:38 +00:00
|
|
|
Provides: arsse-pgsql = %{version}
|
|
|
|
Obsoletes: arsse-pgsql < %{version}
|
2021-07-14 17:43:30 +00:00
|
|
|
|
2021-07-16 20:15:28 +00:00
|
|
|
%description pgsql
|
|
|
|
Configures The Arsse to use a PostgreSQL database.
|
|
|
|
|
2021-07-14 17:43:30 +00:00
|
|
|
%package mysql
|
|
|
|
Summary: MySQL database configuration for The Arsse
|
2021-07-16 13:09:36 +00:00
|
|
|
Group: Productivity/Networking/Web/Utilities
|
2021-07-14 17:43:30 +00:00
|
|
|
Requires: (php-mysql or php-pdo_mysql)
|
|
|
|
Requires: mysql-server >= 8.0
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Conflicts: arsse-sqlite
|
2021-07-16 13:09:36 +00:00
|
|
|
Conflicts: arsse-pgsql
|
2021-07-14 17:43:30 +00:00
|
|
|
# OpenSUSE only packages MariaDb, which does not worth with The Arsse
|
2021-07-16 13:09:36 +00:00
|
|
|
#Provides: arsse-config-db
|
2021-07-14 21:24:38 +00:00
|
|
|
Provides: arsse-mysql = %{version}
|
|
|
|
Obsoletes: arsse-mysql < %{version}
|
2021-07-14 17:43:30 +00:00
|
|
|
|
2021-07-16 20:15:28 +00:00
|
|
|
%description mysql
|
|
|
|
Configures The Arsse to use a MySQL database. Using this package is not
|
|
|
|
recommended, but it is provided for those who wish to use an existing MySQL
|
|
|
|
installation.
|
|
|
|
|
|
|
|
Note that MariaDb is not compatible. See https://jira.mariadb.org/browse/MDEV-18511
|
|
|
|
for details.
|
|
|
|
|
2021-07-16 13:09:36 +00:00
|
|
|
%package config-nginx-fpm
|
2021-07-14 17:43:30 +00:00
|
|
|
Summary: Nginx Web server configuration for The Arsse using PHP-FPM
|
2021-07-16 13:09:36 +00:00
|
|
|
Group: Productivity/Networking/Web/Utilities
|
|
|
|
Requires: php-fpm >= %{minver}
|
2021-07-14 17:43:30 +00:00
|
|
|
Requires: nginx
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
2021-07-14 21:24:38 +00:00
|
|
|
Provides: arsse-nginx-fpm = %{version}
|
|
|
|
Obsoletes: arsse-nginx-fpm < %{version}
|
2021-07-16 13:09:36 +00:00
|
|
|
Supplements: packageand(apache2:arsse)
|
2021-07-14 17:43:30 +00:00
|
|
|
|
2021-07-16 20:15:28 +00:00
|
|
|
%description config-nginx-fpm
|
|
|
|
Nginx Web server configuration for The Arsse using PHP-FPM. Using Ngix is
|
|
|
|
generally preferred as it receives more testing.
|
|
|
|
|
2021-07-16 13:09:36 +00:00
|
|
|
%package config-apache-fpm
|
2021-07-14 17:43:30 +00:00
|
|
|
Summary: Apache Web server configuration for The Arsse using PHP-FPM
|
2021-07-16 13:09:36 +00:00
|
|
|
Group: Productivity/Networking/Web/Utilities
|
|
|
|
Requires: php-fpm >= %{minver}
|
2021-07-14 17:43:30 +00:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: apache >= 2.4
|
2021-07-14 21:24:38 +00:00
|
|
|
Provides: arsse-apache-fpm = %{version}
|
|
|
|
Obsoletes: arsse-apache-fpm < %{version}
|
2021-07-16 13:09:36 +00:00
|
|
|
Supplements: packageand(apache2:arsse)
|
2021-07-14 21:24:38 +00:00
|
|
|
|
2021-07-16 20:15:28 +00:00
|
|
|
%description config-apache-fpm
|
|
|
|
Apache Web server configuration for The Arsse using PHP-FPM. Using Ngix is
|
|
|
|
generally preferred as it receives more testing.
|
|
|
|
|
2021-07-14 21:24:38 +00:00
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}
|
|
|
|
### Perform adjustments to config files here?
|
|
|
|
|
|
|
|
%build
|
|
|
|
# Nothing to do
|
|
|
|
|
|
|
|
%install
|
2021-07-16 13:09:36 +00:00
|
|
|
cp -r lib locale sql vendor www CHANGELOG UPGRADING README.md arsse.php "%{buildroot}/usr/share/php/arsse"
|
|
|
|
cp -r manual/* "%{buildroot}/usr/share/doc/arsse"
|