Name: gettext
Version: 0.18.1.1
Release: 2
-License: GPLv3+ and LGPLv2+
+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.gz
+Source: ftp://ftp.gnu.org/gnu/gettext/%{name}-%{version}.tar.bz2
Source2: msghack.py
-Source1001: packaging/gettext.manifest
+Source1001: gettext.manifest
BuildRequires: autoconf >= 2.5
BuildRequires: bison
%else
%endif
+mkdir -p gettext-tools/intl
+
%reconfigure --without-included-gettext --enable-nls --disable-static \
--enable-shared --with-pic-=yes --disable-csharp --without-libpth-prefix --disable-openmp
make %{?_smp_mflags} GCJFLAGS="-findirect-dispatch"
%postun runtime -p /sbin/ldconfig
+%post tools -p /sbin/ldconfig
+
+%postun tools -p /sbin/ldconfig
%files tools -f %{name}.lang
-%manifest gettext.manifest
+%manifest %{name}.manifest
%defattr(-,root,root,-)
-%doc COPYING
+%license COPYING
%{_datadir}/%{name}/projects/*
%{_datadir}/%{name}/config.rpath
%{_datadir}/%{name}/*.h
# involve unneeded files. If you need to include a file in -libs, list
# it here explicitly
%files runtime
-%manifest gettext.manifest
+%manifest %{name}.manifest
%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