subpackage archive.git.tar.gz to avoid multilib conflicts (#631733)

This commit is contained in:
Jens Petersen 2010-09-09 18:38:53 +10:00
parent d44c0861b4
commit ed8b437b5f
2 changed files with 22 additions and 4 deletions

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: 3%{?dist} Release: 4%{?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,6 +53,17 @@ catalogs and is a powerful and simple method for internationalizing
programs. programs.
%package common-devel
Summary: Common development files for %{name}
Group: Development/Tools
# autopoint is GPLv3+
License: GPLv3+
BuildArch: noarch
%description common-devel
This package contains common architecture independent gettext development files.
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
Group: Development/Tools Group: Development/Tools
@ -60,6 +71,7 @@ Group: Development/Tools
License: LGPLv2+ and GPLv3+ License: LGPLv2+ and GPLv3+
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: %{name}-libs = %{version}-%{release} Requires: %{name}-libs = %{version}-%{release}
Requires: %{name}-common-devel = %{version}-%{release}
Requires(post): info Requires(post): info
Requires(preun): info Requires(preun): info
# for autopoint # for autopoint
@ -67,7 +79,6 @@ Requires: git
Obsoletes: gettext-autopoint < 0.18.1.1-3 Obsoletes: gettext-autopoint < 0.18.1.1-3
Provides: gettext-autopoint = %{version}-%{release} 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
developing or compiling applications/libraries that needs developing or compiling applications/libraries that needs
@ -267,11 +278,14 @@ fi
%{_datadir}/%{name}/po %{_datadir}/%{name}/po
%{_datadir}/%{name}/styles %{_datadir}/%{name}/styles
%files common-devel
%defattr(-,root,root,-)
%{_datadir}/%{name}/archive.*.tar.gz
%files devel %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc gettext-runtime/man/*.3.html ChangeLog %doc gettext-runtime/man/*.3.html ChangeLog
%{_bindir}/autopoint %{_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
@ -313,6 +327,10 @@ fi
%{_emacs_sitelispdir}/%{name}/*.el %{_emacs_sitelispdir}/%{name}/*.el
%changelog %changelog
* Thu Sep 9 2010 Jens Petersen <petersen@redhat.com> - 0.18.1.1-4
- subpackage archive.git.tar.gz to avoid multilib conflicts (#631733)
- update msghack.py header
* Mon Aug 23 2010 Jens Petersen <petersen@redhat.com> - 0.18.1.1-3 * Mon Aug 23 2010 Jens Petersen <petersen@redhat.com> - 0.18.1.1-3
- merge autopoint subpackage into devel to simplify deps (#625325) - merge autopoint subpackage into devel to simplify deps (#625325)
- have ABOUT-NLS only in the base package datadir - have ABOUT-NLS only in the base package datadir

View File

@ -1,6 +1,6 @@
#!/usr/bin/python #!/usr/bin/python
## -*- coding: utf-8 -*- ## -*- coding: utf-8 -*-
## Copyright (C) 2001 Red Hat, Inc. ## Copyright (C) 2001, 2008 Red Hat, Inc.
## Copyright (C) 2001 Trond Eivind Glomsrød <teg@redhat.com> ## Copyright (C) 2001 Trond Eivind Glomsrød <teg@redhat.com>
## v0.2 - 2001-08-21 ## v0.2 - 2001-08-21