[php-horde-Horde-Date] Fix package.xml to install all .mo files

Nick Bebout nb at fedoraproject.org
Fri Jan 11 22:54:00 UTC 2013


commit 200f29dc535acf3a8b9837f39077b26cbb710243
Author: Nick Bebout <nb at fedoraproject.org>
Date:   Fri Jan 11 16:53:38 2013 -0600

    Fix package.xml to install all .mo files

 package.xml.patch         |   64 +++++++++++++++++++++++++++++++++++++++++++++
 php-horde-Horde-Date.spec |    7 ++---
 2 files changed, 67 insertions(+), 4 deletions(-)
---
diff --git a/package.xml.patch b/package.xml.patch
new file mode 100644
index 0000000..95576b6
--- /dev/null
+++ b/package.xml.patch
@@ -0,0 +1,64 @@
+--- package.xml.orig	2013-01-11 16:46:20.965340346 -0600
++++ package.xml	2013-01-11 16:52:21.824885622 -0600
+@@ -60,9 +60,13 @@
+    </file>
+    <file baseinstalldir="/" md5sum="1d6b14e875ab6103e6cec55e73a6bc46" name="lib/Horde/Date/Utils.php" role="php" />
+    <file baseinstalldir="/" md5sum="d1d2e6bfae2115d5b6b42b618be342d1" name="lib/Horde/Date.php" role="php" />
++   <file baseinstalldir="/" md5sum="23d2e95e0d721f738ccbfa61296a09d3" name="locale/ar/LC_MESSAGES/Horde_Date.mo" role="data" />
+    <file baseinstalldir="/" md5sum="23d2e95e0d721f738ccbfa61296a09d3" name="locale/ar/LC_MESSAGES/Horde_Date.po" role="data" />
++   <file baseinstalldir="/" md5sum="23d2e95e0d721f738ccbfa61296a09d3" name="locale/bg/LC_MESSAGES/Horde_Date.mo" role="data" />
+    <file baseinstalldir="/" md5sum="8df5c7d67e39e2cbbf7184b583d1017e" name="locale/bg/LC_MESSAGES/Horde_Date.po" role="data" />
++   <file baseinstalldir="/" md5sum="23d2e95e0d721f738ccbfa61296a09d3" name="locale/bs/LC_MESSAGES/Horde_Date.mo" role="data" />
+    <file baseinstalldir="/" md5sum="2a4a134329d11a5b0d722f9f4ff7f3f4" name="locale/bs/LC_MESSAGES/Horde_Date.po" role="data" />
++   <file baseinstalldir="/" md5sum="23d2e95e0d721f738ccbfa61296a09d3" name="locale/ca/LC_MESSAGES/Horde_Date.mo" role="data" />
+    <file baseinstalldir="/" md5sum="c5fbf4c62d7fd4fc414d9f5741dd906e" name="locale/ca/LC_MESSAGES/Horde_Date.po" role="data" />
+    <file baseinstalldir="/" md5sum="351499033ca3927ab245e76b878c0276" name="locale/cs/LC_MESSAGES/Horde_Date.mo" role="data" />
+    <file baseinstalldir="/" md5sum="0352f98b10b82af5f8a3eba156677343" name="locale/cs/LC_MESSAGES/Horde_Date.po" role="data" />
+@@ -80,11 +84,13 @@
+    <file baseinstalldir="/" md5sum="76ee2c35a2d5dcde81174408e13e88bf" name="locale/et/LC_MESSAGES/Horde_Date.po" role="data" />
+    <file baseinstalldir="/" md5sum="34446064eade6e1b109cb142d7319212" name="locale/eu/LC_MESSAGES/Horde_Date.mo" role="data" />
+    <file baseinstalldir="/" md5sum="da7ea9a70ebd7cac7f89bfbc66c10247" name="locale/eu/LC_MESSAGES/Horde_Date.po" role="data" />
++   <file baseinstalldir="/" md5sum="b06ac39c2afa542b2586fa3bb907686d" name="locale/fa/LC_MESSAGES/Horde_Date.mo" role="data" />
+    <file baseinstalldir="/" md5sum="b06ac39c2afa542b2586fa3bb907686d" name="locale/fa/LC_MESSAGES/Horde_Date.po" role="data" />
+    <file baseinstalldir="/" md5sum="276160f419d71443f2ca53edbbe3fd18" name="locale/fi/LC_MESSAGES/Horde_Date.mo" role="data" />
+    <file baseinstalldir="/" md5sum="5d700699753bf6a652f609d1de24b9b9" name="locale/fi/LC_MESSAGES/Horde_Date.po" role="data" />
+    <file baseinstalldir="/" md5sum="45fe4c203855083c47f709d9b73d9813" name="locale/fr/LC_MESSAGES/Horde_Date.mo" role="data" />
+    <file baseinstalldir="/" md5sum="d5c8728e55dee94b6932ded4fbcb2d5d" name="locale/fr/LC_MESSAGES/Horde_Date.po" role="data" />
++   <file baseinstalldir="/" md5sum="b06ac39c2afa542b2586fa3bb907686d" name="locale/gl/LC_MESSAGES/Horde_Date.mo" role="data" />
+    <file baseinstalldir="/" md5sum="8759d9e2859033087a10b704a4327dc0" name="locale/gl/LC_MESSAGES/Horde_Date.po" role="data" />
+    <file baseinstalldir="/" md5sum="ea3414b2f418ed95d3e10ac44905503b" name="locale/he/LC_MESSAGES/Horde_Date.mo" role="data" />
+    <file baseinstalldir="/" md5sum="8bef8feaf63b855618f3d3fe0ade898f" name="locale/he/LC_MESSAGES/Horde_Date.po" role="data" />
+@@ -92,12 +98,15 @@
+    <file baseinstalldir="/" md5sum="4dd266438de41f1dcb05c144ec868869" name="locale/hr/LC_MESSAGES/Horde_Date.po" role="data" />
+    <file baseinstalldir="/" md5sum="e859668da97c0968e775b637189a3e2d" name="locale/hu/LC_MESSAGES/Horde_Date.mo" role="data" />
+    <file baseinstalldir="/" md5sum="ed8bb0d9817fd2a9877ae71128ef2be8" name="locale/hu/LC_MESSAGES/Horde_Date.po" role="data" />
++   <file baseinstalldir="/" md5sum="b06ac39c2afa542b2586fa3bb907686d" name="locale/id/LC_MESSAGES/Horde_Date.mo" role="data" />
+    <file baseinstalldir="/" md5sum="4fd301483093b8979b2a2b07253cd67b" name="locale/id/LC_MESSAGES/Horde_Date.po" role="data" />
++   <file baseinstalldir="/" md5sum="b06ac39c2afa542b2586fa3bb907686d" name="locale/is/LC_MESSAGES/Horde_Date.mo" role="data" />
+    <file baseinstalldir="/" md5sum="04bc640604a1212e80add8bdad4c334c" name="locale/is/LC_MESSAGES/Horde_Date.po" role="data" />
+    <file baseinstalldir="/" md5sum="8cb606a31e0063c21579ccaf17e22314" name="locale/it/LC_MESSAGES/Horde_Date.mo" role="data" />
+    <file baseinstalldir="/" md5sum="7f4fa3abdfe52f7f91eed98d726ff0d3" name="locale/it/LC_MESSAGES/Horde_Date.po" role="data" />
+    <file baseinstalldir="/" md5sum="be968916d86b08867b0d82d85e548bdd" name="locale/ja/LC_MESSAGES/Horde_Date.mo" role="data" />
+    <file baseinstalldir="/" md5sum="616c18854e2ffbbd43c5a79f9e051b5e" name="locale/ja/LC_MESSAGES/Horde_Date.po" role="data" />
++   <file baseinstalldir="/" md5sum="b06ac39c2afa542b2586fa3bb907686d" name="locale/km/LC_MESSAGES/Horde_Date.mo" role="data" />
+    <file baseinstalldir="/" md5sum="4be54fc12031f553324c184e16f861be" name="locale/km/LC_MESSAGES/Horde_Date.po" role="data" />
+    <file baseinstalldir="/" md5sum="b295a73785d175521f92b3f506464467" name="locale/ko/LC_MESSAGES/Horde_Date.mo" role="data" />
+    <file baseinstalldir="/" md5sum="208bc978de643d53c2f51af9b071f32c" name="locale/ko/LC_MESSAGES/Horde_Date.po" role="data" />
+@@ -105,6 +114,7 @@
+    <file baseinstalldir="/" md5sum="41434b2d18c512ec9ec309255c2496a0" name="locale/lt/LC_MESSAGES/Horde_Date.po" role="data" />
+    <file baseinstalldir="/" md5sum="01bfb3989138b36befd0128a5cb682fd" name="locale/lv/LC_MESSAGES/Horde_Date.mo" role="data" />
+    <file baseinstalldir="/" md5sum="6e2133405555680a7e726d26af960f3a" name="locale/lv/LC_MESSAGES/Horde_Date.po" role="data" />
++   <file baseinstalldir="/" md5sum="b06ac39c2afa542b2586fa3bb907686d" name="locale/mk/LC_MESSAGES/Horde_Date.mo" role="data" />
+    <file baseinstalldir="/" md5sum="4b84d3f4310716921aec0d23c4ae5667" name="locale/mk/LC_MESSAGES/Horde_Date.po" role="data" />
+    <file baseinstalldir="/" md5sum="0546e5eb1be34ce6dca5e11bbafe4e72" name="locale/nb/LC_MESSAGES/Horde_Date.mo" role="data" />
+    <file baseinstalldir="/" md5sum="d2816baf6398f5ea0ded7bae44b6d8fd" name="locale/nb/LC_MESSAGES/Horde_Date.po" role="data" />
+@@ -132,7 +142,9 @@
+    <file baseinstalldir="/" md5sum="d8a1cee26530c8ff482ad80a9f8be11a" name="locale/tr/LC_MESSAGES/Horde_Date.po" role="data" />
+    <file baseinstalldir="/" md5sum="69ada5ddfd9f12bf2c86c6e74a674cd4" name="locale/uk/LC_MESSAGES/Horde_Date.mo" role="data" />
+    <file baseinstalldir="/" md5sum="9b17dde2fd4c351fdd78750e8d3aecc7" name="locale/uk/LC_MESSAGES/Horde_Date.po" role="data" />
++   <file baseinstalldir="/" md5sum="b06ac39c2afa542b2586fa3bb907686d" name="locale/zh_CN/LC_MESSAGES/Horde_Date.mo" role="data" />
+    <file baseinstalldir="/" md5sum="38129e076b9ff2c7e52a746d62be36eb" name="locale/zh_CN/LC_MESSAGES/Horde_Date.po" role="data" />
++   <file baseinstalldir="/" md5sum="b06ac39c2afa542b2586fa3bb907686d" name="locale/zh_TW/LC_MESSAGES/Horde_Date.mo" role="data" />
+    <file baseinstalldir="/" md5sum="99e777e9c959f2e9f9aadbc5492f4b98" name="locale/zh_TW/LC_MESSAGES/Horde_Date.po" role="data" />
+    <file baseinstalldir="/" md5sum="7cba3f61600db07894c44eb1aba6e734" name="locale/Horde_Date.pot" role="data" />
+    <file baseinstalldir="/" md5sum="a14c472969ddc89e894273373c7d19fc" name="test/Horde/Date/fixtures/bug2813.ics" role="test" />
diff --git a/php-horde-Horde-Date.spec b/php-horde-Horde-Date.spec
index 949e831..2480b5b 100644
--- a/php-horde-Horde-Date.spec
+++ b/php-horde-Horde-Date.spec
@@ -12,6 +12,7 @@ Group:          Development/Libraries
 License:        LGPLv2+
 URL:            http://pear.horde.org
 Source0:        http://pear.horde.org/get/%{pear_name}-%{version}.tgz
+Patch0:         package.xml.patch
 
 BuildArch:      noarch
 
@@ -35,6 +36,8 @@ Package for creating and manipulating dates.
 %prep
 %setup -q -c
 
+%patch0 -p0
+
 cd %{pear_name}-%{version}
 
 # Don't install .po and .pot files
@@ -88,12 +91,8 @@ fi
 %{pear_phpdir}/Horde/Date
 %{pear_phpdir}/Horde/Date.php
 %{pear_testdir}/%{pear_name}
-# 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
-
 
 %changelog
 * Fri Jan 11 2013 Nick Bebout <nb at fedoraproject.org> - 2.0.2-1


More information about the scm-commits mailing list