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.bz2
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 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
15 BuildArch:      noarch
16
17 %description
18 Some scripts to support translators working on GNOME and similar
19 programs. Data available in XML files (.oaf, .desktop, .sheet, and
20 more) can be extracted into PO files. After translation, the new
21 information is written back into the XML files.
22
23 %prep
24 %setup -q
25
26 %build
27 %configure
28 make %{?_smp_mflags}
29
30 %check
31 make check
32
33 %install
34 %make_install
35
36 %files
37 %defattr(-, root, root)
38 %doc COPYING
39 %defattr(-, root, root)
40 %{_bindir}/intltool-*
41 %{_bindir}/intltoolize
42 %dir %{_datadir}/aclocal
43 %{_datadir}/aclocal/intltool.m4
44 %{_datadir}/%{name}/
45 %doc %{_mandir}/man8/intltool-*.8%{?ext_man}
46 %doc %{_mandir}/man8/intltoolize.8%{?ext_man}
47
48 %changelog