/[smecontribs]/rpms/gerbera/contribs10/gerbera.spec
ViewVC logotype

Diff of /rpms/gerbera/contribs10/gerbera.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by jpp, Wed Nov 10 03:00:21 2021 UTC Revision 1.3 by jpp, Sat Nov 20 05:15:19 2021 UTC
# Line 1  Line 1 
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
# Line 8  Source0:        https://github.com/gerbe Line 8  Source0:        https://github.com/gerbe
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
# Line 19  BuildRequires:  taglib-devel Line 20  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
# Line 29  BuildRequires:  mariadb-connector-c-deve Line 30  BuildRequires:  mariadb-connector-c-deve
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    
# Line 46  BuildArch:      noarch Line 48  BuildArch:      noarch
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 \
# Line 64  Data files for the Gerbera media server. Line 69  Data files for the Gerbera media server.
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
# Line 121  EOF Line 128  EOF
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    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed