1 |
Name: gerbera |
Name: gerbera |
2 |
Version: 1.9.1 |
Version: 1.9.1 |
3 |
Release: 1%{?dist} |
Release: 2%{?dist} |
4 |
Summary: UPnP Media Server |
Summary: UPnP Media Server |
5 |
License: GPLv2 and MIT and OFL |
License: GPLv2 and MIT and OFL |
6 |
Url: https://gerbera.io |
Url: https://gerbera.io |
8 |
Source1: config.xml |
Source1: config.xml |
9 |
Source2: gerbera-sysusers.conf |
Source2: gerbera-sysusers.conf |
10 |
|
|
11 |
BuildRequires: gcc |
BuildRequires: fmt-devel |
12 |
BuildRequires: gcc-c++ |
BuildRequires: gcc devtoolset-9-gcc |
13 |
|
BuildRequires: gcc-c++ devtoolset-9-gcc-c++ |
14 |
BuildRequires: libupnp-devel |
BuildRequires: libupnp-devel |
15 |
BuildRequires: libuuid-devel |
BuildRequires: libuuid-devel |
16 |
BuildRequires: sqlite-devel |
BuildRequires: sqlite-devel |
17 |
BuildRequires: duktape-devel |
#BuildRequires: duktape-devel |
18 |
BuildRequires: curl-devel |
BuildRequires: curl-devel |
19 |
BuildRequires: taglib-devel |
BuildRequires: taglib-devel |
20 |
BuildRequires: file-devel |
BuildRequires: file-devel |
21 |
BuildRequires: libexif-devel |
BuildRequires: libexif-devel |
22 |
BuildRequires: exiv2-devel |
BuildRequires: exiv2-devel |
23 |
BuildRequires: cmake |
BuildRequires: cmake cmake3 |
24 |
BuildRequires: zlib-devel |
BuildRequires: zlib-devel |
25 |
BuildRequires: libebml-devel |
BuildRequires: libebml-devel |
26 |
BuildRequires: libmatroska-devel |
BuildRequires: libmatroska-devel |
27 |
BuildRequires: spdlog-devel |
BuildRequires: spdlog-devel |
28 |
BuildRequires: pugixml-devel |
BuildRequires: pugixml-devel |
29 |
BuildRequires: mariadb-connector-c-devel |
#BuildRequires: mariadb-connector-c-devel |
30 |
%{?sysusers_requires_compat} |
%{?sysusers_requires_compat} |
31 |
%{?systemd_ordering} |
%{?systemd_ordering} |
32 |
BuildRequires: systemd-devel |
BuildRequires: systemd-devel |
33 |
BuildRequires: systemd-rpm-macros |
# not available for centos7 |
34 |
|
#BuildRequires: systemd-rpm-macros |
35 |
BuildRequires: make |
BuildRequires: make |
36 |
Requires: %{name}-data = %{version}-%{release} |
Requires: %{name}-data = %{version}-%{release} |
37 |
|
|
48 |
Data files for the Gerbera media server. |
Data files for the Gerbera media server. |
49 |
|
|
50 |
%prep |
%prep |
51 |
|
. /opt/rh/devtoolset-9/enable |
52 |
%autosetup -p1 |
%autosetup -p1 |
53 |
|
|
54 |
%build |
%build |
55 |
%cmake \ |
. /opt/rh/devtoolset-9/enable |
56 |
|
%cmake3 \ |
57 |
-DWITH_JS=1 \ |
-DWITH_JS=1 \ |
58 |
-DWITH_MYSQL=1 \ |
-DWITH_MYSQL=1 \ |
59 |
-DWITH_CURL=1 \ |
-DWITH_CURL=1 \ |
68 |
-DUPNP_HAS_IPV6=1 \ |
-DUPNP_HAS_IPV6=1 \ |
69 |
-DUPNP_HAS_REUSEADDR=1 |
-DUPNP_HAS_REUSEADDR=1 |
70 |
|
|
71 |
%cmake_build |
%cmake3_build |
72 |
|
|
73 |
%install |
%install |
74 |
|
. /opt/rh/devtoolset-9/enable |
75 |
|
|
76 |
install -p -D -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/gerbera/config.xml |
install -p -D -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/gerbera/config.xml |
77 |
install -p -D -m0644 %{SOURCE2} %{buildroot}%{_sysusersdir}/gerbera.conf |
install -p -D -m0644 %{SOURCE2} %{buildroot}%{_sysusersdir}/gerbera.conf |
78 |
|
|
79 |
%cmake_install |
%cmake3_install |
80 |
|
|
81 |
# make all files under %%_sysconfdir/gerbera owned by |
# make all files under %%_sysconfdir/gerbera owned by |
82 |
# this package |
# this package |
127 |
%config(noreplace) %{_datadir}/%{name}/js/common.js |
%config(noreplace) %{_datadir}/%{name}/js/common.js |
128 |
|
|
129 |
%changelog |
%changelog |
130 |
|
* Thu Nov 11 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.9.1-2.sme |
131 |
|
- add fmt-devel Requirement |
132 |
|
|
133 |
* Sat Aug 28 2021 Gwyn Ciesla <gwync@protonmail.com> - 1.9.1-1 |
* Sat Aug 28 2021 Gwyn Ciesla <gwync@protonmail.com> - 1.9.1-1 |
134 |
- 1.9.1 |
- 1.9.1 |
135 |
|
|