/[smecontribs]/rpms/smeserver-unifi/contribs10/smeserver-unifi.spec
ViewVC logotype

Diff of /rpms/smeserver-unifi/contribs10/smeserver-unifi.spec

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

Revision 1.1 by brianr, Wed Mar 10 15:19:03 2021 UTC Revision 1.7 by jpp, Fri Nov 18 07:07:12 2022 UTC
# Line 1  Line 1 
1  # $Id: smeserver-unifi.spec,v 1.3 2018/03/09 18:39:15 jpp Exp $  # $Id: smeserver-unifi.spec,v 1.6 2022/10/22 04:23:48 jpp Exp $
2  # Authority: unnilennium  # Authority: unnilennium
3  # Name: Jean-Philippe Pialasse  # Name: Jean-Philippe Pialasse
4    %define installer 7.1.68
5  Summary: smeserver-unifi  Summary: smeserver-unifi
6  %define name smeserver-unifi  %define name smeserver-unifi
7  %define version 5.6.30  %define version 5.6.30
8  %define release 1  %define release 4
9  Name: %{name}  Name: %{name}
10  Version: %{version}  Version: %{version}
11  Release: %{release}%{?dist}  Release: %{installer}.%{release}%{?dist}
12  License: GPL  License: GPL
13  Group: Applications/System  Group: Applications/System
14  Source: %{name}-%{version}.tgz  Source: %{name}-%{version}.tgz
15  Patch0: smeserver-unifi-5.6.30-smeserverSteveJenkins.patch  Patch0: smeserver-unifi-5.6.30-smeserverSteveJenkins.patch
16    Patch1: smeserver-unifi-5.6.30-sme10.patch
17  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
18  BuildArch: noarch  BuildArch: noarch
19  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
20  Requires: smeserver-release >= 9.0  Requires: smeserver-release >= 10.0
21  Requires: redhat-lsb  Requires: mongodb-org >= 3.6
22  Requires: scl-utils  #Requires: redhat-lsb
23  Requires: rh-mongodb34-runtime  #Requires: scl-utils
24  Requires: rh-mongodb34-mongodb-server  #Requires: rh-mongodb34-runtime
25  Requires: rh-mongodb34-mongodb  #Requires: rh-mongodb34-mongodb-server
26    #Requires: rh-mongodb34-mongodb
27  Requires: java-1.8.0-openjdk  Requires: java-1.8.0-openjdk
28    
29  %description  %description
# Line 30  Integration package for Ubiquiti Unifi c Line 32  Integration package for Ubiquiti Unifi c
32  %prep  %prep
33  %setup  %setup
34  %patch0 -p1  %patch0 -p1
35    %patch1 -p1
36    rm root/etc/rc.d -rf
37    
38    echo %{installer} > root/etc/e-smith/db/configuration/defaults/unifi/VersionToInstall
39  %build  %build
40  /usr/bin/perl createlinks  /usr/bin/perl createlinks
41    
# Line 41  Integration package for Ubiquiti Unifi c Line 46  Integration package for Ubiquiti Unifi c
46  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
47          --dir /opt/UniFi 'attr(660,ubnt,ubnt)' \          --dir /opt/UniFi 'attr(660,ubnt,ubnt)' \
48          --dir /opt/UniFi_bak 'attr(660,ubnt,ubnt)' \          --dir /opt/UniFi_bak 'attr(660,ubnt,ubnt)' \
49            --file /usr/sbin/e-smith/systemd/unifi 'attr(755,root,root)' \
50          > %{name}-%{version}-filelist          > %{name}-%{version}-filelist
51    
52  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
# Line 56  rm -rf $RPM_BUILD_ROOT Line 62  rm -rf $RPM_BUILD_ROOT
62  %post  %post
63    
64  %changelog  %changelog
65    * Fri Nov 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.30-4.sme
66    - add execution bit [SME: 12225]
67    
68    * Sat Oct 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.30-3.sme
69    - fix [SME: 10534]
70    
71    * Wed Aug 03 2022 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.30-2.sme
72    - systemd enabled [SME: 12139]
73    - update event [SME: 12139]
74    - update Ports [SME: 12139]
75    - use LE cert if available [SME: 10534]
76    - add to core backup [SME: 12027]
77    
78  * Fri Mar 09 2018 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.30-1.sme  * Fri Mar 09 2018 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.30-1.sme
79  - initial release  - initial release
80    


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