1 |
# $Id: smeserver-sme9admin.spec,v 1.7 2016/12/17 15:49:43 unnilennium Exp $ |
# $Id: smeserver-sme9admin.spec,v 1.8 2016/12/18 04:02:27 unnilennium Exp $ |
2 |
# Authority: vip-ire |
# Authority: vip-ire |
3 |
# Name: Daniel Berteaud |
# Name: Daniel Berteaud |
4 |
# |
# |
7 |
%define name smeserver-sme9admin |
%define name smeserver-sme9admin |
8 |
Name: %{name} |
Name: %{name} |
9 |
%define version 1.5 |
%define version 1.5 |
10 |
%define release 21 |
%define release 22 |
11 |
Version: %{version} |
Version: %{version} |
12 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
13 |
License: GPL |
License: GPL |
17 |
Patch1: smeserver-sme9admin-1.5-bz8399-traffic.patch |
Patch1: smeserver-sme9admin-1.5-bz8399-traffic.patch |
18 |
Patch2: smeserver-sme9admin-1.5-bz8818-email_accounting.patch |
Patch2: smeserver-sme9admin-1.5-bz8818-email_accounting.patch |
19 |
Patch3: smeserver-sme9admin-1.5-locale-2016-12-18.patch |
Patch3: smeserver-sme9admin-1.5-locale-2016-12-18.patch |
20 |
|
Patch4: smeserver-sme9admin-1.5-bz9894-utf8.patch |
21 |
|
Patch5: smeserver-sme9admin-1.5-locale-2016-12-20.patch |
22 |
|
|
23 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
24 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
38 |
AutoReqProv: no |
AutoReqProv: no |
39 |
|
|
40 |
%changelog |
%changelog |
41 |
|
* Tue Dec 20 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.5-22.sme |
42 |
|
- make CGI and pictures utf8 compliant [SME: 9894] |
43 |
|
- apply smeserver-sme9admin-1.5-locale-2016-12-20.patch |
44 |
|
|
45 |
* Sat Dec 17 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.5-21.sme |
* Sat Dec 17 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.5-21.sme |
46 |
- locals smeserver-sme9admin-1.5-locale-2016-12-18.patch |
- locals smeserver-sme9admin-1.5-locale-2016-12-18.patch |
47 |
|
|
132 |
%patch1 -p1 |
%patch1 -p1 |
133 |
%patch2 -p1 |
%patch2 -p1 |
134 |
%patch3 -p1 |
%patch3 -p1 |
135 |
|
%patch4 -p1 |
136 |
|
%patch5 -p1 |
137 |
|
|
138 |
%build |
%build |
139 |
perl createlinks |
perl createlinks |
151 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
152 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
153 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
154 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
155 |
|
|grep -v '/etc/e-smith/sql/init/sme9admin'\ |
156 |
|
|grep -v '/usr/bin/sme9admind'\ |
157 |
|
|grep -v '/usr/share/doc/smeserver-sme9admin/add_ds_to_rrd.pl'> %{name}-%{version}-filelist |
158 |
|
|
159 |
%clean |
%clean |
160 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |