Name: gettext Version: 0.12.1 Release: 0.fdr.1 Summary: GNU libraries and utilities for producing multi-lingual messages. Group: Development/Tools License: GPL/LGPL URL: http://www.gnu.org/software/gettext/ Source: ftp://ftp.gnu.org/gnu/gettext/%{name}-%{version}.tar.gz Source1: po-mode-init.el Source2: msghack.py Patch0: gettext-0.10-misc.patch Patch1: gettext-0.10.35-jbj.patch Patch2: gettext-0.10.35-arm.patch Patch3: gettext-0.10.35-hacks.patch Patch4: gettext-0.10.35-aclocaldir.patch Patch5: gettext-0.10.35-buildroot.patch Patch6: gettext-0.10.35-destdir.patch 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 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Prereq: /sbin/install-info %description The GNU gettext package provides a set of tools and documentation for producing multi-lingual messages in programs. Tools include a set of conventions about how programs should be written to support message catalogs, a directory and file naming organization for the message catalogs, a runtime library which supports the retrieval of translated messages, and stand-alone programs for handling the translatable and the already translated strings. Gettext provides an easy to use library and tools for creating, using, and modifying natural language catalogs and is a powerful and simple method for internationalizing programs. %prep %setup -q %build [ -f /usr/share/automake/depcomp ] && cp -f /usr/share/automake/{depcomp,ylwrap} . || : %configure --with-included-gettext --disable-shared --with-pic-=yes make %install rm -rf $RPM_BUILD_ROOT # Fix busted no-emacs install for $lispdir/po-mode.el %makeinstall lispdir=$RPM_BUILD_ROOT/usr/share/emacs/site-lisp \ aclocaldir=$RPM_BUILD_ROOT/usr/share/aclocal mkdir -p $RPM_BUILD_ROOT/bin mv $RPM_BUILD_ROOT/%{_bindir}/gettext $RPM_BUILD_ROOT/bin ln -s ../../bin/gettext $RPM_BUILD_ROOT/%{_bindir}/gettext install -m 755 %SOURCE2 $RPM_BUILD_ROOT/%{_bindir}/msghack pushd $RPM_BUILD_ROOT rm -f .%{_infodir}/dir .%{_includedir}/libintl.h popd pushd $RPM_BUILD_ROOT/%{_datadir}/locale for foo in `find . -maxdepth 1 -mindepth 1 -type d` ; do lang=`echo $foo | cut -c 3-` echo "%lang($lang) %{_datadir}/locale/$foo/*/*" >> \ $RPM_BUILD_DIR/%{name}-%{version}/trans.list done 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 rm -f $RPM_BUILD_ROOT%{_includedir}/{autosprintf.h,gettext-po.h} rm -f $RPM_BUILD_ROOT%{_libdir}/*.a rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %clean rm -rf $RPM_BUILD_ROOT %post /sbin/install-info %{_infodir}/gettext.info.gz %{_infodir}/dir %preun if [ "$1" = 0 ]; then /sbin/install-info --delete %{_infodir}/gettext.info.gz %{_infodir}/dir fi exit 0 %files -f trans.list %defattr(-,root,root) %doc gettext-runtime/ABOUT-NLS AUTHORS gettext-runtime/BUGS %doc COPYING gettext-tools/misc/DISCLAIM README %doc NEWS THANKS gettext-tools/TODO /bin/* %{_bindir}/* %{_datadir}/doc/* %{_libdir}/gettext %{_infodir}/* %{_mandir}/*/* #%config %{_libdir}/charset.alias %{_datadir}/gettext %{_datadir}/aclocal/* # These aren't in glibc... %dir %{_datadir}/locale/en@boldquot %dir %{_datadir}/locale/en@boldquot/LC_MESSAGES %dir %{_datadir}/locale/en@quot %dir %{_datadir}/locale/en@quot/LC_MESSAGES %changelog * Fri Feb 13 2004 Thomas Vander Stichele - 0.12.1-0.fdr.1 - updated package for fedora.us RH9 - removed .la libraries that seemed to reference non-existing .a libraries * Fri Sep 19 2003 Leon Ho - rebuilt 0.12.1 - fix including files and excludes some patches * Wed Jun 04 2003 Elliot Lee - rebuilt * Wed May 14 2003 Leon Ho - 0.11.5 * Wed Jan 22 2003 Tim Powers - rebuilt * Thu Jan 16 2003 Leon Ho 0.11.4-6 - add online help for msghack replacement * Thu Dec 5 2002 Leon Ho 0.11.4-5 - add patch to fix gettextize (#78720) * Wed Nov 27 2002 Tim Powers 0.11.4-4 - remove unpackaged files from the buildroot * Wed Aug 28 2002 Trond Eivind Glomsrød 0.11.4-3 - Use %%{_libdir} instead of /usr/lib (#72524) * Fri Aug 2 2002 Nalin Dahyabhai 0.11.4-2 - install ulonglong.m4, which is required by uintmax_t.m4, which is already being installed * Sun Jul 28 2002 Trond Eivind Glomsrød 0.11.4-1 - 0.11.4 * Fri Jun 21 2002 Tim Powers - automated rebuild * Thu May 23 2002 Tim Powers - automated rebuild * Tue May 14 2002 Trond Eivind Glomsrød 0.11.2-1 - 0.11.2 - include some new files * Fri Apr 5 2002 Trond Eivind Glomsrød 0.11.1-2 - Add patch to make it compile with C99 compilers (#62313) * Wed Mar 13 2002 Trond Eivind Glomsrød 0.11.1-1 - 0.11.1 * Sun Feb 17 2002 Florian La Roche - update gettext to 0.11 - disable patch4 * Wed Jan 09 2002 Tim Powers - automated rebuild * Wed Dec 5 2001 Trond Eivind Glomsrød 0.10.40-3 - improve automake handling * Wed Nov 14 2001 Trond Eivind Glomsrød 0.10.40-2 - Add URL - Add automake workaround (#56081) * Sun Sep 16 2001 Trond Eivind Glomsrød 0.10.40-1 - 0.10.40 - libintl is now LGPLed (it was GPLed). Note that RHL uses the glibc version, and don't include libintl from gettext. - include new man pages - don't include the elisp mode - bundle it into the main emacs package, like we do for XEmacs. - README-alpha no longer exists, so don't list it as a doc file * Fri Aug 24 2001 Trond Eivind Glomsrød 0.10.38-7 - Rebuild - this should fix #52463 * Wed Aug 22 2001 Trond Eivind Glomsrød 0.10.38-6 - Fix handling of multiline entries (rest of #50065) - don't use the references of the last entry in a po file - remove duplicates when inverting - Own the en@quot and en@boldquot locale dirs (#52164) - Handle entries with a first line of "" as identical to those without * Thu Aug 9 2001 Trond Eivind Glomsrød - Added "--append" and "-o" to msghack, which should address initial concerns in #50065 * Thu Jul 19 2001 Trond Eivind Glomsrød - New msghack - from scratch, in python * Tue Jul 17 2001 Trond Eivind Glomsrød - msghack is back * Mon Jun 4 2001 Trond Eivind Glomsrød - Include some docfiles * Sun Jun 03 2001 Florian La Roche - 0.10.38 - do not include charset.alias * Wed May 2 2001 Nalin Dahyabhai - Build statically. * Mon Apr 30 2001 Trond Eivind Glomsrød - 0.10.37 - Disable all but two patches * Sun Feb 25 2001 Trond Eivind Glomsrød - Initialize proper fonts when entering po-mode (#29152) * Mon Feb 12 2001 Yukihiro Nakai - More fix about msgmerge. * Mon Feb 12 2001 Yukihiro Nakai - Fix for msgmerge not to break multibyte strings at Japanese locale. * Wed Jan 24 2001 Matt Wilson - fixed the %lang generator to not have "./" in the lang * Sun Jan 14 2001 Trond Eivind Glomsrød - add an init file for the emacs po-mode - update source URL * Thu Jan 11 2001 Bill Nottingham - put gettext in /bin for initscripts use - %langify * Fri Dec 29 2000 Bill Nottingham - prereq /sbin/install-info * Wed Aug 23 2000 Trond Eivind Glomsrød - Added patch from Ulrich Drepper * Fri Aug 04 2000 Trond Eivind Glomsrød - update DESTDIR patch (#12072) * Thu Jul 13 2000 Prospector - automatic rebuild * Mon Jul 10 2000 Trond Eivind Glomsrød - fix problems wrt to DESTDIR (#12072) * Thu Jun 22 2000 Preston Brown - use FHS paths - add buildroot patch for .../intl/Makefile.in, was using abs. install path * Fri Apr 28 2000 Bill Nottingham - minor configure tweaks for ia64 * Sun Feb 27 2000 Cristian Gafton - add --comments to msghack * Thu Feb 10 2000 Cristian Gafton - fix bug #9240 - gettextize has the right aclocal patch * Wed Jan 12 2000 Cristian Gafton - add the --diff and --dummy options * Wed Oct 06 1999 Cristian Gafton - add the --missing option to msghack * Wed Sep 22 1999 Cristian Gafton - updated msghack not to merge in fuzzies in the master catalogs * Thu Aug 26 1999 Cristian Gafton - updated msghack to understand --append * Wed Aug 11 1999 Cristian Gafton - updated msghack to correctly deal with sorting files * Thu May 06 1999 Cristian Gafton - msghack updates * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 8) * Mon Mar 08 1999 Cristian Gafton - added patch for misc hacks to facilitate rpm translations * Thu Dec 03 1998 Cristian Gafton - patch to allow to build on ARM * Wed Sep 30 1998 Jeff Johnson - add Emacs po-mode.el files. * Sun Sep 13 1998 Cristian Gafton - include the aclocal support files * Fri Sep 3 1998 Bill Nottingham - remove devel package (functionality is in glibc) * Tue Sep 1 1998 Jeff Johnson - update to 0.10.35. * Mon Jun 29 1998 Jeff Johnson - add gettextize. - create devel package for libintl.a and libgettext.h. * Mon Apr 27 1998 Prospector System - translations modified for de, fr, tr * Sun Nov 02 1997 Cristian Gafton - added info handling - added misc-patch (skip emacs-lisp modofications) * Sat Nov 01 1997 Erik Troan - removed locale.aliases as we get it from glibc now - uses a buildroot * Mon Jun 02 1997 Erik Troan - Built against glibc