]> git.pld-linux.org Git - packages/itstool.git/blob - itstool.spec
- added fix-crash-wrong-encoding patch from Fedora; release 2
[packages/itstool.git] / itstool.spec
1 Summary:        ITS-based XML translation tool
2 Summary(pl.UTF-8):      Narzędzie do tłumaczenia XML-a oparte na ITS
3 Name:           itstool
4 Version:        2.0.6
5 Release:        2
6 License:        GPL v3+
7 Group:          Applications/Text
8 Source0:        http://files.itstool.org/itstool/%{name}-%{version}.tar.bz2
9 # Source0-md5:  4306eeba4f4aee6b393d14f9c3c57ca1
10 Patch0:         %{name}-fix-crash-wrong-encoding.patch
11 URL:            http://itstool.org/
12 BuildRequires:  python >= 1:2.6
13 BuildRequires:  python-libxml2
14 Requires:       python >= 1:2.6
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
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
30 %prep
31 %setup -q
32 %patch0 -p1
33
34 %build
35 %configure \
36         PYTHON="%{__python}"
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*
This page took 0.050363 seconds and 3 git commands to generate.