]> git.pld-linux.org Git - packages/itstool.git/blame - itstool.spec
- added fix-crash-wrong-encoding patch from Fedora; release 2
[packages/itstool.git] / itstool.spec
CommitLineData
93738acd 1Summary: ITS-based XML translation tool
39f58823 2Summary(pl.UTF-8): Narzędzie do tłumaczenia XML-a oparte na ITS
93738acd 3Name: itstool
7805a271 4Version: 2.0.6
26c25ac4 5Release: 2
39f58823
JB
6License: GPL v3+
7Group: Applications/Text
93738acd 8Source0: http://files.itstool.org/itstool/%{name}-%{version}.tar.bz2
7805a271 9# Source0-md5: 4306eeba4f4aee6b393d14f9c3c57ca1
26c25ac4 10Patch0: %{name}-fix-crash-wrong-encoding.patch
93738acd 11URL: http://itstool.org/
26c25ac4
JB
12BuildRequires: python >= 1:2.6
13BuildRequires: python-libxml2
14Requires: python >= 1:2.6
93738acd
MB
15Requires: python-libxml2
16BuildArch: noarch
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20ITS Tool allows you to translate XML documents with PO files, using
21rules from the W3C Internationalization Tag Set (ITS) to determine
22what to translate and how to separate it into PO file messages.
23
39f58823
JB
24%description -l pl.UTF-8
25ITS Tool pozwala na tłumaczenie dokumentów XML przy użyciu plików PO,
26z wykorzystaniem reguł ITS (W3C Internationalization Tag Set) do
27określania, co ma być tłumaczone i jak powinno być rozdzielone na
28komunikaty w pliku PO.
29
93738acd
MB
30%prep
31%setup -q
26c25ac4 32%patch0 -p1
93738acd
MB
33
34%build
26c25ac4
JB
35%configure \
36 PYTHON="%{__python}"
93738acd
MB
37%{__make}
38
39%install
40rm -rf $RPM_BUILD_ROOT
41
42%{__make} install \
43 DESTDIR=$RPM_BUILD_ROOT
44
45%clean
46rm -rf $RPM_BUILD_ROOT
47
48%files
49%defattr(644,root,root,755)
50%doc ChangeLog NEWS
51%attr(755,root,root) %{_bindir}/itstool
52%{_datadir}/itstool
53%{_mandir}/man1/itstool.1*
This page took 0.04517 seconds and 4 git commands to generate.