]>
Commit | Line | Data |
---|---|---|
93738acd | 1 | Summary: ITS-based XML translation tool |
39f58823 | 2 | Summary(pl.UTF-8): Narzędzie do tłumaczenia XML-a oparte na ITS |
93738acd | 3 | Name: itstool |
7805a271 | 4 | Version: 2.0.6 |
26c25ac4 | 5 | Release: 2 |
39f58823 JB |
6 | License: GPL v3+ |
7 | Group: Applications/Text | |
93738acd | 8 | Source0: http://files.itstool.org/itstool/%{name}-%{version}.tar.bz2 |
7805a271 | 9 | # Source0-md5: 4306eeba4f4aee6b393d14f9c3c57ca1 |
26c25ac4 | 10 | Patch0: %{name}-fix-crash-wrong-encoding.patch |
93738acd | 11 | URL: http://itstool.org/ |
26c25ac4 JB |
12 | BuildRequires: python >= 1:2.6 |
13 | BuildRequires: python-libxml2 | |
14 | Requires: python >= 1:2.6 | |
93738acd MB |
15 | Requires: python-libxml2 |
16 | BuildArch: noarch | |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | ITS Tool allows you to translate XML documents with PO files, using | |
21 | rules from the W3C Internationalization Tag Set (ITS) to determine | |
22 | what to translate and how to separate it into PO file messages. | |
23 | ||
39f58823 JB |
24 | %description -l pl.UTF-8 |
25 | ITS Tool pozwala na tłumaczenie dokumentów XML przy użyciu plików PO, | |
26 | z wykorzystaniem reguł ITS (W3C Internationalization Tag Set) do | |
27 | określania, co ma być tłumaczone i jak powinno być rozdzielone na | |
28 | komunikaty 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 | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %{__make} install \ | |
43 | DESTDIR=$RPM_BUILD_ROOT | |
44 | ||
45 | %clean | |
46 | rm -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* |