SHA256
1
0
forked from pool/intltool

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 Sun Sep 24 07:18:06 UTC 2017 - coolo@suse.com

View File

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