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