2007-01-05 16:52:24 +01:00
|
|
|
#
|
2009-10-21 13:13:56 +02:00
|
|
|
# spec file for package gnome-patch-translation (Version 11.2)
|
2007-01-05 16:52:24 +01:00
|
|
|
#
|
2009-01-30 00:14:11 +01:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-05 16:52:24 +01:00
|
|
|
#
|
2008-08-21 23:23:48 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-05 16:52:24 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-03-19 14:22:08 +01:00
|
|
|
|
2007-01-05 16:52:24 +01:00
|
|
|
Name: gnome-patch-translation
|
2007-07-17 01:52:14 +02:00
|
|
|
License: GPL v2 or later
|
2007-01-05 16:52:24 +01:00
|
|
|
Group: System/GUI/GNOME
|
2007-09-19 19:03:03 +02:00
|
|
|
AutoReqProv: on
|
2010-04-01 03:07:33 +02:00
|
|
|
Version: 11.2
|
|
|
|
Release: 3
|
2007-01-05 16:52:24 +01:00
|
|
|
Summary: Collect and Merge Translations From RPM Patches
|
|
|
|
Source: gnome-patch-translation-files.tar.bz2
|
|
|
|
Source1: gnome-patch-translation.tar.bz2
|
2008-11-07 15:09:28 +01:00
|
|
|
Source2: README
|
2007-01-05 16:52:24 +01:00
|
|
|
Source3: gnome-patch-translation-prepare
|
|
|
|
Source4: gnome-patch-translation-update
|
|
|
|
Source5: gnome-patch-translation-merge
|
|
|
|
Source6: HEADER.pot
|
2008-11-07 15:09:28 +01:00
|
|
|
Source7: HOWTO
|
|
|
|
Source8: update-step1-update-translations-from-lcn
|
|
|
|
Source9: update-step2-update-strings-from-packages
|
|
|
|
Source10: update-step3-upload-strings-to-lcn
|
|
|
|
Source11: update-solve-upload-conflict
|
|
|
|
Source12: gnome-patch-translation.conf
|
2007-01-05 16:52:24 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-23 01:51:16 +01:00
|
|
|
Requires: intltool
|
2007-09-19 19:03:03 +02:00
|
|
|
BuildArch: noarch
|
2007-01-05 16:52:24 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package provides scripts for collecting strings changed in RPM
|
|
|
|
patches and merging them to one translation compendium.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Stanislav Brabec <sbrabec@suse.cz>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -T -a0 -a1 -c %{name}-%{version}
|
|
|
|
cp -a %{S:2} %{S:3} %{S:4} %{S:5} %{S:6} .
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2008-11-07 15:09:28 +01:00
|
|
|
%doc README
|
2007-01-05 16:52:24 +01:00
|
|
|
%{_bindir}/*
|
|
|
|
%{_datadir}/gnome-patch-translation
|
2008-03-19 14:22:08 +01:00
|
|
|
|
2007-02-25 11:44:43 +01:00
|
|
|
%changelog
|