Subpackage msghack so that gettext doesn't depend on python

Signed-off-by: Petr Šabata <contyk@redhat.com>
This commit is contained in:
Petr Šabata 2016-12-16 14:55:52 +01:00 committed by Pavel Raiskup
parent 05e2be0718
commit d64c699a89
1 changed files with 18 additions and 1 deletions

View File

@ -9,7 +9,7 @@
Summary: GNU libraries and utilities for producing multi-lingual messages
Name: gettext
Version: 0.19.8.1
Release: 3%{?dist}
Release: 4%{?dist}
License: GPLv3+ and LGPLv2+
Group: Development/Tools
URL: http://www.gnu.org/software/gettext/
@ -135,6 +135,14 @@ Obsoletes: emacs-%{name}-el < %{version}-%{release}
%description -n emacs-%{name}
This package provides a major mode for editing po files within GNU Emacs.
%package msghack
Summary: Alter PO files in ways
BuildArch: noarch
%description msghack
This program can be used to alter .po files in ways no sane mind would
think about.
%prep
%autosetup -n %{name}-%{tarversion} -S git
@ -286,8 +294,10 @@ fi
%{_bindir}/*
%exclude %{_bindir}/autopoint
%exclude %{_bindir}/gettextize
%exclude %{_bindir}/msghack
%{_infodir}/gettext*
%exclude %{_mandir}/man1/autopoint.1*
%exclude %{_mandir}/man1/msghack.1*
%{_mandir}/man1/*
%{_libdir}/%{name}
%if %{with java}
@ -342,7 +352,14 @@ fi
%{_emacs_sitelispdir}/%{name}/*.el
%{_emacs_sitestartdir}/*.el
%files msghack
%{_bindir}/msghack
%{_mandir}/man1/msghack.1*
%changelog
* Fri Dec 16 2016 Petr Šabata <contyk@redhat.com> - 0.19.8.1-4
- Subpackage msghack so that gettext doesn't depend on python
* Tue Nov 29 2016 Pavel Raiskup <praiskup@redhat.com> - 0.19.8.1-3
- devel subpackage to Require 'xz' (rhbz#1399270)