1 |
|
# $Id: smeserver-sme7admin.spec,v 1.5 2009/03/05 17:37:19 slords Exp $ |
2 |
|
# Authority: vip-ire |
3 |
|
# Name: Daniel Berteaud |
4 |
|
|
5 |
Summary: Un module sme pour avoir des infos sur l'utilisation du serveur. |
Summary: Un module sme pour avoir des infos sur l'utilisation du serveur. |
6 |
%define name smeserver-sme7admin |
%define name smeserver-sme7admin |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 1.1.0 |
%define version 1.1.1 |
9 |
%define release 6 |
%define release 1 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release} |
Release: %{release}%{?dist} |
12 |
Copyright: GPL |
License: GPL |
13 |
Group: Networking/Daemons |
Group: Networking/Daemons |
14 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
15 |
#Patch0: %{name}-%{version}.patch.yyyymmddnn |
Patch1: smeserver-sme6admin-1.1.1-toenglish.patch |
16 |
Packager: Landry Breuil <landry@firewall-services.com> |
|
17 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
18 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
19 |
Requires: e-smith-base e-smith rrdtool-perl rrdtool hddtemp sysstat < 5.1 lm_sensors |
|
20 |
|
BuildRequires: e-smith-devtools |
21 |
|
BuildRequires: gettext |
22 |
|
|
23 |
|
Requires: e-smith-base |
24 |
|
Requires: rrdtool-perl |
25 |
|
Requires: rrdtool |
26 |
|
Requires: hddtemp |
27 |
|
Requires: sysstat < 5.1 |
28 |
|
Requires: lm_sensors |
29 |
|
|
30 |
# lm_sensors est de base dans sme maintenant -> devrait pas y avoir de pb de deps |
# lm_sensors est de base dans sme maintenant -> devrait pas y avoir de pb de deps |
31 |
AutoReqProv: no |
AutoReqProv: no |
32 |
|
|
|
Patch0: smeserver-sme7admin-newrrd.patch |
|
|
Patch1: smeserver-sme7admin-0conf.patch |
|
|
Patch2: smeserver-sme7admin-fix_samba_service_name.patch |
|
|
Patch3: smeserver-sme7admin-alertForm.patch |
|
|
Patch4: smeserver-sme7admin-1.1.0-fix_userpanel_graph.patch |
|
|
Patch5: smeserver-sme6admin-1.1.0-remove_db_init_from_spec.patch |
|
|
|
|
33 |
%changelog |
%changelog |
34 |
|
* Thu Mar 5 2009 Daniel B. <daniel@firewall-services.com> 1.1.1-1.sme |
35 |
|
- Roll new version in prep for translation |
36 |
|
- Convert base strings to english |
37 |
|
|
38 |
|
* Tue Mar 03 2009 Daniel B. <daniel@firewall-services.com> 1.1.0-7 |
39 |
|
- Split Requires in several lines |
40 |
|
- Add e-smith-devtools as a build dependency |
41 |
|
|
42 |
* Tue Feb 17 2009 Daniel B. <daniel@firewall-services.com> 1.1.0-6 |
* Tue Feb 17 2009 Daniel B. <daniel@firewall-services.com> 1.1.0-6 |
43 |
- Fixes in spec file |
- Fixes in spec file |
44 |
- Fix links for graphs in userpanels |
- Fix links for graphs in userpanels |
128 |
|
|
129 |
%prep |
%prep |
130 |
%setup |
%setup |
|
%patch0 -p1 |
|
131 |
%patch1 -p1 |
%patch1 -p1 |
|
%patch2 -p1 |
|
|
%patch3 -p1 |
|
|
%patch4 -p1 |
|
|
%patch5 -p1 |
|
132 |
|
|
133 |
%build |
%build |
134 |
perl createlinks |
perl createlinks |
135 |
%{__mkdir_p} root/etc/e-smith/web/panels/manager/html/sme7admin |
%{__mkdir_p} root/etc/e-smith/web/panels/manager/html/sme7admin |
136 |
|
%{__mkdir_p} root/usr/share/locale/en_US/LC_MESSAGES |
137 |
|
|
138 |
|
xgettext --from-code UTF-8 -F --no-wrap -L perl \ |
139 |
|
-o root/usr/share/locale/en_US/LC_MESSAGES/sme7admin.po \ |
140 |
|
root/etc/e-smith/web/functions/sme7admin \ |
141 |
|
root/usr/bin/sme7admind |
142 |
|
|
143 |
|
/sbin/e-smith/generate-lexicons |
144 |
|
|
145 |
%install |
%install |
146 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |