add packaging
[platform/upstream/intltool.git] / packaging / intltool.spec
1 #
2 # spec file for package intltool
3 #
4 # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
5 #
6 # All modifications and additions to the file contributed by third parties
7 # remain the property of their copyright owners, unless otherwise agreed
8 # upon. The license for this file, and modifications and additions to the
9 # file, is the same license as for the pristine package itself (unless the
10 # license for the pristine package is not an Open Source License, in which
11 # case the license is the MIT License). An "Open Source License" is a
12 # license that conforms to the Open Source Definition (Version 1.9)
13 # published by the Open Source Initiative.
14
15 # Please submit bugfixes or comments via http://bugs.opensuse.org/
16 #
17
18
19 Name:           intltool
20 Version:        0.50.2
21 Release:        0
22 License:        GPL-2.0+
23 Summary:        Internationalization Tool Collection
24 Url:            https://edge.launchpad.net/intltool/
25 Group:          Development/Tools/Other
26 Source:         %{name}-%{version}.tar.bz2
27 BuildRequires:  perl-XML-Parser
28 Requires:       gettext-tools
29 Requires:       perl-XML-Parser
30 Provides:       xml-i18n-tools
31 Obsoletes:      xml-i18n-tools
32 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
33 BuildArch:      noarch
34
35 %description
36 Some scripts to support translators working on GNOME and similar
37 programs. Data available in XML files (.oaf, .desktop, .sheet, and
38 more) can be extracted into PO files. After translation, the new
39 information is written back into the XML files.
40
41 %prep
42 %setup -q
43
44 %build
45 %configure
46 make %{?_smp_mflags}
47
48 %check
49 make check
50
51 %install
52 %make_install
53
54 %files
55 %defattr(-, root, root)
56 %doc AUTHORS ChangeLog COPYING NEWS README TODO
57 %defattr(-, root, root)
58 %{_bindir}/intltool-*
59 %{_bindir}/intltoolize
60 %dir %{_datadir}/aclocal
61 %{_datadir}/aclocal/intltool.m4
62 %{_datadir}/%{name}/
63 %doc %{_mandir}/man8/intltool-*.8%{?ext_man}
64 %doc %{_mandir}/man8/intltoolize.8%{?ext_man}
65
66 %changelog