SPECS: horde.spec - rel 3 - added localegen package allowing regeneration o...
baggins
baggins at pld-linux.org
Mon Oct 27 16:10:28 CET 2008
Author: baggins Date: Mon Oct 27 15:10:28 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- rel 3
- added localegen package allowing regeneration of translations in Horde packages
---- Files affected:
SPECS:
horde.spec (1.170 -> 1.171)
---- Diffs:
================================================================
Index: SPECS/horde.spec
diff -u SPECS/horde.spec:1.170 SPECS/horde.spec:1.171
--- SPECS/horde.spec:1.170 Sat Oct 11 22:32:21 2008
+++ SPECS/horde.spec Mon Oct 27 16:10:22 2008
@@ -18,7 +18,7 @@
Summary(pt_BR.UTF-8): Componentes comuns do Horde usados por todos os módulos
Name: %{hordeapp}
Version: 3.3
-Release: 2
+Release: 3
License: LGPL
Group: Applications/WWW
Source0: ftp://ftp.horde.org/pub/horde/%{hordeapp}-%{version}.tar.gz
@@ -32,6 +32,7 @@
Patch5: %{name}-mime_drivers.patch
Patch6: %{name}-webroot.patch
Patch7: %{name}-geoip.patch
+Patch8: %{name}-translation.patch
URL: http://www.horde.org/
BuildRequires: rpm-php-pearprov >= 4.0.2-98
BuildRequires: rpmbuild(macros) >= 1.304
@@ -157,6 +158,21 @@
%description -n openldap-schema-horde -l pl.UTF-8
Ten pakiet zawiera horde.schema dla pakietu openldap.
+%package localegen
+Summary: PHP script for regenerating Horde translations
+Summary(pl.UTF-8): Skrypt PHP służący do regeneracji tłumaczeń Horde
+Group: Networking/Daemons
+Requires: gettext
+Requires: php-pear-Console_Getopt
+Requires: php-pear-Console_Table
+Requires: php-pear-File_Find
+
+%description localegen
+PHP script for regenerating Horde translations.
+
+%description localegen -l pl.UTF-8
+Skrypt PHP służący do regeneracji tłumaczeń Horde.
+
%prep
%setup -q
%patch0 -p1
@@ -166,6 +182,7 @@
%patch5 -p1
%patch6 -p1
%patch7 -p1
+%patch8 -p1
rm -f {,*/}.htaccess
for i in config/*.dist; do
@@ -214,7 +231,7 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_appdir}/docs,/var/{lib,log}/horde,%{schemadir}}
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_appdir}/docs,/var/{lib,log}/horde,%{schemadir},%{_bindir}}
cp -a *.php $RPM_BUILD_ROOT%{_appdir}
cp -a config/* $RPM_BUILD_ROOT%{_sysconfdir}
@@ -230,6 +247,8 @@
> $RPM_BUILD_ROOT/var/log/horde/%{hordeapp}.log
install scripts/ldap/horde.schema $RPM_BUILD_ROOT%{schemadir}
+install po/translation.php $RPM_BUILD_ROOT%{_bindir}/horde-localegen.php
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -337,12 +356,21 @@
%defattr(644,root,root,755)
%{schemadir}/*.schema
+%files localegen
+%defattr(644,root,root,755)
+%attr(755,root,root)
+%{_bindir}/horde-localegen.php
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.171 2008/10/27 15:10:22 baggins
+- rel 3
+- added localegen package allowing regeneration of translations in Horde packages
+
Revision 1.170 2008/10/11 20:32:21 baggins
- more suggests
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/horde.spec?r1=1.170&r2=1.171&f=u
More information about the pld-cvs-commit
mailing list