From: ankry Date: Sun, 25 Jul 2004 23:12:35 +0000 (+0000) Subject: - no -> nb, remove empty trans., rel 6 X-Git-Tag: auto/ac/authconfig-2_0-6 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?p=packages%2Fauthconfig.git;a=commitdiff_plain;h=6d6d8bbaf3bcd5ff545cd7bbd851c65bb2e8c2f7 - no -> nb, remove empty trans., rel 6 Changed files: authconfig.spec -> 1.37 --- diff --git a/authconfig.spec b/authconfig.spec index 9409f7b..7d4e99d 100644 --- a/authconfig.spec +++ b/authconfig.spec @@ -8,7 +8,7 @@ Summary(ru): Summary(uk): õÔÉ̦ÔÁ ÔÅËÓÔÏ×ÏÇÏ ÒÅÖÉÍÕ ÄÌÑ ÎÁÌÁÇÏÄÖÅÎÎÑ shadow ÔÁ NIS-ÐÁÒÏÌ¦× Name: authconfig Version: 2.0 -Release: 5 +Release: 6 License: GPL Group: Base Source0: %{name}-%{version}.tar.gz @@ -70,6 +70,8 @@ NIS %setup -q %patch -p1 +mv po/{no,nb}.po + %build %{__make} \ CFLAGS="-DVERSION=\"${VERSION}\" %{rpmcflags} -Wall" @@ -80,6 +82,11 @@ rm -rf $RPM_BUILD_ROOT %{__make} install \ INSTROOT=$RPM_BUILD_ROOT +# remove empty translation files +for f in $RPM_BUILD_ROOT%{_datadir}/locale/*/LC_MESSAGES/*.mo; do + [ "`file $f | sed -e 's/.*,//' -e 's/message.*//'`" -le 1 ] && rm -f $f +done + %find_lang %{name} %clean