19693
|
1 |
#
|
|
2 |
# spec file for package intltool
|
|
3 |
#
|
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc.
|
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
180
|
8 |
Name: intltool
|
|
9 |
License: GPL
|
|
10 |
Group: Development/Tools/Other
|
|
11 |
BuildArchitectures: noarch
|
19215
|
12 |
Version: 0.33
|
|
13 |
Release: 1
|
19693
|
14 |
Distribution: Java Desktop System
|
575
|
15 |
Vendor: Sun Microsystems, Inc.
|
180
|
16 |
Summary: Translation Tools for GNOME Internationalization
|
19880
|
17 |
Source: http://ftp.gnome.org/pub/GNOME/sources/intltool/0.33/intltool-%{version}.tar.bz2
|
1432
|
18 |
Source1: intltool-extract.1.gz
|
|
19 |
Source2: intltool-merge.1.gz
|
|
20 |
Source3: intltool-prepare.1.gz
|
|
21 |
Source4: intltool-unicodify.1.gz
|
|
22 |
Source5: intltool-update.1.gz
|
|
23 |
Source6: intltoolize.1.gz
|
180
|
24 |
URL: http://www.gnome.org
|
|
25 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
26 |
Docdir: %{_defaultdocdir}/doc
|
|
27 |
Autoreqprov: on
|
153
|
28 |
|
|
29 |
%description
|
180
|
30 |
intltool is a collection of tools for the GNOME Internationalization Developer
|
|
31 |
Framework. Data available in XML files (.oaf, .desktop, .sheet, etc.) can be
|
|
32 |
extracted into PO files and, after translating, the new info will be written back
|
153
|
33 |
into the XML files.
|
|
34 |
|
|
35 |
%define INSTALL install -m755 -s
|
|
36 |
%define INSTALL_SCRIPT install -m755
|
|
37 |
%define INSTALL_DIR install -d -m755
|
|
38 |
%define INSTALL_DATA install -m644
|
|
39 |
|
|
40 |
%prep
|
|
41 |
%setup -q
|
|
42 |
|
|
43 |
%build
|
3263
|
44 |
%ifos linux
|
|
45 |
if [ -x /usr/bin/getconf ]; then
|
|
46 |
CPUS=`getconf _NPROCESSORS_ONLN`
|
|
47 |
fi
|
|
48 |
%else
|
3846
|
49 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
3263
|
50 |
%endif
|
|
51 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
52 |
CPUS=1
|
|
53 |
fi
|
|
54 |
|
153
|
55 |
./configure --prefix=%{_prefix} \
|
|
56 |
--mandir=%{_mandir}
|
3263
|
57 |
make -j $CPUS
|
153
|
58 |
|
|
59 |
%install
|
|
60 |
make DESTDIR=$RPM_BUILD_ROOT install
|
1523
|
61 |
install -d $RPM_BUILD_ROOT%{_mandir}/man1
|
|
62 |
install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/man1
|
|
63 |
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/man1
|
|
64 |
install --mode=0644 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/man1
|
|
65 |
install --mode=0644 %SOURCE4 $RPM_BUILD_ROOT%{_mandir}/man1
|
|
66 |
install --mode=0644 %SOURCE5 $RPM_BUILD_ROOT%{_mandir}/man1
|
|
67 |
install --mode=0644 %SOURCE6 $RPM_BUILD_ROOT%{_mandir}/man1
|
153
|
68 |
|
|
69 |
%clean
|
|
70 |
rm -rf $RPM_BUILD_ROOT
|
|
71 |
|
|
72 |
%files
|
|
73 |
%defattr(-, root, root)
|
|
74 |
%defattr(0555, root, root)
|
|
75 |
%{_prefix}/bin
|
|
76 |
%defattr (0444, root, root)
|
1432
|
77 |
%{_mandir}/man1/*
|
3628
|
78 |
%{_mandir}/man8/*
|
450
|
79 |
%defattr(0755,root,root)
|
|
80 |
%{_datadir}/%{name}
|
153
|
81 |
%{_datadir}/aclocal/
|
|
82 |
|
|
83 |
%changelog
|
19215
|
84 |
* Fri May 06 2005 - [email protected]
|
|
85 |
- Bump to 0.33
|
|
86 |
|
4448
|
87 |
* Fri Nov 05 2004 - [email protected]
|
|
88 |
- Added intltool-01-g11n-icon.diff to support .icon files. Fix CR 6191220
|
|
89 |
- Added intltool-02-g11n-space.diff to fix space attributes. bugzilla 151017.
|
|
90 |
|
4417
|
91 |
* Thu Oct 21 2004 - [email protected]
|
|
92 |
- Updated "Source" to current version.
|
|
93 |
|
4316
|
94 |
* Thu Oct 21 2004 - [email protected]
|
|
95 |
- Bump to 0.31, remove patch-01 , #6179699
|
|
96 |
|
3628
|
97 |
* Wed Jul 07 2004 - [email protected]
|
|
98 |
- Ported to rpm4
|
|
99 |
|
3263
|
100 |
* Wed Jul 07 2004 - [email protected]
|
|
101 |
- added "-j $CPUS" to make to speed up builds
|
|
102 |
|
2220
|
103 |
* Tue Mar 16 2004 - [email protected]
|
|
104 |
- Added intltool-01-g11n-handle-blacket.diff to fix 4996253
|
1585
|
105 |
* Thu Feb 05 2004 - Matt Keenan <[email protected]>
|
|
106 |
- Bump to 0.30
|
|
107 |
|
1432
|
108 |
* Mon Dec 15 2003 - Glynn Foster <[email protected]>
|
|
109 |
- Bump to 0.28
|
|
110 |
|
|
111 |
* Mon Oct 13 2003 - Matt Keenan <[email protected]>
|
|
112 |
- Man pages update
|
|
113 |
|
|
114 |
* Thu Oct 09 2003 - Matt Keenan <[email protected]>
|
|
115 |
- Man pages
|
|
116 |
|
450
|
117 |
* Fri Jul 04 2003 - Ghee Teo <[email protected]>
|
|
118 |
- Fixes a directory permission for %{_datadir}/aclocal because of
|
|
119 |
an incorrect macros being used under files section
|
153
|
120 |
* Tue May 13 2003 - [email protected]
|
|
121 |
- Initial release
|