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