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