commit 142442b6897ce8e92e587d47dcda5ce4c7f80a0cf19026f337b595b708765e2a Author: Vincent Untz Date: Thu May 26 20:42:51 2011 +0000 Accepting request 71137 from home:dimstar:branches:GNOME:Factory New package itstool - Needed for yelp-xsl 3.1.1 OBS-URL: https://build.opensuse.org/request/show/71137 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/itstool?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/itstool-1.0.1.tar.bz2 b/itstool-1.0.1.tar.bz2 new file mode 100644 index 0000000..b76cb49 --- /dev/null +++ b/itstool-1.0.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4c4f1488d0fe3e6531f41725deebae77d4f2f5c5415d95bb9837054c0d0356dd +size 73238 diff --git a/itstool.changes b/itstool.changes new file mode 100644 index 0000000..bbfcc46 --- /dev/null +++ b/itstool.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Tue May 24 07:52:11 UTC 2011 - dimstar@opensuse.org + +- Initial package, version 1.0.1 + diff --git a/itstool.spec b/itstool.spec new file mode 100644 index 0000000..ff2f3e4 --- /dev/null +++ b/itstool.spec @@ -0,0 +1,59 @@ +# +# spec file for package +# +# Copyright (c) 2010 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/ +# + + +Name: itstool +Version: 1.0.1 +Release: 1.1 +License: GPLv3 +Summary: Translate your XML documents using PO files +Url: http://itstool.org +Group: Development/Tools/Other +Source: http://files.itstool.org/itstool/%{name}-%{version}.tar.bz2 +BuildRequires: python +BuildRequires: libxml2-python +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch +Requires: libxml2-python +%py_requires + +%description +TS Tool allows you to translate your XML documents with PO files, using rules from the +W3C Internationalization Tag Set (ITS) to determine what to translate and how to separate it +into PO file messages. + +%prep +%setup -q +sed -i "s:#!/usr/bin/env python:#!/usr/bin/python:" itstool itstool.in + +%build +%configure +make %{?_smp_mflags} + +%install +%make_install + +%clean +%{?buildroot:%__rm -rf %{buildroot}} + +%files +%defattr(-,root,root) +%doc ChangeLog COPYING +%{_bindir}/%{name} +%{_datadir}/%{name}/ + +%changelog