Accepting request 581208 from GNOME:Next

spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/581208
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/intltool?expand=0&rev=39
This commit is contained in:
Dominique Leuenberger 2018-03-05 13:54:12 +00:00 committed by Git OBS Bridge
parent bca722c7f1
commit bc064199e3
2 changed files with 24 additions and 24 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 28 16:33:35 UTC 2018 - dimstar@opensuse.org
- Modernize spec-file by calling spec-cleaner
-------------------------------------------------------------------
Sun Sep 24 07:18:06 UTC 2017 - coolo@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package intltool
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,24 +17,23 @@
Name: intltool
BuildRequires: perl-XML-Parser
Summary: Internationalization Tool Collection
License: GPL-2.0+
Group: Development/Tools/Other
Version: 0.51.0
Release: 0
BuildArch: noarch
Requires: gettext-tools
Requires: perl-XML-Parser
Provides: xml-i18n-tools
Obsoletes: xml-i18n-tools
Url: https://edge.launchpad.net/intltool/
Summary: Internationalization Tool Collection
License: GPL-2.0-or-later
Group: Development/Tools/Other
URL: https://edge.launchpad.net/intltool/
Source: https://launchpad.net/%{name}/trunk/%{version}/+download/%{name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM intltool-perl-5.22.patch lp#1490906 dimstar@opensuse.org -- Fix execution with perl 5.22
Patch0: intltool-perl-5.22.patch
# PATCH-FIX-UPSTREAM fixrace.patch lp#1687644 boo#1021335
Patch1: fixrace.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl-XML-Parser
Requires: gettext-tools
Requires: perl-XML-Parser
Provides: xml-i18n-tools
Obsoletes: xml-i18n-tools
BuildArch: noarch
%description
Some scripts to support translators working on GNOME and similar
@ -44,32 +43,28 @@ information is written back into the XML files.
%prep
%setup -q
%patch0 -p0
%patch0
%patch1 -p1
%build
%configure
make %{?jobs:-j%jobs}
make %{?_smp_mflags}
%check
make check
make %{?_smp_mflags} check
%install
%makeinstall
%clean
rm -rf $RPM_BUILD_ROOT
%make_install
%files
%defattr(-, root, root)
%doc AUTHORS ChangeLog COPYING NEWS README TODO
%defattr(-, root, root)
%license COPYING
%doc AUTHORS ChangeLog NEWS README TODO
%{_bindir}/intltool-*
%{_bindir}/intltoolize
%dir %{_datadir}/aclocal
%{_datadir}/aclocal/intltool.m4
%{_datadir}/%{name}/
%doc %{_mandir}/man8/intltool-*.8%{?ext_man}
%doc %{_mandir}/man8/intltoolize.8%{?ext_man}
%{_mandir}/man8/intltool-*.8%{?ext_man}
%{_mandir}/man8/intltoolize.8%{?ext_man}
%changelog