af3831
%bcond_with jar
af3831
%bcond_with java
af3831
%bcond_without check
af3831
%bcond_without git
af3831
26408e
%global tarversion 0.19.8.1
26408e
%global archiveversion 0.19.8
26408e
af3831
Summary: GNU libraries and utilities for producing multi-lingual messages
af3831
Name: gettext
26408e
Version: 0.19.8.1
992cd9
Release: 3%{?dist}
af3831
License: GPLv3+ and LGPLv2+
af3831
Group: Development/Tools
af3831
URL: http://www.gnu.org/software/gettext/
26408e
Source: ftp://ftp.gnu.org/gnu/gettext/%{name}-%{tarversion}.tar.xz
26408e
# Disable the test_lock test as it often hangs on a number of arches
26408e
# https://bugzilla.redhat.com/show_bug.cgi?id=1155291
26408e
# http://savannah.gnu.org/bugs/?43487
26408e
Patch0: disable-gettext-runtime-test-lock.patch
26408e
# Upstreamed patch:
26408e
# http://lists.gnu.org/archive/html/bug-gettext/2016-08/msg00006.html
26408e
Patch1: gettext-po-send-mail.patch
992cd9
# rhbz#1648433
992cd9
Patch2: gettext-0.19.8.1-CVE-2018-18751.patch
af3831
Source2: msghack.py
af3831
Source3: msghack.1
26408e
# for bootstrapping
26408e
# BuildRequires: autoconf >= 2.62
26408e
# BuildRequires: automake
26408e
# BuildRequires: libtool, bison
26408e
BuildRequires: gcc-c++
af3831
%if %{with java}
af3831
# libintl.jar requires gcj >= 4.3 to build
af3831
BuildRequires: gcc-java, libgcj
af3831
# For javadoc
af3831
BuildRequires: java-1.6.0-openjdk-devel
af3831
%if %{with jar}
af3831
BuildRequires: %{_bindir}/fastjar
af3831
# require zip and unzip for brp-java-repack-jars
af3831
BuildRequires: zip, unzip
af3831
%endif
af3831
%endif
af3831
# for po-mode.el
af3831
BuildRequires: emacs
af3831
%if %{with git}
af3831
# for autopoint:
af3831
BuildRequires: git
af3831
%endif
af3831
BuildRequires: chrpath
af3831
# following suggested by DEPENDENCIES:
af3831
BuildRequires: ncurses-devel
af3831
BuildRequires: libxml2-devel
af3831
BuildRequires: glib2-devel
af3831
BuildRequires: libcroco-devel
af3831
BuildRequires: libunistring-devel
af3831
Requires(post): info
af3831
Requires(preun): info
26408e
# Depend on the exact version of the library sub package
26408e
Requires: %{name}-libs%{_isa} = %{version}-%{release}
af3831
# for F17 UsrMove
af3831
Conflicts: filesystem < 3
af3831
Provides: /bin/gettext
af3831
# exception for bundled gnulib copylib
af3831
Provides: bundled(gnulib)
af3831
af3831
%description
af3831
The GNU gettext package provides a set of tools and documentation for
af3831
producing multi-lingual messages in programs. Tools include a set of
af3831
conventions about how programs should be written to support message
af3831
catalogs, a directory and file naming organization for the message
af3831
catalogs, a runtime library which supports the retrieval of translated
af3831
messages, and stand-alone programs for handling the translatable and
af3831
the already translated strings. Gettext provides an easy to use
af3831
library and tools for creating, using, and modifying natural language
af3831
catalogs and is a powerful and simple method for internationalizing
af3831
programs.
af3831
af3831
af3831
%package common-devel
af3831
Summary: Common development files for %{name}
af3831
Group: Development/Tools
af3831
# autopoint archive
af3831
License: GPLv3+
af3831
BuildArch: noarch
af3831
af3831
%description common-devel
af3831
This package contains common architecture independent gettext development files.
af3831
af3831
af3831
%package devel
af3831
Summary: Development files for %{name}
af3831
Group: Development/Tools
af3831
# autopoint is GPLv3+
af3831
# libasprintf is LGPLv2+
af3831
# libgettextpo is GPLv3+
af3831
License: LGPLv2+ and GPLv3+
af3831
Requires: %{name} = %{version}-%{release}
af3831
Requires: %{name}-libs = %{version}-%{release}
af3831
Requires: %{name}-common-devel = %{version}-%{release}
af3831
Requires(post): info
af3831
Requires(preun): info
26408e
%if %{with git}
af3831
# for autopoint
af3831
Requires: git
26408e
%endif
26408e
Requires: xz
af3831
Obsoletes: gettext-autopoint < 0.18.1.1-3
af3831
Provides: gettext-autopoint = %{version}-%{release}
af3831
af3831
%description devel
af3831
This package contains all development related files necessary for
af3831
developing or compiling applications/libraries that needs
af3831
internationalization capability. You also need this package if you
af3831
want to add gettext support for your project.
af3831
af3831
af3831
%package libs
af3831
Summary: Libraries for %{name}
af3831
Group: System Environment/Libraries
af3831
# libasprintf is LGPLv2+
af3831
# libgettextpo is GPLv3+
af3831
License: LGPLv2+ and GPLv3+
af3831
af3831
%description libs
af3831
This package contains libraries used internationalization support.
af3831
af3831
af3831
%package -n emacs-%{name}
af3831
Summary: Support for editing po files within GNU Emacs
af3831
Group: Applications/Editors
af3831
BuildArch: noarch
af3831
# help users find po-mode.el
af3831
Provides: emacs-po-mode
af3831
Requires: emacs(bin) >= %{_emacs_version}
26408e
Provides: emacs-%{name}-el = %{version}-%{release}
26408e
Obsoletes: emacs-%{name}-el < %{version}-%{release}
af3831
af3831
%description -n emacs-%{name}
af3831
This package provides a major mode for editing po files within GNU Emacs.
af3831
af3831
af3831
%prep
26408e
%autosetup -n %{name}-%{tarversion} -S git
af3831
af3831
af3831
%build
af3831
%if %{with java}
af3831
export JAVAC=gcj
af3831
%if %{with jar}
af3831
export JAR=fastjar
af3831
%endif
af3831
%endif
26408e
%ifarch ppc ppc64 ppc64le
26408e
# prevent test-isinf from failing with gcc-5.3.1 on ppc64le (#1294016)
26408e
export CFLAGS="$RPM_OPT_FLAGS -D__SUPPORT_SNAN__"
26408e
%endif
af3831
# --disable-rpath doesn't work properly on lib64
af3831
%configure --without-included-gettext --enable-nls --disable-static \
af3831
    --enable-shared --with-pic --disable-csharp --disable-rpath \
