source: spec/trunk/SPECS/intltool.spec@ 1010

Last change on this file since 1010 was 155, checked in by Yuri Dario, 14 years ago

spec: intltool build update, fix os2 paths.

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1# debuginfo not needed
2%define debug_package %{nil}
3
4Name: intltool
5Summary: Utility for internationalizing various kinds of data files
6Version: 0.41.1
7Release: 3%{?dist}
8License: GPLv2 with exceptions
9Group: Development/Tools
10Source: http://edge.launchpad.net/intltool/trunk/0.41.0/+download/intltool-%{version}.tar.gz
11URL: http://www.gnome.org
12BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
13BuildArch: noarch
14Requires: patch
15# for /usr/share/aclocal
16#Requires: automake
17Requires: gettext-devel
18Obsoletes: xml-i18n-tools
19Provides: xml-i18n-tools = 0.11
20#Requires: perl(XML::Parser)
21#BuildRequires: perl(XML::Parser)
22BuildRequires: gettext
23
24Patch1: intltool-os2.diff
25
26%description
27This tool automatically extracts translatable strings from oaf, glade,
28bonobo ui, nautilus theme, .desktop, and other data files and puts
29them in the po files.
30
31%prep
32%setup -q
33%patch001 -p1 -b .os2~
34
35%build
36export CONFIG_SHELL="/bin/sh" ; \
37%configure \
38 "--cache-file=%{_topdir}/cache/%{name}-%{_target_cpu}.cache"
39
40make
41
42%install
43rm -rf $RPM_BUILD_ROOT
44
45make install DESTDIR=$RPM_BUILD_ROOT
46
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%files
51%defattr(-,root,root)
52%doc AUTHORS COPYING README
53%{_bindir}/*
54%{_datadir}/intltool
55%{_datadir}/aclocal/*
56%{_mandir}/man*/*
57
58%changelog
Note: See TracBrowser for help on using the repository browser.