Summary: GNU libraries and utilities for producing multi-lingual messages. Name: gettext Version: 0.10.35 Release: 23 License: GPL Group: Development/Tools Source: ftp://alpha.gnu.org/pub/gnu/%{name}-%{version}.tar.gz 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 Buildroot: %{_tmppath}/%{name}-%{version}-buildroot %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. If you would like to internationalize or incorporate multi-lingual messages into programs that you're developing, you should install gettext. %prep rm -rf %{buildroot} %setup -q #%patch0 -p1 -b .misc %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 -b .buildroot %patch6 -p0 %patch7 -p1 %build libtoolize --copy --force aclocal automake autoconf %configure --enable-shared --with-included-gettext make %install rm -rf %{buildroot} # Fix busted no-emacs install for $lispdir/po-mode.el %makeinstall lispdir=%{buildroot}/usr/share/emacs/site-lisp \ aclocaldir=%{buildroot}/usr/share/aclocal pushd %{buildroot} rm -f .%{_infodir}/dir .%{_includedir}/libintl.h gzip -9nf .%{_infodir}/* strip .%{_bindir}/* || : popd %clean rm -rf %{buildroot} %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 %defattr(-,root,root) %{_bindir}/* %{_infodir}/* %{_datadir}/gettext %{_datadir}/locale/*/LC_MESSAGES/* %{_datadir}/aclocal/* %{_datadir}/emacs/site-lisp/* %changelog * 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