af3831
%if %{with java}
af3831
    --enable-java \
af3831
%else
af3831
    --disable-java --disable-native-java \
af3831
%endif
af3831
%if %{without git}
af3831
    --disable-git \
af3831
%endif
af3831
%{nil}
af3831
af3831
make %{?_smp_mflags} %{?with_java:GCJFLAGS="-findirect-dispatch"}
af3831
af3831
af3831
%install
af3831
make install DESTDIR=${RPM_BUILD_ROOT} INSTALL="%{__install} -p" \
af3831
    lispdir=%{_datadir}/emacs/site-lisp/gettext \
af3831
    aclocaldir=%{_datadir}/aclocal EXAMPLESFILES=""
af3831
af3831
af3831
install -pm 755 %SOURCE2 ${RPM_BUILD_ROOT}/%{_bindir}/msghack
af3831
install -pm 644 %SOURCE3 ${RPM_BUILD_ROOT}/%{_mandir}/man1/msghack.1
af3831
af3831
af3831
# make preloadable_libintl.so executable
af3831
chmod 755 ${RPM_BUILD_ROOT}%{_libdir}/preloadable_libintl.so
af3831
af3831
rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir
af3831
af3831
# doc relocations
af3831
for i in gettext-runtime/man/*.html; do
af3831
  rm ${RPM_BUILD_ROOT}%{_datadir}/doc/gettext/`basename $i`
af3831
done
af3831
rm -r ${RPM_BUILD_ROOT}%{_datadir}/doc/gettext/javadoc*
af3831
af3831
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/doc/gettext/examples
af3831
af3831
rm -rf htmldoc
af3831
mkdir htmldoc
af3831
mv ${RPM_BUILD_ROOT}%{_datadir}/doc/gettext/* ${RPM_BUILD_ROOT}/%{_datadir}/doc/libasprintf/* htmldoc
af3831
rm -r ${RPM_BUILD_ROOT}%{_datadir}/doc/libasprintf
af3831
rm -r ${RPM_BUILD_ROOT}%{_datadir}/doc/gettext
af3831
af3831
## note libintl.jar does not build with gcj < 4.3
af3831
## since it would not be fully portable
af3831
%if %{with jar}
af3831
### this is no longer needed since examples not packaged
af3831
## set timestamp of examples ChangeLog timestamp for brp-java-repack-jars
af3831
#for i in `find ${RPM_BUILD_ROOT} examples -newer ChangeLog -type f -name ChangeLog`; do
af3831
#  touch -r ChangeLog  $i
af3831
#done
af3831
%else
af3831
# in case another java compiler is installed
af3831
rm -f ${RPM_BUILD_ROOT}%{_datadir}/%{name}/libintl.jar
af3831
%endif
af3831
af3831
rm -f ${RPM_BUILD_ROOT}%{_datadir}/%{name}/gettext.jar
af3831
26408e
# own this directory for third-party *.its files
26408e
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/its
26408e
af3831
# remove .la files
af3831
rm ${RPM_BUILD_ROOT}%{_libdir}/lib*.la
af3831
af3831
# remove internal .so lib files
af3831
rm ${RPM_BUILD_ROOT}%{_libdir}/libgettext{src,lib}.so
af3831
af3831
# move po-mode initialization elisp file to the right place, and remove byte
af3831
# compiled file
af3831
install -d ${RPM_BUILD_ROOT}%{_emacs_sitestartdir}
af3831
mv ${RPM_BUILD_ROOT}%{_emacs_sitelispdir}/%{name}/start-po.el ${RPM_BUILD_ROOT}%{_emacs_sitestartdir}
af3831
rm ${RPM_BUILD_ROOT}%{_emacs_sitelispdir}/%{name}/start-po.elc
af3831
af3831
%find_lang %{name}-runtime
af3831
%find_lang %{name}-tools
af3831
cat %{name}-*.lang > %{name}.lang
af3831
af3831
# cleanup rpaths
af3831
for i in $RPM_BUILD_ROOT%{_bindir}/* `find $RPM_BUILD_ROOT%{_libdir} -type f`; do
af3831
  if file $i | grep "ELF 64-bit" >/dev/null; then
af3831
     chrpath -l $i && chrpath --delete $i
af3831
  fi
af3831
done
af3831
af3831
af3831
%if %{with check}
af3831
%check
af3831
# this takes quite a lot of time to run
26408e
26408e
# override LIBUNISTRING to prevent reordering of lib objects
26408e
make check LIBUNISTRING=-lunistring
af3831
%endif
af3831
af3831
af3831
%post
af3831
/sbin/ldconfig
af3831
/sbin/install-info %{_infodir}/gettext.info.gz %{_infodir}/dir || :
af3831
af3831
af3831
%preun
af3831
if [ "$1" = 0 ]; then
af3831
  /sbin/install-info --delete %{_infodir}/gettext.info.gz %{_infodir}/dir || :
af3831
fi
af3831
af3831
af3831
%postun -p /sbin/ldconfig
af3831
af3831
af3831
%post devel
af3831
/sbin/ldconfig
af3831
/sbin/install-info %{_infodir}/autosprintf.info %{_infodir}/dir || :
af3831
af3831
af3831
%preun devel
af3831
if [ "$1" = 0 ]; then
af3831
  /sbin/install-info --delete %{_infodir}/autosprintf.info %{_infodir}/dir || :
af3831
fi
af3831
af3831
af3831
%postun devel -p /sbin/ldconfig
af3831
af3831
%post libs -p /sbin/ldconfig
af3831
%postun libs -p /sbin/ldconfig
af3831
af3831
%files -f %{name}.lang
af3831
%doc AUTHORS gettext-runtime/BUGS
af3831
%doc COPYING gettext-tools/misc/DISCLAIM README
af3831
%doc NEWS THANKS 
af3831
%doc gettext-runtime/man/*.1.html
af3831
%doc gettext-runtime/intl/COPYING*
af3831
%{_bindir}/*
af3831
%exclude %{_bindir}/autopoint
af3831
%exclude %{_bindir}/gettextize
af3831
%{_infodir}/gettext*
af3831
%exclude %{_mandir}/man1/autopoint.1*
af3831
%{_mandir}/man1/*
af3831
%{_libdir}/%{name}
af3831
%if %{with java}
af3831
%exclude %{_libdir}/%{name}/gnu.gettext.*
af3831
%endif
af3831
%dir %{_datadir}/%{name}
26408e
%dir %{_datadir}/%{name}/its
af3831
%{_datadir}/%{name}/ABOUT-NLS
af3831
%{_datadir}/%{name}/po
af3831
%{_datadir}/%{name}/styles
26408e
%dir %{_datadir}/%{name}-%{archiveversion}
26408e
%{_datadir}/%{name}-%{archiveversion}/its
af3831
af3831
%files common-devel
af3831
%{_datadir}/%{name}/archive.*.tar.xz
af3831
af3831
%files devel
af3831
%doc gettext-runtime/man/*.3.html ChangeLog
af3831
%{_bindir}/autopoint
af3831
%{_bindir}/gettextize
af3831
%{_datadir}/%{name}/projects/
af3831
%{_datadir}/%{name}/config.rpath
af3831
%{_datadir}/%{name}/*.h
af3831
%{_datadir}/%{name}/msgunfmt.tcl
af3831
%{_datadir}/aclocal/*
af3831
%{_includedir}/*
af3831
%{_infodir}/autosprintf*
af3831
%{_libdir}/libasprintf.so
af3831
%{_libdir}/libgettextpo.so
af3831
%{_libdir}/preloadable_libintl.so
af3831
%{_mandir}/man1/autopoint.1*
af3831
%{_mandir}/man3/*
af3831
%{_datadir}/%{name}/intl
af3831
%{_datadir}/%{name}/javaversion.class
af3831
%doc gettext-runtime/intl-java/javadoc*
af3831
%if %{with java}
af3831
%{_libdir}/%{name}/gnu.gettext.*
af3831
%endif
af3831
af3831
%files libs
26408e
%{_libdir}/libasprintf.so.0*
26408e
%{_libdir}/libgettextpo.so.0*
af3831
%{_libdir}/libgettextlib-0.*.so
af3831
%{_libdir}/libgettextsrc-0.*.so
af3831
%if %{with jar}
af3831
%{_datadir}/%{name}/libintl.jar
af3831
%endif
af3831
af3831
%files -n emacs-%{name}
af3831
%dir %{_emacs_sitelispdir}/%{name}
af3831
%{_emacs_sitelispdir}/%{name}/*.elc
af3831
%{_emacs_sitelispdir}/%{name}/*.el
26408e
%{_emacs_sitestartdir}/*.el
af3831
af3831
%changelog
992cd9
* Fri May  3 2019 Jens Petersen <petersen@redhat.com> - 0.19.8.1-3
992cd9
- fix CVE-2018-18751: double-free in xgettext (rhbz#1648433)
992cd9
26408e
* Wed Mar 15 2017 Kalev Lember <klember@redhat.com> - 0.19.8.1-2
26408e
- Depend on the exact version of the library sub package
26408e
- Resolves: #1386869
26408e
26408e
* Fri Feb 03 2017 Kalev Lember <klember@redhat.com> - 0.19.8.1-1
26408e
- Update to 0.19.8.1
26408e
- Resolves: #1386869
26408e
ac556d
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.18.2.1-4
ac556d
- Mass rebuild 2014-01-24
ac556d
ac556d
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.18.2.1-3
ac556d
- Mass rebuild 2013-12-27
ac556d
af3831
* Wed Jun 26 2013 Daiki Ueno <dueno@redhat.com> - 0.18.2.1-2
af3831
- add a man page for msghack
af3831
- fix bogus date in %%changelog
af3831
af3831
* Tue Mar 12 2013 Daiki Ueno <dueno@redhat.com> - 0.18.2.1-1
af3831
- update to 0.18.2.1 release (not really necessary though)
af3831
af3831
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18.2-2
af3831
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
af3831
af3831
* Wed Dec 26 2012 Daiki Ueno <dueno@redhat.com> - 0.18.2-1
af3831
- update to 0.18.2 release (based on the spec patch by Jens Petersen)
af3831
af3831
* Tue Oct  2 2012 Jens Petersen <petersen@redhat.com> - 0.18.1.1-17
af3831
- move gettextize to the devel subpackage with its source data files
af3831
- update msghack to GPL v3
af3831
af3831
* Fri Jul 27 2012 Jens Petersen <petersen@redhat.com> - 0.18.1.1-16
af3831
- patch gnulib since glibc and C11 dropped gets
af3831
af3831
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18.1.1-15
af3831
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
af3831
af3831
* Tue May 29 2012 Remi Collet <remi@fedoraproject.org> - 0.18.1.1-14
af3831
- add upstream patch from debian to fix xgettext segfault in
af3831
  remember_a_message_plural (#826138)
af3831
af3831
* Thu May 17 2012 Jens Petersen <petersen@redhat.com> - 0.18.1.1-13
af3831
- base package now provides bundled(gnulib) to make it clear that
af3831
  gettext is built with bundled gnulib (#821757)
af3831
af3831
* Wed Jan 25 2012 Harald Hoyer <harald@redhat.com> 0.18.1.1-12
af3831
- add filesystem guard
af3831
af3831
* Wed Jan 25 2012 Harald Hoyer <harald@redhat.com> 0.18.1.1-11
af3831
- install everything in /usr
af3831
  https://fedoraproject.org/wiki/Features/UsrMove
af3831
af3831
* Tue Jan 10 2012 Nils Philippsen <nils@redhat.com> - 0.18.1.1-10
af3831
- rebuild for gcc 4.7
af3831
af3831
* Tue Oct  4 2011 Jens Petersen <petersen@redhat.com> - 0.18.1.1-9
af3831
- correct the configure --with-pic option syntax (Gilles Espinasse)
af3831
af3831
* Wed Sep 28 2011 Jens Petersen <petersen@redhat.com> - 0.18.1.1-8
af3831
- add gettext-readlink-einval.patch to fix build on kernel >= 2.6.39 (#739188)
af3831
- add optional buildrequires suggested in the DEPENDENCIES file
af3831
af3831
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18.1.1-7
af3831
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
af3831
af3831
* Mon Feb  7 2011 Jens Petersen <petersen@redhat.com> - 0.18.1.1-6
af3831
- remove internal libgettextlib.so and libgettextsrc.so (#650471)
af3831
af3831
* Mon Feb  7 2011 Jens Petersen <petersen@redhat.com> - 0.18.1.1-5
af3831
- fix license field of gettext-libs since libgettextpo is GPLv3+ (#640158)
af3831
af3831
* Thu Sep  9 2010 Jens Petersen <petersen@redhat.com> - 0.18.1.1-4
af3831
- subpackage archive.git.tar.gz to avoid multilib conflicts (#631733)
af3831
- update msghack.py header
af3831
af3831
* Mon Aug 23 2010 Jens Petersen <petersen@redhat.com> - 0.18.1.1-3
af3831
- merge autopoint subpackage into devel to simplify deps (#625325)
af3831
- have ABOUT-NLS only in the base package datadir
af3831
af3831
* Wed Jun 23 2010 Jens Petersen <petersen@redhat.com> - 0.18.1.1-2
af3831
- correct license tag from GPLv3 to GPLv3+
af3831
- subpackage autopoint which requires git (#574031)
af3831
- no longer require cvs (#606746)
af3831
- add bcond for git
af3831
af3831
* Fri May 21 2010 Jens Petersen <petersen@redhat.com> - 0.18.1.1-1
af3831
- update to 0.18.1.1 release (#591044)
af3831
- gettext-0.17-autopoint-CVS-441481.patch, gettext-0.17-long-long-int-m4.patch
af3831
  gettext-0.17-open-args.patch, and
af3831
  gettext-xgettext-python-unicode-surrogate-473946.patch are upstream
af3831
- move libintl.jar to lib subpackage to avoid multilib problems
af3831
  (reported by Jim Radford in #595922)
af3831
- disable java for now
af3831
- use chrpath to get us out of rpath hell instead of complicated libtool hacks
af3831
- enable git support
af3831
af3831
* Fri Apr 23 2010 Jens Petersen <petersen@redhat.com> - 0.17-17
af3831
- create emacs subpackages for po-mode.el (thanks for patch from
af3831
  Jonathan Underwood, #579452)
af3831
- provide emacs-po-mode
af3831
- move libgettextlib and libgettextsrc from base to libs subpackage
af3831
  (requested by Peter Robinson for blender, #579388)
af3831
af3831
* Fri Nov 27 2009 Jens Petersen <petersen@redhat.com> - 0.17-16
af3831
- fix FTBFS by removing openmp.m4 which conflicts with recent autoconf (#539211)
af3831
- cleanup gettext-0.17-rpathFix.patch
af3831
  - separate gl_AC_TYPE_LONG_LONG replacement to another patch
af3831
  - use trailing ':' for tests LD_LIBRARY_PATH
af3831
- run autogen.sh with --quick and --skip-gnulib
af3831
af3831
* Tue Sep  1 2009 Jens Petersen <petersen@redhat.com> - 0.17-15
af3831
- bring back autopoint requires cvs (#517361)
af3831
- requires info rather than /sbin/install-info
af3831
- drop install_info and remove_install_info macros
af3831
af3831
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-14
af3831
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
af3831
af3831
* Wed Jun 24 2009 Jens Petersen <petersen@redhat.com> - 0.17-13
af3831
- buildrequire automake (#507275)
af3831
- run autogen
af3831
af3831
* Mon Jun 22 2009 Jens Petersen <petersen@redhat.com> - 0.17-12
af3831
- move intl/ and po/ to base package for gettextize
af3831
  (reported by Serge Pavlovsky, #496902)
af3831
af3831
* Fri May 22 2009 Jens Petersen <petersen@redhat.com> - 0.17-11
af3831
- use bcond's for build switches
af3831
af3831
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-10
af3831
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
af3831
af3831
* Thu Feb 12 2009 Jens Petersen <petersen@redhat.com> - 0.17-9
af3831
- add buildjava switch to allow turning off the java bits completely
af3831
- add buildcheck to allow turning off make check
af3831
- drop cvs requires for autopoint (Karl Lattimer, #469555)
af3831
- add upstream gettext-xgettext-python-unicode-surrogate-473946.patch by
af3831
  Bruno Haible to fix xgettext handling of utf16 surrogates in python (#473946)
af3831
af3831
* Fri Aug 29 2008 Ding-Yi Chen <dchen at redhat dot com> - 0.17-8
af3831
- Fix the build failure with koji.
af3831
af3831
* Fri Aug 29 2008 Ding-Yi Chen <dchen at redhat dot com> - 0.17-7
af3831
- Remove the gettext-libs docs, as they are talking about autoconf, libtool, 
af3831
  which are not directly related to the gettext-libs.
af3831
- Remove unused definition and trailing space.
af3831
- Fix the build failure with mock .
af3831
af3831
* Tue Aug 19 2008 Ding-Yi Chen <dchen at redhat dot com> - 0.17-6
af3831
- Fixed Bug 456666 msghack doesn't check for mandatory cmd line params 
af3831
  by adding checking statements and display usage (msghack.py modified)
af3831
- rpath patch for binary-or-shlib-defines-rpath in x86_64.
af3831
af3831
* Thu Apr 24 2008 Jens Petersen <petersen@redhat.com> - 0.17-5
af3831
- fix autopoint messing up CVS files with upstream patch (#441481)
af3831
af3831
* Mon Feb 18 2008 Jens Petersen <petersen@redhat.com> - 0.17-4
af3831
- if %%buildjar is off make sure libintl.jar does not get installed (#433210)
af3831
af3831
* Mon Feb 18 2008 Jens Petersen <petersen@redhat.com> - 0.17-3
af3831
- turn on building of libintl.jar now that we have gcc43
af3831
af3831
* Thu Feb 14 2008 Jens Petersen <petersen@redhat.com> - 0.17-2
af3831
- rebuild with gcc43
af3831
af3831
* Thu Jan 24 2008 Jens Petersen <petersen@redhat.com> - 0.17-1
af3831
- update to 0.17 release
af3831
  - update License field to GPLv3
af3831
  - add gettext-0.17-open-args.patch to fix build from upstream
af3831
  - gettext-tools-tests-lang-gawk-fail.patch, gettext-php-headers.patch,
af3831
    gettext-php-prinf-output-237241.patch, and
af3831
    gettext-xglade-define-xml-major-version-285701.patch are no longer needed
af3831
- drop superfluous po-mode-init.el source
af3831
- no need to run autoconf and autoheader when building
af3831
- pass -findirect-dispatch to gcj to make java binaries ABI independent
af3831
  (jakub,#427796)
af3831
- move autopoint, gettextize, and {_datadir}/{name}/ to main package
af3831
- force removal of emacs/ so install does not fail when no emacs
af3831
af3831
* Fri Sep 21 2007 Jens Petersen <petersen@redhat.com> - 0.16.1-12
af3831
- add a libs subpackage (suggested by Dwayne Bailey, #294891)
af3831
- move preloadable_libintl.so to the devel subpackage
af3831
af3831
* Fri Sep 14 2007 Nils Philippsen <nphilipp@redhat.com> - 0.16.1-11
af3831
- remove gettext-xglade-include-expat-285701.patch, add
af3831
  gettext-xglade-define-xml-major-version-285701.patch to determine
af3831
  XML_MAJOR_VERSION from expat.h and define it in config.h (#285701)
af3831
af3831
* Wed Sep 12 2007 Jens Petersen <petersen@redhat.com> - 0.16.1-10
af3831
- buildrequire expat-devel
af3831
- add gettext-xglade-include-expat-285701.patch to include expat.h
af3831
  to get xgettext to dl the right libexpat (Nils Philippsen, #285701)
af3831
af3831
* Thu Aug 16 2007 Jens Petersen <petersen@redhat.com>
af3831
- specify license is GPL and LGPL version 2 or later
af3831
af3831
* Wed Aug  1 2007 Jens Petersen <petersen@redhat.com> - 0.16.1-9
af3831
- fix encoding of msghack script (Dwayne Bailey, #250248)
af3831
af3831
* Mon Apr 30 2007 Jens Petersen <petersen@redhat.com> - 0.16.1-8
af3831
- add gettext-php-prinf-output-237241.patch to workaround php test failure
af3831
  (#237241)
af3831
- add gettext-php-headers.patch to correct php test headers
af3831
  (Robert Scheck, #232832)
af3831
af3831
* Thu Mar 15 2007 Jens Petersen <petersen@redhat.com> - 0.16.1-7
af3831
- set preloadable_libintl.so executable in %%install so it gets stripped
af3831
- force removal of infodir/dir since it is not there when /sbin is not in path
af3831
af3831
* Tue Mar 13 2007 Jens Petersen <petersen@redhat.com> - 0.16.1-6
af3831
- add buildjar switch for building of libintl.jar
af3831
- lots of spec file cleanup (Mamoru Tasaka, #225791):
af3831
- preserve timestamps of installed files
af3831
- disable building of static library
af3831
- use %%find_lang for .mo files
af3831
- remove examples from -devel package
af3831
- do not own en@*quot locale dirs
af3831
- set preloadable_libintl.so executable
af3831
- add ChangeLog to -devel package
af3831
- add %%check to run make check
af3831
- add gettext-tools-tests-lang-gawk-fail.patch to work around gawk test failure
af3831
af3831
* Fri Feb 23 2007 Karsten Hopp <karsten@redhat.com> 0.16.1-5
af3831
- rebuild to pick up dependency on libgcj.so.8rh instead libgcj.so.7rh
af3831
af3831
* Thu Feb  1 2007 Jens Petersen <petersen@redhat.com> - 0.16.1-4
af3831
- protect install-info in devel %%post and %%preun too (Ville Skyttä, #223689)
af3831
- forward port fix to reset of timestamp of examples ChangeLog for
af3831
  brp-java-repack-jars libintl.jar multilib conflict (#205207)
af3831
af3831
* Mon Jan 22 2007 Jens Petersen <petersen@redhat.com> - 0.16.1-3
af3831
- protect install-info in %%post and %%preun (Ville Skyttä, #223689)
af3831
af3831
* Fri Dec 22 2006 Jens Petersen <petersen@redhat.com> - 0.16.1-1
af3831
- update to 0.16.1
af3831
af3831
* Mon Nov 27 2006 Jens Petersen <petersen@redhat.com> - 0.16-2
af3831
- re-enable openmp on ia64
af3831
af3831
* Thu Nov 23 2006 Jens Petersen <petersen@redhat.com> - 0.16-1
af3831
- update to 0.16 release
af3831
- disable openmp on ia64 (#216988)
af3831
af3831
* Fri Oct 27 2006 Jens Petersen <petersen@redhat.com> - 0.15-1
af3831
- update to 0.15 release
af3831
- mkinstalldirs and libintl.jar are gone
af3831
- javaversion.class added
af3831
af3831
* Mon Oct  2 2006 Jens Petersen <petersen@redhat.com> - 0.14.6-3
af3831
- buildrequire zip and unzip to fix libintl.jar multilib conflict (#205207)
af3831
af3831
* Fri Aug 25 2006 Jens Petersen <petersen@redhat.com> - 0.14.6-2
af3831
- move libgettext*.so devel files to devel package (Patrice Dumas, #203622)
af3831
af3831
* Mon Aug  7 2006 Jens Petersen <petersen@redhat.com> - 0.14.6-1
af3831
- update to 0.14.6
af3831
- include preloadable_libintl.so again (Roozbeh Pournader, #149809)
af3831
- remove .la files (Kjartan Maraas, #172624)
af3831
- cleanup spec file
af3831
af3831
* Tue Jul 25 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0.14.5-4
af3831
- Bump release number.
af3831
af3831
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.14.5-3.1
af3831
- rebuild
af3831
af3831
* Wed Feb 22 2006 Karsten Hopp <karsten@redhat.de> 0.14.5-3
af3831
- --disable-csharp, otherwise it'll build a dll when mono is 
af3831
  installed in the buildroot.
af3831
af3831
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.14.5-2.2.2
af3831
- bump again for double-long bug on ppc(64)
af3831
af3831
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.14.5-2.2.1
af3831
- rebuilt for new gcc4.1 snapshot and glibc changes
af3831
af3831
* Tue Jan  3 2006 Jesse Keating <jkeating@redhat.com> 0.14.5-2.2
af3831
- rebuilt again
af3831
af3831
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
af3831
- rebuilt
af3831
af3831
* Wed Sep 28 2005 Jindrich Novy <jnovy@redhat.com> 0.14.5-2
af3831
- convert spec to UTF-8
af3831
- remove old tarballs from sources
af3831
af3831
* Thu Aug 11 2005 Leon Ho <llch@redhat.com>
af3831
- updated to 0.14.5
af3831
- Add cvs as Requires for gettext-devel
af3831
af3831
* Mon Mar 21 2005 Leon Ho <llch@redhat.com>
af3831
- updated to 0.14.3
af3831
- fixed compiling problem on gcc4 (#150992)
af3831
- fixed Group for -devel (#138303)
af3831
- moved gettextize and autopoint to -devel (#137542, #145768)
af3831
- moved some of the man pages
af3831
af3831
* Tue Mar 01 2005 Jakub Jelinek <jakub@redhat.com>
af3831
- rebuilt with gcc 4.0
af3831
af3831
* Wed Dec 01 2004 Leon Ho <llch@redhat.com>
af3831
- Add env var to redirect use fastjar instead of jar
af3831
- BuildRequires fastjar and libgcj
af3831
af3831
* Mon Nov 01 2004 Leon Ho <llch@redhat.com>
af3831
- fix call on phase0_getc()
af3831
- fix temp file issue (#136323 - CAN-2004-0966 - mjc)
af3831
af3831
* Sun Oct 03 2004 Leon Ho <llch@redhat.com>
af3831
- fixed typo on %%preun on -devel
af3831
af3831
* Fri Oct 01 2004 Leon Ho <llch@redhat.com>
af3831
- fix install_info
af3831
- add gcc-java build requirement
af3831
af3831
* Mon Sep 13 2004 Leon Ho <llch@redhat.com>
af3831
- move java stuff to gettext-devel (#132239)
af3831
- add BuildRequires: gcc-c++ (#132518)
af3831
- add some missing install-info and ldconfig (#131272)
af3831
- fix dir ownership (#133696)
af3831
- run autotools for 1.9
af3831
af3831
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
af3831
- rebuilt
af3831
af3831
* Tue Jun 08 2004 Leon Ho <llch@redhat.com>
af3831
- use --without-included-gettext to avoid the need of libintl.so (#125497)
af3831
- remove preloadable_libintl.so
af3831
af3831
* Sun Jun 06 2004 Leon Ho <llch@redhat.com>
af3831
- moved some of the shared lib to main pkg
af3831
- added more build requires
af3831
af3831
* Thu Jun 03 2004 Leon Ho <llch@redhat.com>
af3831
- add conditionals for patch and requires auto* (#125216)
af3831
af3831
* Wed Jun 02 2004 Leon Ho <llch@redhat.com>
af3831
- packaged lib files for devel
af3831
- moved some of the files to different sub-pkg
af3831
- fix problem on x86_64 build
af3831
af3831
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
af3831
- rebuilt
af3831
af3831
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
af3831
- rebuilt
af3831
af3831
* Mon Feb 02 2004 Leon Ho <llch@redhat.com>
af3831
- rebuilt to 0.14.1
af3831
af3831
* Fri Sep 19 2003 Leon Ho <llch@redhat.com>
af3831
- rebuilt 0.12.1
af3831
- fix including files and excludes some patches
af3831
af3831
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
af3831
- rebuilt
af3831
af3831
* Wed May 14 2003 Leon Ho <llch@redhat.com>
af3831
- 0.11.5
af3831
af3831
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
af3831
- rebuilt
af3831
af3831
* Thu Jan 16 2003 Leon Ho <llch@redhat.com> 0.11.4-6
af3831
- add online help for msghack replacement
af3831
af3831
* Thu Dec  5 2002 Leon Ho <llch@redhat.com> 0.11.4-5
af3831
- add patch to fix gettextize (#78720)
af3831
af3831
* Wed Nov 27 2002 Tim Powers <timp@redhat.com> 0.11.4-4
af3831
- remove unpackaged files from the buildroot
af3831
af3831
* Wed Aug 28 2002 Trond Eivind Glomsrød <teg@redhat.com> 0.11.4-3
af3831
- Use %%{_libdir} instead of /usr/lib (#72524)
af3831
af3831
* Fri Aug  2 2002 Nalin Dahyabhai <nalin@redhat.com> 0.11.4-2
af3831
- install ulonglong.m4, which is required by uintmax_t.m4, which is already
af3831
  being installed
af3831
af3831
* Sun Jul 28 2002 Trond Eivind Glomsrød <teg@redhat.com> 0.11.4-1
af3831
- 0.11.4
af3831
af3831
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
af3831
- automated rebuild
af3831
af3831
* Thu May 23 2002 Tim Powers <timp@redhat.com>
af3831
- automated rebuild
af3831
af3831
* Tue May 14 2002 Trond Eivind Glomsrød <teg@redhat.com> 0.11.2-1
af3831
- 0.11.2
af3831
- include some new files
af3831
af3831
* Fri Apr  5 2002 Trond Eivind Glomsrød <teg@redhat.com> 0.11.1-2
af3831
- Add patch to make it compile with C99 compilers (#62313)
af3831
af3831
* Wed Mar 13 2002 Trond Eivind Glomsrød <teg@redhat.com> 0.11.1-1
af3831
- 0.11.1
af3831
af3831
* Sun Feb 17 2002 Florian La Roche <Florian.LaRoche@redhat.de>
af3831
- update gettext to 0.11
af3831
- disable patch4
af3831
af3831
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
af3831
- automated rebuild
af3831
af3831
* Wed Dec  5 2001 Trond Eivind Glomsrød <teg@redhat.com> 0.10.40-3
af3831
- improve automake handling
af3831
af3831
* Wed Nov 14 2001 Trond Eivind Glomsrød <teg@redhat.com> 0.10.40-2
af3831
- Add URL
af3831
- Add automake workaround (#56081)
af3831
af3831
* Sun Sep 16 2001 Trond Eivind Glomsrød <teg@redhat.com> 0.10.40-1
af3831
- 0.10.40 - libintl is now LGPLed (it was GPLed). Note that RHL
af3831
  uses the glibc version, and don't include libintl from gettext.
af3831
- include new man pages
af3831
- don't include the elisp mode - bundle it into the main emacs package,
af3831
  like we do for XEmacs.
af3831
- README-alpha no longer exists, so don't list it as a doc file
af3831
af3831
* Fri Aug 24 2001 Trond Eivind Glomsrød <teg@redhat.com> 0.10.38-7
af3831
- Rebuild - this should fix #52463
af3831
af3831
* Wed Aug 22 2001 Trond Eivind Glomsrød <teg@redhat.com> 0.10.38-6
af3831
- Fix handling of multiline entries (rest of #50065)
af3831
- don't use the references of the last entry in a po file
af3831
- remove duplicates when inverting
af3831
- Own the en@quot and en@boldquot locale dirs (#52164)
af3831
- Handle entries with a first line of "" as identical to those
af3831
  without
af3831
af3831
* Thu Aug  9 2001 Trond Eivind Glomsrød <teg@redhat.com>
af3831
- Added "--append" and "-o" to msghack, which should address 
af3831
  initial concerns in #50065
af3831
af3831
* Thu Jul 19 2001 Trond Eivind Glomsrød <teg@redhat.com>
af3831
- New msghack - from scratch, in python
af3831
af3831
* Tue Jul 17 2001 Trond Eivind Glomsrød <teg@redhat.com>
af3831
- msghack is back
af3831
af3831
* Mon Jun  4 2001 Trond Eivind Glomsrød <teg@redhat.com>
af3831
- Include some docfiles
af3831
af3831
* Sun Jun 03 2001 Florian La Roche <Florian.LaRoche@redhat.de>
af3831
- 0.10.38
af3831
- do not include charset.alias
af3831
af3831
* Wed May  2 2001 Nalin Dahyabhai <nalin@redhat.com>
af3831
- Build statically.
af3831
af3831
* Mon Apr 30 2001 Trond Eivind Glomsrød <teg@redhat.com>
af3831
- 0.10.37
af3831
- Disable all but two patches
af3831
af3831
* Sun Feb 25 2001 Trond Eivind Glomsrød <teg@redhat.com>
af3831
- Initialize proper fonts when entering po-mode (#29152)
af3831
af3831
* Mon Feb 12 2001 Yukihiro Nakai <ynakai@redhat.com>
af3831
- More fix about msgmerge.
af3831
af3831
* Mon Feb 12 2001 Yukihiro Nakai <ynakai@redhat.com>
af3831
- Fix for msgmerge not to break multibyte strings
af3831
  at Japanese locale.
af3831
af3831
* Wed Jan 24 2001 Matt Wilson <msw@redhat.com>
af3831
- fixed the %%lang generator to not have "./" in the lang
af3831
af3831
* Sun Jan 14 2001 Trond Eivind Glomsrød <teg@redhat.com>
af3831
- add an init file for the emacs po-mode
af3831
- update source URL
af3831
af3831
* Thu Jan 11 2001 Bill Nottingham <notting@redhat.com>
af3831
- put gettext in /bin for initscripts use
af3831
- %%langify
af3831
af3831
* Fri Dec 29 2000 Bill Nottingham <notting@redhat.com>
af3831
- prereq /sbin/install-info
af3831
af3831
* Wed Aug 23 2000 Trond Eivind Glomsrød <teg@redhat.com>
af3831
- Added patch from Ulrich Drepper
af3831
af3831
* Fri Aug 04 2000 Trond Eivind Glomsrød <teg@redhat.com>
af3831
- update DESTDIR patch (#12072)
af3831
af3831
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
af3831
- automatic rebuild
af3831
af3831
* Mon Jul 10 2000 Trond Eivind Glomsrød <teg@redhat.com>
af3831
- fix problems wrt to DESTDIR (#12072)
af3831
af3831
* Thu Jun 22 2000 Preston Brown <pbrown@redhat.com>
af3831
- use FHS paths
af3831
- add buildroot patch for .../intl/Makefile.in, was using abs. install path
af3831
af3831
* Fri Apr 28 2000 Bill Nottingham <notting@redhat.com>
af3831
- minor configure tweaks for ia64
af3831
af3831
* Sun Feb 27 2000 Cristian Gafton <gafton@redhat.com>
af3831
- add --comments to msghack
af3831
af3831
* Thu Feb 10 2000 Cristian Gafton <gafton@redhat.com>
af3831
- fix bug #9240 - gettextize has the right aclocal patch
af3831
af3831
* Wed Jan 12 2000 Cristian Gafton <gafton@redhat.com>
af3831
- add the --diff and --dummy options
af3831
af3831
* Wed Oct 06 1999 Cristian Gafton <gafton@redhat.com>
af3831
- add the --missing option to msghack
af3831
af3831
* Wed Sep 22 1999 Cristian Gafton <gafton@redhat.com>
af3831
- updated msghack not to merge in fuzzies in the master catalogs
af3831
af3831
* Thu Aug 26 1999 Cristian Gafton <gafton@redhat.com>
af3831
- updated msghack to understand --append
af3831
af3831
* Wed Aug 11 1999 Cristian Gafton <gafton@redhat.com>
af3831
- updated msghack to correctly deal with sorting files
af3831
af3831
* Thu May 06 1999 Cristian Gafton <gafton@redhat.com>
af3831
- msghack updates
af3831
af3831
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
af3831
- auto rebuild in the new build environment (release 8)
af3831
af3831
* Mon Mar 08 1999 Cristian Gafton <gafton@redhat.com>
af3831
- added patch for misc hacks to facilitate rpm translations
af3831
af3831
* Thu Dec 03 1998 Cristian Gafton <gafton@redhat.com>
af3831
- patch to allow to build on ARM
af3831
af3831
* Wed Sep 30 1998 Jeff Johnson <jbj@redhat.com>
af3831
- add Emacs po-mode.el files.
af3831
af3831
* Sun Sep 13 1998 Cristian Gafton <gafton@redhat.com>
af3831
- include the aclocal support files
af3831
af3831
* Thu Sep  3 1998 Bill Nottingham <notting@redhat.com>
af3831
- remove devel package (functionality is in glibc)
af3831
af3831
* Tue Sep  1 1998 Jeff Johnson <jbj@redhat.com>
af3831
- update to 0.10.35.
af3831
af3831
* Mon Jun 29 1998 Jeff Johnson <jbj@redhat.com>
af3831
- add gettextize.
af3831
- create devel package for libintl.a and libgettext.h.
af3831
af3831
* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
af3831
- translations modified for de, fr, tr
af3831
af3831
* Sun Nov 02 1997 Cristian Gafton <gafton@redhat.com>
af3831
- added info handling
af3831
- added misc-patch (skip emacs-lisp modofications)
af3831
af3831
* Sat Nov 01 1997 Erik Troan <ewt@redhat.com>
af3831
- removed locale.aliases as we get it from glibc now
af3831
- uses a buildroot
af3831
af3831
* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
af3831
- Built against glibc