merge autopoint subpackage into devel to simplify deps (#625325)

also have ABOUT-NLS only in the base package datadir
This commit is contained in:
Jens Petersen 2010-08-23 17:44:31 +10:00
parent 180c5222dd
commit ba0543915a

View File

@ -6,7 +6,7 @@
Summary: GNU libraries and utilities for producing multi-lingual messages Summary: GNU libraries and utilities for producing multi-lingual messages
Name: gettext Name: gettext
Version: 0.18.1.1 Version: 0.18.1.1
Release: 2%{?dist} Release: 3%{?dist}
License: GPLv3+ and LGPLv2+ License: GPLv3+ and LGPLv2+
Group: Development/Tools Group: Development/Tools
URL: http://www.gnu.org/software/gettext/ URL: http://www.gnu.org/software/gettext/
@ -53,25 +53,20 @@ catalogs and is a powerful and simple method for internationalizing
programs. programs.
%package autopoint
Summary: gettext autopoint tool
Group: Development/Tools
License: GPLv3+
BuildArch: noarch
Requires: git
%description autopoint
Autopoint is a utility to setup standard gettext files in a source tree.
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
Group: Development/Tools Group: Development/Tools
License: LGPLv2+ # autopoint is GPLv3+
License: LGPLv2+ and GPLv3+
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: %{name}-libs = %{version}-%{release} Requires: %{name}-libs = %{version}-%{release}
Requires(post): info Requires(post): info
Requires(preun): info Requires(preun): info
# for autopoint
Requires: git
Obsoletes: gettext-autopoint < 0.18.1.1-3
Provides: gettext-autopoint = %{version}-%{release}
%description devel %description devel
This package contains all development related files necessary for This package contains all development related files necessary for
@ -251,7 +246,7 @@ fi
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc gettext-runtime/ABOUT-NLS AUTHORS gettext-runtime/BUGS %doc AUTHORS gettext-runtime/BUGS
%doc COPYING gettext-tools/misc/DISCLAIM README %doc COPYING gettext-tools/misc/DISCLAIM README
%doc NEWS THANKS %doc NEWS THANKS
%doc gettext-runtime/man/*.1.html %doc gettext-runtime/man/*.1.html
@ -267,19 +262,16 @@ fi
%exclude %{_libdir}/%{name}/gnu.gettext.* %exclude %{_libdir}/%{name}/gnu.gettext.*
%endif %endif
%dir %{_datadir}/%{name} %dir %{_datadir}/%{name}
%{_datadir}/%{name}/ABOUT-NLS
%{_datadir}/%{name}/intl %{_datadir}/%{name}/intl
%{_datadir}/%{name}/po %{_datadir}/%{name}/po
%{_datadir}/%{name}/styles %{_datadir}/%{name}/styles
%files autopoint
%{_bindir}/autopoint
%{_datadir}/%{name}/archive.*.tar.gz
%{_mandir}/man1/autopoint.1*
%files devel %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc gettext-runtime/man/*.3.html ChangeLog %doc gettext-runtime/man/*.3.html ChangeLog
%{_datadir}/%{name}/ABOUT-NLS %{_bindir}/autopoint
%{_datadir}/%{name}/archive.*.tar.gz
%{_datadir}/%{name}/projects/ %{_datadir}/%{name}/projects/
%{_datadir}/%{name}/config.rpath %{_datadir}/%{name}/config.rpath
%{_datadir}/%{name}/*.h %{_datadir}/%{name}/*.h
@ -292,6 +284,7 @@ fi
%{_libdir}/libgettextlib.so %{_libdir}/libgettextlib.so
%{_libdir}/libgettextsrc.so %{_libdir}/libgettextsrc.so
%{_libdir}/preloadable_libintl.so %{_libdir}/preloadable_libintl.so
%{_mandir}/man1/autopoint.1*
%{_mandir}/man3/* %{_mandir}/man3/*
%{_datadir}/%{name}/javaversion.class %{_datadir}/%{name}/javaversion.class
%doc gettext-runtime/intl-java/javadoc* %doc gettext-runtime/intl-java/javadoc*
@ -320,6 +313,10 @@ fi
%{_emacs_sitelispdir}/%{name}/*.el %{_emacs_sitelispdir}/%{name}/*.el
%changelog %changelog
* Mon Aug 23 2010 Jens Petersen <petersen@redhat.com> - 0.18.1.1-3
- merge autopoint subpackage into devel to simplify deps (#625325)
- have ABOUT-NLS only in base package datadir
* Wed Jun 23 2010 Jens Petersen <petersen@redhat.com> - 0.18.1.1-2 * Wed Jun 23 2010 Jens Petersen <petersen@redhat.com> - 0.18.1.1-2
- correct license tag from GPLv3 to GPLv3+ - correct license tag from GPLv3 to GPLv3+
- subpackage autopoint which requires git (#574031) - subpackage autopoint which requires git (#574031)