diff options
author | Remi Collet <fedora@famillecollet.com> | 2012-11-04 15:55:16 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2012-11-04 15:55:16 +0100 |
commit | 34a5b45beb386de422a3ff61034dac75cf0adffe (patch) | |
tree | c2064130125cae9a17bed168f90b400c5af79d6a | |
parent | 4f9e8bb26c0a6a2e6fe60414c6c820858062c554 (diff) |
php-horde-horde: fix locale
-rw-r--r-- | php-horde-horde.spec | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/php-horde-horde.spec b/php-horde-horde.spec index 026448b..6d274de 100644 --- a/php-horde-horde.spec +++ b/php-horde-horde.spec @@ -5,7 +5,7 @@ Name: php-horde-horde Version: 5.0.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Horde Application Framework Group: Development/Libraries @@ -113,7 +113,6 @@ cd %{pear_name}-%{version} sed -e '/%{pear_name}.po/d' \ -e '/htaccess/d' \ -e '/%{pear_name}.mo/s/md5sum=.*name=/name=/' \ - -e '/%{pear_name}.mo/s/role="horde"/role="data"/' \ ../package.xml >%{name}.xml @@ -154,6 +153,11 @@ install -D -p -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/httpd/conf.d/horde.c %else sh %{SOURCE1} %{buildroot} %{pear_name} %endif +for xml in locale/*/help.xml +do + lang=$(basename $(dirname $xml)) + echo "%%lang(${lang%_*}) %{pear_hordedir}/$xml" >> %{pear_name}.lang +done %clean @@ -199,7 +203,10 @@ fi %{pear_hordedir}/config %{pear_hordedir}/install %{pear_hordedir}/lib -%{pear_hordedir}/locale +# own locales (non standard) directories, .mo own by find_lang +%dir %{pear_hordedir}/locale +%dir %{pear_hordedir}/locale/* +%dir %{pear_hordedir}/locale/*/LC_MESSAGES %{pear_hordedir}/rpc %{pear_hordedir}/services %{pear_hordedir}/static @@ -208,14 +215,12 @@ fi %{pear_hordedir}/util %{pear_hordedir}/js/plupload %{pear_hordedir}/js/*.js -# own locales (non standard) directories, .mo own by find_lang -%dir %{pear_datadir}/%{pear_name} -%dir %{pear_datadir}/%{pear_name}/locale -%dir %{pear_datadir}/%{pear_name}/locale/* -%dir %{pear_datadir}/%{pear_name}/locale/*/LC_MESSAGES -%{pear_datadir}/%{pear_name}/scripts +%{pear_datadir}/%{pear_name} %changelog +* Sun Nov 4 2012 Remi Collet <RPMS@FamilleCollet.com> - 5.0.0-2 +- fix locale + * Sun Nov 4 2012 Remi Collet <RPMS@FamilleCollet.com> - 5.0.0-1 - Initial package |