1 |
# $Id: smeserver-sme7admin.spec,v 1.4 2009/03/05 16:25:22 slords Exp $ |
# $Id: smeserver-sme7admin.spec,v 1.5 2009/03/05 17:37:19 slords Exp $ |
2 |
# Authority: vip-ire |
# Authority: vip-ire |
3 |
# Name: Daniel Berteaud |
# Name: Daniel Berteaud |
4 |
|
|
12 |
License: GPL |
License: GPL |
13 |
Group: Networking/Daemons |
Group: Networking/Daemons |
14 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
15 |
|
Patch1: smeserver-sme6admin-1.1.1-toenglish.patch |
16 |
|
|
17 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
18 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
33 |
%changelog |
%changelog |
34 |
* Thu Mar 5 2009 Daniel B. <daniel@firewall-services.com> 1.1.1-1.sme |
* Thu Mar 5 2009 Daniel B. <daniel@firewall-services.com> 1.1.1-1.sme |
35 |
- Roll new version in prep for translation |
- 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 |
* Tue Mar 03 2009 Daniel B. <daniel@firewall-services.com> 1.1.0-7 |
39 |
- Split Requires in several lines |
- Split Requires in several lines |
128 |
|
|
129 |
%prep |
%prep |
130 |
%setup |
%setup |
131 |
|
%patch1 -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 -L perl \ |
xgettext --from-code UTF-8 -F --no-wrap -L perl \ |
139 |
-o root/usr/share/locale/en_US/LC_MESSAGES/sme7admin.po \ |
-o root/usr/share/locale/en_US/LC_MESSAGES/sme7admin.po \ |
140 |
root/etc/e-smith/web/functions/sme7admin \ |
root/etc/e-smith/web/functions/sme7admin \ |
141 |
root/usr/bin/sme7admind |
root/usr/bin/sme7admind |