/[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.2 by jpp, Thu Aug 4 02:24:25 2022 UTC Revision 1.8 by jpp, Mon Dec 26 07:27:12 2022 UTC
# Line 1  Line 1 
1  # $Id: smeserver-unifi.spec,v 1.1 2021/03/10 15:19:03 brianr Exp $  # $Id: smeserver-unifi.spec,v 1.7 2022/11/18 07:07:12 jpp Exp $
2  # Authority: unnilennium  # Authority: unnilennium
3  # Name: Jean-Philippe Pialasse  # Name: Jean-Philippe Pialasse
4  %define installer 7.1.68  %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 2  %define release 5
9  Name: %{name}  Name: %{name}
10  Version: %{version}  Version: %{version}
11  Release: %{installer}%{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 >= 10.0  Requires: smeserver-release >= 10.0
 Requires: redhat-lsb  
 #Requires: scl-utils  
21  Requires: mongodb-org >= 3.6  Requires: mongodb-org >= 3.6
22    #Requires: redhat-lsb
23    #Requires: scl-utils
24  #Requires: rh-mongodb34-runtime  #Requires: rh-mongodb34-runtime
25  #Requires: rh-mongodb34-mongodb-server  #Requires: rh-mongodb34-mongodb-server
26  #Requires: rh-mongodb34-mongodb  #Requires: rh-mongodb34-mongodb
# Line 31  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  rm root/etc/rc.d -rf
37    
38  echo %{installer} > root/etc/e-smith/db/configuration/defaults/unifi/VersionToInstall  echo %{installer} > root/etc/e-smith/db/configuration/defaults/unifi/VersionToInstall
# Line 44  echo %{installer} > root/etc/e-smith/db/ Line 46  echo %{installer} > root/etc/e-smith/db/
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 /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 59  rm -rf $RPM_BUILD_ROOT Line 62  rm -rf $RPM_BUILD_ROOT
62  %post  %post
63    
64  %changelog  %changelog
65    * Mon Dec 26 2022 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.30-5.sme
66    - fix execution bit again [SME: 12225]
67    
68    * Fri Nov 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.30-4.sme
69    - add execution bit [SME: 12225]
70    
71    * Sat Oct 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.30-3.sme
72    - fix [SME: 10534]
73    
74  * Wed Aug 03 2022 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.30-2.sme  * Wed Aug 03 2022 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.30-2.sme
75  - systemd enabled [SME: 12139]  - systemd enabled [SME: 12139]
76  - update event [SME: 12139]  - update event [SME: 12139]


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