mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2025-01-03 14:32:40 +00:00
Define spec subpackages
This commit is contained in:
parent
7ace0759b9
commit
e1bd3b0217
1 changed files with 65 additions and 24 deletions
89
dist/rpm/arsse.spec
vendored
89
dist/rpm/arsse.spec
vendored
|
@ -1,31 +1,34 @@
|
|||
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
|
||||
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
|
||||
|
||||
Requires: php >= 7.1
|
||||
Requires: php-intl
|
||||
Requires: php-dom
|
||||
Requires: php-simplexml
|
||||
Requires: php-iconv
|
||||
Requires: php-posix
|
||||
Requires: php-pcntl
|
||||
%define phpver 7.1
|
||||
|
||||
Requires: php >= %{phpver}
|
||||
Requires: php-intl
|
||||
Requires: php-dom
|
||||
Requires: php-simplexml
|
||||
Requires: php-iconv
|
||||
Requires: php-posix
|
||||
Requires: php-pcntl
|
||||
# This is usually compiled in
|
||||
Requires: php-filter
|
||||
Requires: php-filter
|
||||
# The below extensions are part of the PHP core in recent versions
|
||||
Requires: php-hash
|
||||
Requires: php-json
|
||||
Requires: php-hash
|
||||
Requires: php-json
|
||||
# A Web server option and database option are required
|
||||
Requires: arsse-www-conf
|
||||
Requires: arsse-db-conf
|
||||
Requires: arsse-conf-www
|
||||
Requires: arsse-conf-db
|
||||
|
||||
Recommends: arsse-sqlite
|
||||
Recommends: arsse-nginx-fpm
|
||||
Recommends: arsse-sqlite
|
||||
Recommends: arsse-nginx-fpm
|
||||
Suggests: php-curl
|
||||
|
||||
%description
|
||||
The Arsse bridges the gap between multiple existing newsfeed aggregator
|
||||
|
@ -34,4 +37,42 @@ allowing you to use compatible clients for many protocols with a single
|
|||
server.
|
||||
|
||||
%package sqlite
|
||||
Requires: (php-sqlite or php-pdo_sqlite)
|
||||
Summary: SQLite database configuration for The Arsse
|
||||
Requires: (php-sqlite or php-pdo_sqlite)
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Conflicts: arsse-postgresql
|
||||
Conflicts: arsse-mysql
|
||||
Provides: arsse-conf-db
|
||||
|
||||
%package postgresql
|
||||
Summary: PostgreSQL database configuration for The Arsse
|
||||
Requires: (php-pgsql or php-pdo_pgsql)
|
||||
Requires: postgresql-server >= 10
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Conflicts: arsse-sqlite
|
||||
Conflicts: arsse-mysql
|
||||
Provides: arsse-conf-db
|
||||
|
||||
%package mysql
|
||||
Summary: MySQL database configuration for The Arsse
|
||||
Requires: (php-mysql or php-pdo_mysql)
|
||||
Requires: mysql-server >= 8.0
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Conflicts: arsse-sqlite
|
||||
Conflicts: arsse-postgresql
|
||||
# OpenSUSE only packages MariaDb, which does not worth with The Arsse
|
||||
#Provides: arsse-conf-db
|
||||
|
||||
%package nginx-fpm
|
||||
Summary: Nginx Web server configuration for The Arsse using PHP-FPM
|
||||
Requires: php-fpm >= %{phpver}
|
||||
Requires: nginx
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Provides: arsse-conf-www
|
||||
|
||||
%package apache-fpm
|
||||
Summary: Apache Web server configuration for The Arsse using PHP-FPM
|
||||
Requires: php-fpm >= %{phpver}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: apache >= 2.4
|
||||
Provides: arsse-conf-www
|
||||
|
|
Loading…
Reference in a new issue