1 |
# $Id: smeserver-sme7admin.spec,v 1.3 2009/03/03 18:45:13 vip-ire Exp $ |
# $Id: smeserver-sme7admin.spec,v 1.4 2009/03/05 16:25:22 slords Exp $ |
2 |
# Authority: vip-ire |
# Authority: vip-ire |
3 |
# Name: Daniel Berteaud |
# 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 7 |
%define release 1 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: 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 |
|
|
|
|
16 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
17 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
18 |
|
|
19 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
20 |
|
BuildRequires: gettext |
21 |
|
|
22 |
Requires: e-smith-base |
Requires: e-smith-base |
23 |
Requires: rrdtool-perl |
Requires: rrdtool-perl |
29 |
# 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 |
30 |
AutoReqProv: no |
AutoReqProv: no |
31 |
|
|
|
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 |
|
|
|
|
32 |
%changelog |
%changelog |
33 |
|
* Thu Mar 5 2009 Daniel B. <daniel@firewall-services.com> 1.1.1-1.sme |
34 |
|
- Roll new version in prep for translation |
35 |
|
|
36 |
* Tue Mar 03 2009 Daniel B. <daniel@firewall-services.com> 1.1.0-7 |
* Tue Mar 03 2009 Daniel B. <daniel@firewall-services.com> 1.1.0-7 |
37 |
- Split Requires in several lines |
- Split Requires in several lines |
38 |
- Add e-smith-devtools as a build dependency |
- Add e-smith-devtools as a build dependency |
126 |
|
|
127 |
%prep |
%prep |
128 |
%setup |
%setup |
|
%patch0 -p1 |
|
|
%patch1 -p1 |
|
|
%patch2 -p1 |
|
|
%patch3 -p1 |
|
|
%patch4 -p1 |
|
|
%patch5 -p1 |
|
129 |
|
|
130 |
%build |
%build |
131 |
perl createlinks |
perl createlinks |
132 |
%{__mkdir_p} root/etc/e-smith/web/panels/manager/html/sme7admin |
%{__mkdir_p} root/etc/e-smith/web/panels/manager/html/sme7admin |
133 |
|
|
134 |
|
xgettext -L perl \ |
135 |
|
-o root/usr/share/locale/en_US/LC_MESSAGES/sme7admin.po \ |
136 |
|
root/etc/e-smith/web/functions/sme7admin \ |
137 |
|
root/usr/bin/sme7admind |
138 |
|
|
139 |
|
/sbin/e-smith/generate-lexicons |
140 |
|
|
141 |
%install |
%install |
142 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |