%define enable_testing 0
Name: gettext
-Version: 0.18.1.1
-Release: 2
-License: GPLv3+ and LGPLv2+
+Version: 0.18.3.2
+Release: 1
+License: GPL-3.0+ and LGPL-2.0+
Summary: GNU libraries and utilities for producing multi-lingual messages
Url: http://www.gnu.org/software/gettext/
Group: Development/Tools
-Source: ftp://ftp.gnu.org/gnu/gettext/%{name}-%{version}.tar.bz2
+Source: ftp://ftp.gnu.org/gnu/gettext/%{name}-%{version}.tar.gz
Source2: msghack.py
Source1001: gettext.manifest
BuildRequires: libtool
#needed for ANSI to UTF8 conversion using msgconn
BuildRequires: libunistring
+BuildRequires: glibc-locale
%description
The GNU gettext package provides a set of tools and documentation for
%postun runtime -p /sbin/ldconfig
+%post tools -p /sbin/ldconfig
+
+%postun tools -p /sbin/ldconfig
%files tools -f %{name}.lang
%manifest %{name}.manifest
%defattr(-,root,root,-)
-%doc COPYING
+%license COPYING
%{_datadir}/%{name}/projects/*
%{_datadir}/%{name}/config.rpath
%{_datadir}/%{name}/*.h
%{_libdir}/gettext/user-email
%{_libdir}/libgettextpo.so.*
%{_datadir}/%{name}/javaversion.class
-%{_datadir}/%{name}/archive*.tar.gz
+%{_datadir}/%{name}/archive*.tar.xz
%{_datadir}/%{name}/styles
%{_bindir}/autopoint
%{_bindir}/gettextize
%defattr(-,root,root,-)
# Files listed here should be of LGPL license only, refer to upstream
# statement in PACKAGING file
-%doc gettext-runtime/intl/COPYING*
+%license gettext-runtime/intl/COPYING*
%doc %{_datadir}/gettext/ABOUT-NLS
%{_bindir}/gettext
%{_bindir}/ngettext