forked from pool/gnome-patch-translation
Accepting request 582740 from GNOME:Factory
spec-cleaner (forwarded request 581096 from dimstar) OBS-URL: https://build.opensuse.org/request/show/582740 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-patch-translation?expand=0&rev=66
This commit is contained in:
commit
5d1cd4cc15
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 28 16:29:13 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
- Modernize spec-file by calling spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 4 17:59:40 CEST 2014 - sbrabec@suse.cz
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package gnome-patch-translation
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products 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
|
||||
@ -20,7 +20,7 @@ Name: gnome-patch-translation
|
||||
Version: 13.2
|
||||
Release: 0
|
||||
Summary: Collect and Merge Translations From RPM Patches
|
||||
License: GPL-2.0+
|
||||
License: GPL-2.0-or-later
|
||||
Group: System/GUI/GNOME
|
||||
Source: gnome-patch-translation-files.tar.bz2
|
||||
Source1: gnome-patch-translation.tar.bz2
|
||||
@ -35,7 +35,6 @@ Source9: update-step2-update-strings-from-packages
|
||||
Source10: update-step3-upload-strings-to-lcn
|
||||
Source11: update-solve-upload-conflict
|
||||
Source12: gnome-patch-translation.conf
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Requires: intltool
|
||||
BuildArch: noarch
|
||||
|
||||
@ -44,23 +43,19 @@ This package provides scripts for collecting strings changed in RPM
|
||||
patches and merging them to one translation compendium.
|
||||
|
||||
%prep
|
||||
%setup -T -a0 -a1 -c %{name}-%{version}
|
||||
cp -a %{S:2} %{S:3} %{S:4} %{S:5} %{S:6} .
|
||||
%setup -q -T -a0 -a1 -c %{name}-%{version}
|
||||
cp -a %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} .
|
||||
|
||||
%build
|
||||
sh gnome-patch-translation-merge
|
||||
|
||||
%install
|
||||
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
||||
install gnome-patch-translation-prepare gnome-patch-translation-update $RPM_BUILD_ROOT%{_bindir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/gnome-patch-translation
|
||||
cp gnome-patch-translation/*.po gnome-patch-translation-merged/*.pot $RPM_BUILD_ROOT%{_datadir}/gnome-patch-translation
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
install gnome-patch-translation-prepare gnome-patch-translation-update %{buildroot}%{_bindir}
|
||||
mkdir -p %{buildroot}%{_datadir}/gnome-patch-translation
|
||||
cp gnome-patch-translation/*.po gnome-patch-translation-merged/*.pot %{buildroot}%{_datadir}/gnome-patch-translation
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README
|
||||
%{_bindir}/*
|
||||
%{_datadir}/gnome-patch-translation
|
||||
|
Loading…
Reference in New Issue
Block a user