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 |
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 |
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 |
|
#sed -i "s/7.1.3/6.2.1/" CMakeLists.txt |
57 |
|
%cmake3 \ |
58 |
-DWITH_JS=1 \ |
-DWITH_JS=1 \ |
59 |
-DWITH_MYSQL=1 \ |
-DWITH_MYSQL=1 \ |
60 |
-DWITH_CURL=1 \ |
-DWITH_CURL=1 \ |
69 |
-DUPNP_HAS_IPV6=1 \ |
-DUPNP_HAS_IPV6=1 \ |
70 |
-DUPNP_HAS_REUSEADDR=1 |
-DUPNP_HAS_REUSEADDR=1 |
71 |
|
|
72 |
%cmake_build |
%cmake3_build |
73 |
|
|
74 |
%install |
%install |
75 |
|
. /opt/rh/devtoolset-9/enable |
76 |
|
|
77 |
install -p -D -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/gerbera/config.xml |
install -p -D -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/gerbera/config.xml |
78 |
install -p -D -m0644 %{SOURCE2} %{buildroot}%{_sysusersdir}/gerbera.conf |
install -p -D -m0644 %{SOURCE2} %{buildroot}%{_sysusersdir}/gerbera.conf |
79 |
|
|
80 |
%cmake_install |
%cmake3_install |
81 |
|
|
82 |
# make all files under %%_sysconfdir/gerbera owned by |
# make all files under %%_sysconfdir/gerbera owned by |
83 |
# this package |
# this package |
128 |
%config(noreplace) %{_datadir}/%{name}/js/common.js |
%config(noreplace) %{_datadir}/%{name}/js/common.js |
129 |
|
|
130 |
%changelog |
%changelog |
131 |
|
* Thu Nov 11 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.9.1-2.sme |
132 |
|
- add fmt-devel Requirement |
133 |
|
|
134 |
* 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 |
135 |
- 1.9.1 |
- 1.9.1 |
136 |
|
|