1 |
# $Id: smeserver-unifi.spec,v 1.1 2021/03/10 15:19:03 brianr Exp $ |
# $Id: smeserver-unifi.spec,v 1.2 2022/08/04 02:24:25 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 |
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 |
31 |
|
|
32 |
%prep |
%prep |
33 |
%setup |
%setup |
34 |
%patch0 -p1 |
%patch1 -p1 |
35 |
rm root/etc/rc.d -rf |
rm root/etc/rc.d -rf |
36 |
|
|
37 |
echo %{installer} > root/etc/e-smith/db/configuration/defaults/unifi/VersionToInstall |
echo %{installer} > root/etc/e-smith/db/configuration/defaults/unifi/VersionToInstall |