- add a libs subpackage (suggested by Dwayne Bailey, #294891)

- move preloadable_libintl.so to the devel subpackage
This commit is contained in:
Jens Petersen 2007-09-21 05:11:02 +00:00
parent 4a37c3f149
commit d0b01459cc

View File

@ -4,7 +4,7 @@
Summary: GNU libraries and utilities for producing multi-lingual messages
Name: gettext
Version: 0.16.1
Release: 11%{?dist}
Release: 12%{?dist}
License: GPLv2+ and LGPLv2+
Group: Development/Tools
Source: ftp://ftp.gnu.org/gnu/gettext/%{name}-%{version}.tar.gz
@ -47,13 +47,13 @@ programs.
%package devel
Summary: Development files for %{name}
Group: Development/Tools
License: LGPL
License: LGPLv2+
Requires: %{name} = %{version}-%{release}
Requires: %{name}-libs = %{version}-%{release}
Requires: cvs
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
%description devel
This package contains all development related files necessary for
developing or compiling applications/libraries that needs
@ -61,6 +61,15 @@ internationalization capability. You also need this package if you
want to add gettext support for your project.
%package libs
Summary: Libraries for %{name}
Group: System Environment/Libraries
License: LGPLv2+
%description libs
This package contains libraries used internationalization support.
%prep
%setup -q
%patch1 -p1 -b .1-fails~
@ -194,7 +203,6 @@ fi
%exclude %{_bindir}/gettextize
%{_libdir}/libgettextlib-%{version}.so
%{_libdir}/libgettextsrc-%{version}.so
%{_libdir}/preloadable_libintl.so
%{_infodir}/gettext*
%{_mandir}/man1/*
%exclude %{_mandir}/man1/gettextize.1.gz
@ -224,10 +232,11 @@ fi
%{_datadir}/aclocal/*
%{_includedir}/*
%{_infodir}/autosprintf*
%{_libdir}/libasprintf.so*
%{_libdir}/libgettextpo.so*
%{_libdir}/libasprintf.so
%{_libdir}/libgettextpo.so
%{_libdir}/libgettextlib.so
%{_libdir}/libgettextsrc.so
%{_libdir}/preloadable_libintl.so
%{_mandir}/man1/gettextize.1.gz
%{_mandir}/man1/autopoint.1.gz
%{_mandir}/man3/*
@ -236,7 +245,17 @@ fi
%{_libdir}/%{name}/gnu.gettext.*
%files libs
%defattr(-,root,root,-)
%{_libdir}/libasprintf.so.*
%{_libdir}/libgettextpo.so.*
%changelog
* Fri Sep 21 2007 Jens Petersen <petersen@redhat.com> - 0.16.1-12
- add a libs subpackage (suggested by Dwayne Bailey, #294891)
- move preloadable_libintl.so to the devel subpackage
* Fri Sep 14 2007 Nils Philippsen <nphilipp@redhat.com> - 0.16.1-11
- remove gettext-xglade-include-expat-285701.patch, add
gettext-xglade-define-xml-major-version-285701.patch to determine