add packaging
[platform/upstream/intltool.git] / packaging / intltool.spec
1 Name:           intltool
2 Version:        0.50.2
3 Release:        0
4 License:        GPL-2.0+
5 Summary:        Internationalization Tool Collection
6 Url:            https://edge.launchpad.net/intltool/
7 Group:          Development/Tools/Other
8 Source:         %{name}-%{version}.tar.gz
9 BuildRequires:  perl-XML-Parser
10 Requires:       gettext-tools
11 Requires:       perl-XML-Parser
12 Provides:       xml-i18n-tools
13 Obsoletes:      xml-i18n-tools
14 BuildArch:      noarch
15
16 %description
17 Some scripts to support translators working on GNOME and similar
18 programs. Data available in XML files (.oaf, .desktop, .sheet, and
19 more) can be extracted into PO files. After translation, the new
20 information is written back into the XML files.
21
22 %prep
23 %setup -q
24
25 %build
26 %configure
27 make %{?_smp_mflags}
28
29 %check
30 make check
31
32 %install
33 %make_install
34
35 %files
36 %defattr(-, root, root)
37 %doc COPYING
38 %defattr(-, root, root)
39 %{_bindir}/intltool-*
40 %{_bindir}/intltoolize
41 %dir %{_datadir}/aclocal
42 %{_datadir}/aclocal/intltool.m4
43 %{_datadir}/%{name}/
44 %doc %{_mandir}/man8/intltool-*.8%{?ext_man}
45 %doc %{_mandir}/man8/intltoolize.8%{?ext_man}
46
47 %changelog