Update translations
This commit is contained in:
parent
3fb37536dc
commit
5e135695a3
23
rpm.spec
23
rpm.spec
@ -20,9 +20,11 @@ Name: rpm
|
|||||||
%define version 4.4.1
|
%define version 4.4.1
|
||||||
Version: %{version}
|
Version: %{version}
|
||||||
%{expand: %%define rpm_version %{version}}
|
%{expand: %%define rpm_version %{version}}
|
||||||
Release: 20
|
Release: 21
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
Source: ftp://jbj.org/pub/rpm-devel/rpm-%{rpm_version}.tar.gz
|
Source: ftp://jbj.org/pub/rpm-devel/rpm-%{rpm_version}.tar.gz
|
||||||
|
Source1: popt_zh_TW.po
|
||||||
|
Source2: popt_zh_CN.po
|
||||||
Patch0: rpm-4.4.1-posttrans.patch
|
Patch0: rpm-4.4.1-posttrans.patch
|
||||||
Patch1: rpm-4.4.1-gcc4.patch
|
Patch1: rpm-4.4.1-gcc4.patch
|
||||||
Patch2: rpm-4.4.1-hkp-disable.patch
|
Patch2: rpm-4.4.1-hkp-disable.patch
|
||||||
@ -155,11 +157,11 @@ shell-like rules.
|
|||||||
%patch10 -p1 -b .checklinks
|
%patch10 -p1 -b .checklinks
|
||||||
|
|
||||||
# XXX move zh_CN
|
# XXX move zh_CN
|
||||||
sed -i 's/zh_CN.GB2312/zh_CN/' popt/configure*
|
sed -i 's/zh_CN.GB2312/zh_CN zh_TW/' popt/configure*
|
||||||
mv po/zh_CN.GB2312.po po/zh_CN.po
|
mv -f po/zh_CN.GB2312.po po/zh_CN.po
|
||||||
mv popt/po/zh_CN.GB2312.po popt/po/zh_CN.po
|
rm -f popt/po/zh_CN.GB2312.po popt/po/zh_CN.GB2312.gmo
|
||||||
mv popt/po/zh_CN.GB2312.gmo popt/po/zh_CN.gmo
|
cp %{SOURCE1} popt/po/zh_CN.po
|
||||||
|
cp %{SOURCE2} popt/po/zh_TW.po
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -184,6 +186,12 @@ CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{__prefix} $WITH_PYTHON \
|
|||||||
--without-javaglue
|
--without-javaglue
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
#XXX build gmo files - remove in next 4.4.x upstream release
|
||||||
|
pushd popt/po
|
||||||
|
make zh_CN.gmo
|
||||||
|
make zh_TW.gmo
|
||||||
|
popd
|
||||||
|
|
||||||
make -C zlib || :
|
make -C zlib || :
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
@ -551,6 +559,9 @@ exit 0
|
|||||||
%{__includedir}/popt.h
|
%{__includedir}/popt.h
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue May 24 2005 Paul Nasrat <pnasrat@redhat.com> - 4.4.1-21
|
||||||
|
- Update translations (#154623)
|
||||||
|
|
||||||
* Sat May 21 2005 Paul Nasrat <pnasrat@redhat.com> - 4.4.1-20
|
* Sat May 21 2005 Paul Nasrat <pnasrat@redhat.com> - 4.4.1-20
|
||||||
- Drop signature patch
|
- Drop signature patch
|
||||||
- dangling unpackaged symlinks
|
- dangling unpackaged symlinks
|
||||||
|
Loading…
Reference in New Issue
Block a user