auto-import changelog data from gettext-0.11.4-7.src.rpm
Wed Jan 22 2003 Tim Powers <timp@redhat.com> - rebuilt Thu Jan 16 2003 Leon Ho <llch@redhat.com> 0.11.4-6 - add online help for msghack replacement Thu Dec 05 2002 Leon Ho <llch@redhat.com> 0.11.4-5 - add patch to fix gettextize (#78720) Wed Nov 27 2002 Tim Powers <timp@redhat.com> 0.11.4-4 - remove unpackaged files from the buildroot
This commit is contained in:
parent
1a785e6c8c
commit
b3c85cf5bd
23
gettext.spec
23
gettext.spec
@ -3,7 +3,7 @@
|
||||
Summary: GNU libraries and utilities for producing multi-lingual messages.
|
||||
Name: gettext
|
||||
Version: 0.11.4
|
||||
Release: 3
|
||||
Release: 7
|
||||
License: GPL/LGPL
|
||||
Group: Development/Tools
|
||||
Source: ftp://ftp.gnu.org/gnu/gettext/%{name}-%{version}.tar.gz
|
||||
@ -21,6 +21,7 @@ Patch7: gettext-0.10.35-drepper.patch
|
||||
Patch8: gettext-0.10.35-oka-plus.patch
|
||||
Patch9: gettext-0.10.38-msghack.patch
|
||||
Patch10: gettext-0.11.4-ulonglong.patch
|
||||
Patch11: gettext-0.11.4-gettextize.patch
|
||||
Prereq: /sbin/install-info
|
||||
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
@ -42,6 +43,7 @@ rm -rf %{buildroot}
|
||||
%patch1 -p1
|
||||
#%patch4 -p1
|
||||
%patch10 -p1 -b .ulonglong
|
||||
%patch11 -p1 -b .gettextize
|
||||
|
||||
%build
|
||||
[ -f /usr/share/automake/depcomp ] && cp -f /usr/share/automake/{depcomp,ylwrap} . || :
|
||||
@ -75,6 +77,13 @@ popd
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/share/emacs/site-lisp/site-start.d
|
||||
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/usr/share/emacs/site-lisp/site-start.d
|
||||
|
||||
# remove unpackaged files from the buildroot
|
||||
rm -rf $RPM_BUILD_ROOT/usr/doc
|
||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/emacs
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/{libintl.a,libintl.la}
|
||||
rm -f $RPM_BUILD_ROOT%{_datadir}/locale/locale.alias
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
@ -109,6 +118,18 @@ exit 0
|
||||
%dir /usr/share/locale/en@quot/LC_MESSAGES
|
||||
|
||||
%changelog
|
||||
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
||||
- rebuilt
|
||||
|
||||
* Thu Jan 16 2003 Leon Ho <llch@redhat.com> 0.11.4-6
|
||||
- add online help for msghack replacement
|
||||
|
||||
* Thu Dec 5 2002 Leon Ho <llch@redhat.com> 0.11.4-5
|
||||
- add patch to fix gettextize (#78720)
|
||||
|
||||
* Wed Nov 27 2002 Tim Powers <timp@redhat.com> 0.11.4-4
|
||||
- remove unpackaged files from the buildroot
|
||||
|
||||
* Wed Aug 28 2002 Trond Eivind Glomsrød <teg@redhat.com> 0.11.4-3
|
||||
- Use %%{_libdir} instead of /usr/lib (#72524)
|
||||
|
||||
|
13
msghack.py
13
msghack.py
@ -377,7 +377,18 @@ if __name__=="__main__":
|
||||
gtf.append(gtf2)
|
||||
res=str(gtf)
|
||||
else:
|
||||
print "Not implemented: "+str(sys.argv)
|
||||
#print "Not implemented: "+str(sys.argv)
|
||||
print "\
|
||||
Usage: ", str(sys.argv[0])," [OPTION] file.po [ref.po]\n\
|
||||
This program can be used to alter .po files in ways no sane mind would think about.\n\
|
||||
-o result will be written to FILE\n\
|
||||
--invert invert a po file by switching msgid and msgstr\n\
|
||||
--master join any number of files in a master-formatted catalog\n\
|
||||
--empty empty the contents of the .po file, creating a .pot\n\
|
||||
--append append entries from ref.po that don't exist in file.po\n\
|
||||
\n\
|
||||
Note: It is just a replacement of msghack for backward support.\n\
|
||||
"
|
||||
sys.exit(1)
|
||||
if not output:
|
||||
print res
|
||||
|
Loading…
Reference in New Issue
Block a user