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

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

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


Revision 1.8 - (hide annotations) (download)
Mon Dec 26 07:27:12 2022 UTC (23 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-unifi-5_6_30-7_1_68_5_el7_sme, HEAD
Changes since 1.7: +6 -3 lines
* Mon Dec 26 2022 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.30-5.sme
- fix execution bit again [SME: 12225]

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

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