2009-02-12 00:40:55 +01:00
|
|
|
#
|
2009-03-26 17:34:35 +01:00
|
|
|
# spec file for package translation-update-upstream (Version 20090326)
|
2009-02-12 00:40:55 +01:00
|
|
|
#
|
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
|
|
|
|
Name: translation-update-upstream
|
|
|
|
License: GPL v2 or later
|
|
|
|
Group: System/Localization
|
2009-03-26 17:34:35 +01:00
|
|
|
Version: 20090326
|
2009-02-12 00:40:55 +01:00
|
|
|
Release: 1
|
|
|
|
Summary: Tool for Translation Update from Upstream
|
|
|
|
Source: %{name}-%{version}.tar.bz2
|
|
|
|
Source1: %{name}.sh
|
|
|
|
Source2: %{name}-AUTHORS
|
|
|
|
Source3: %{name}-COPYING
|
|
|
|
Source4: %{name}-README
|
|
|
|
Source5: %{name}-HOWTO
|
|
|
|
# Files below are package maintainer tools, not used for package build:
|
|
|
|
Source50: upstream-collect.sh
|
|
|
|
Source51: upstream-collect.conf
|
|
|
|
Source52: upstream-collect-template.hook
|
|
|
|
Source53: create-tlst-step1-list-all-po-projects.sh
|
|
|
|
Source54: create-tlst-step2-create-gnome_svn.sh
|
|
|
|
Source55: create-tlst.conf
|
|
|
|
# Configuration files for package maintainer tools:
|
|
|
|
Source60: upstream-gnome_svn.tlst
|
|
|
|
Source61: upstream-gnome_svn.hook
|
|
|
|
Source62: upstream-gnome-generic.tlst
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Requires: coreutils gettext-tools grep intltool sed
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
This is a tool providing update of translations using available
|
|
|
|
upstream resources.
|
|
|
|
|
|
|
|
The tool tool is intended for use during package compilation as a first
|
|
|
|
command after unpacking of source code.
|
|
|
|
|
|
|
|
For more see README and HOWTO.
|
|
|
|
|
|
|
|
This package also includes translation update data files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Stanislav Brabec <sbrabec@suse.cz>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -a0 -c %{name}-%{version}
|
|
|
|
cp -a %{S:1} translation-update-upstream
|
|
|
|
chmod +x translation-update-upstream
|
|
|
|
cp -a %{S:2} AUTHORS
|
|
|
|
cp -a %{S:3} COPYING
|
|
|
|
cp -a %{S:4} README
|
|
|
|
cp -a %{S:5} HOWTO
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
2009-03-26 17:34:35 +01:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}
|
|
|
|
cp -a po $RPM_BUILD_ROOT%{_datadir}/%{name}
|
2009-02-12 00:40:55 +01:00
|
|
|
install -d $RPM_BUILD_ROOT%{_bindir}
|
|
|
|
install translation-update-upstream $RPM_BUILD_ROOT%{_bindir}/
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr (-,root,root)
|
|
|
|
%doc AUTHORS COPYING README HOWTO
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_datadir}/%{name}
|
|
|
|
|
|
|
|
%changelog
|
2009-03-26 17:34:35 +01:00
|
|
|
* Thu Mar 26 2009 sbrabec@suse.cz
|
|
|
|
- Reset mostly outdated translations until next freeze.
|
2009-02-12 00:40:55 +01:00
|
|
|
* Wed Feb 11 2009 sbrabec@suse.cz
|
|
|
|
- Modularization of package lists.
|
|
|
|
- Make possible update of a single translation.
|
|
|
|
- Added pidgin.
|
|
|
|
* Fri Feb 06 2009 sbrabec@suse.cz
|
|
|
|
- New SuSE package (FATE#301344).
|