1 |
# $Id: smeserver-unifi.pec,v 1.10 2018/03/06 17:01:42 unnilennium Exp $ |
2 |
# Authority: unnilennium |
3 |
# Name: Jean-Philippe Pialasse |
4 |
|
5 |
Summary: smeserver-unifi |
6 |
%define name smeserver-unifi |
7 |
%define version 5.6.36 |
8 |
%define release 1 |
9 |
Name: %{name} |
10 |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
12 |
License: GPL |
13 |
Group: Applications/System |
14 |
Source: %{name}-%{version}.tgz |
15 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
BuildArch: noarch |
17 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
18 |
Requires: smeserver-release >= 9.0 |
19 |
Requires: redhat-lsb |
20 |
Requires: scl-utils |
21 |
Requires: rh-mongodb34-runtime |
22 |
Requires: rh-mongodb34-mongodb-server |
23 |
Requires: rh-mongodb34-mongodb |
24 |
Requires: java-1.8.0-openjdk |
25 |
|
26 |
%description |
27 |
Integration package for Ubiquiti Unifi controller on Koozali SME Server. |
28 |
|
29 |
%prep |
30 |
%setup |
31 |
|
32 |
%build |
33 |
/usr/bin/perl createlinks |
34 |
|
35 |
%install |
36 |
/bin/rm -rf $RPM_BUILD_ROOT |
37 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
38 |
/bin/rm -f %{name}-%{version}-filelist |
39 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
40 |
|
41 |
%files -f %{name}-%{version}-filelist |
42 |
%defattr(-,root,root,-) |
43 |
|
44 |
%clean |
45 |
rm -rf $RPM_BUILD_ROOT |
46 |
|
47 |
%post |
48 |
|
49 |
%changelog |
50 |
* Fri Mar 09 2018 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.36-1.sme |
51 |
- initial release |
52 |
|