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 |
|
---|
4 | Name: intltool
|
---|
5 | Summary: Utility for internationalizing various kinds of data files
|
---|
6 | Version: 0.41.1
|
---|
7 | Release: 3%{?dist}
|
---|
8 | License: GPLv2 with exceptions
|
---|
9 | Group: Development/Tools
|
---|
10 | Source: http://edge.launchpad.net/intltool/trunk/0.41.0/+download/intltool-%{version}.tar.gz
|
---|
11 | URL: http://www.gnome.org
|
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
---|
13 | BuildArch: noarch
|
---|
14 | Requires: patch
|
---|
15 | # for /usr/share/aclocal
|
---|
16 | #Requires: automake
|
---|
17 | Requires: gettext-devel
|
---|
18 | Obsoletes: xml-i18n-tools
|
---|
19 | Provides: xml-i18n-tools = 0.11
|
---|
20 | #Requires: perl(XML::Parser)
|
---|
21 | #BuildRequires: perl(XML::Parser)
|
---|
22 | BuildRequires: gettext
|
---|
23 |
|
---|
24 | Patch1: intltool-os2.diff
|
---|
25 |
|
---|
26 | %description
|
---|
27 | This tool automatically extracts translatable strings from oaf, glade,
|
---|
28 | bonobo ui, nautilus theme, .desktop, and other data files and puts
|
---|
29 | them in the po files.
|
---|
30 |
|
---|
31 | %prep
|
---|
32 | %setup -q
|
---|
33 | %patch001 -p1 -b .os2~
|
---|
34 |
|
---|
35 | %build
|
---|
36 | export CONFIG_SHELL="/bin/sh" ; \
|
---|
37 | %configure \
|
---|
38 | "--cache-file=%{_topdir}/cache/%{name}-%{_target_cpu}.cache"
|
---|
39 |
|
---|
40 | make
|
---|
41 |
|
---|
42 | %install
|
---|
43 | rm -rf $RPM_BUILD_ROOT
|
---|
44 |
|
---|
45 | make install DESTDIR=$RPM_BUILD_ROOT
|
---|
46 |
|
---|
47 | %clean
|
---|
48 | rm -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.