1 |
# $Id: smeserver-unifi.spec,v 1.1 2021/03/10 15:19:03 brianr Exp $ |
# $Id: smeserver-unifi.spec,v 1.4 2022/08/04 02:55:05 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 |
8 |
%define release 2 |
%define release 2 |
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 |
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 |