gnome-common.spec
author dermotm
Mon, 09 May 2005 09:26:06 +0000
changeset 5414 219255e89582
parent 5370 06fd4677e6e3
child 5460 54346da409d4
permissions -rw-r--r--
Incremented release numbers for build 35
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
181
52b8724c9335 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
     1
Name:			gnome-common
52b8724c9335 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
     2
License:		GPL
52b8724c9335 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
     3
Group:			System/Libraries
52b8724c9335 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
     4
BuildArchitectures:	noarch
1202
340266b58ad0 2003-10-06 Ghee Teo <[email protected]>
gheet
parents: 1195
diff changeset
     5
Version:		2.4.0
5414
219255e89582 Incremented release numbers for build 35
dermotm
parents: 5370
diff changeset
     6
Release:		37
4867
e8cfe7e64783 *.spec (almost): update Vendor and Distribution tags
dermotm
parents: 4860
diff changeset
     7
Distribution:		Java Desktop System, Release 3
575
2b5c59a05848 2003-07-15 Mark McLoughlin <[email protected]>
markmc
parents: 552
diff changeset
     8
Vendor:			Sun Microsystems, Inc.
181
52b8724c9335 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
     9
Summary:		Multiply used files used by the GNOME 2.0 platform
1202
340266b58ad0 2003-10-06 Ghee Teo <[email protected]>
gheet
parents: 1195
diff changeset
    10
Source:			http://ftp.gnome.org/pub/GNOME/sources/gnome-common/2.4/%{name}-%{version}.tar.bz2
4455
aea26bce3124 2004-11-05 Takao Fujiwara <[email protected]>
fujiwara
parents: 4409
diff changeset
    11
Source1:			l10n-configure.sh
4950
85ddb6c7e288 2005-01-27 Brian Cameron <[email protected]>
bc99092
parents: 4867
diff changeset
    12
Patch1:			gnome-common-01-automake.diff
85ddb6c7e288 2005-01-27 Brian Cameron <[email protected]>
bc99092
parents: 4867
diff changeset
    13
Patch2:			gnome-common-02-solarisfind.diff
181
52b8724c9335 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    14
URL:			http://www.gnome.org
52b8724c9335 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    15
BuildRoot:		%{_tmppath}/%{name}-%{version}-build
52b8724c9335 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    16
Docdir:			%{_defaultdocdir}/%{name}
52b8724c9335 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    17
Autoreqprov:		on
27
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    18
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    19
%description
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 27
diff changeset
    20
gnome-common includes files used by pretty much every GNOME 2.0 application.
27
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    21
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    22
%prep
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    23
%setup -q
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    24
4455
aea26bce3124 2004-11-05 Takao Fujiwara <[email protected]>
fujiwara
parents: 4409
diff changeset
    25
bash -x %SOURCE1
4802
0d7eb70c4713 2005-01-04 Alvaro Lopez Ortega <[email protected]>
alo
parents: 4801
diff changeset
    26
%patch1 -p1
4950
85ddb6c7e288 2005-01-27 Brian Cameron <[email protected]>
bc99092
parents: 4867
diff changeset
    27
%patch2 -p1
4455
aea26bce3124 2004-11-05 Takao Fujiwara <[email protected]>
fujiwara
parents: 4409
diff changeset
    28
27
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    29
%build
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    30
%ifos linux
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    31
if [ -x /usr/bin/getconf ]; then
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    32
  CPUS=`getconf _NPROCESSORS_ONLN`
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    33
fi
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    34
%else
3846
9ab79af72b15 2004-09-05 Laszlo Peter <[email protected]>
laca
parents: 3679
diff changeset
    35
  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
    36
%endif
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    37
if test "x$CPUS" = "x" -o $CPUS = 0; then
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    38
  CPUS=1
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    39
fi
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    40
475
99d8ec32deac [sigh], forgot to autofoo
gman
parents: 473
diff changeset
    41
libtoolize --force
1639
6697e9216734 *** empty log message ***
laca
parents: 1609
diff changeset
    42
aclocal
475
99d8ec32deac [sigh], forgot to autofoo
gman
parents: 473
diff changeset
    43
automake -a -c -f
99d8ec32deac [sigh], forgot to autofoo
gman
parents: 473
diff changeset
    44
autoconf
99d8ec32deac [sigh], forgot to autofoo
gman
parents: 473
diff changeset
    45
27
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    46
CFLAGS="$RPM_OPT_FLAGS" ./configure $MYARCH_FLAGS \
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    47
        --enable-platform-gnome-2 \
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    48
        --prefix=%{_prefix} \
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    49
        --sysconfdir=%{_sysconfdir}
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    50
make -j $CPUS
27
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    51
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    52
%install
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    53
make prefix=$RPM_BUILD_ROOT%{_prefix} sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} install
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    54
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    55
%clean
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    56
rm -rf $RPM_BUILD_ROOT
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    57
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    58
%files
1333
2a88d49b598a 2003-10-21 Glynn Foster <[email protected]>
gman
parents: 1314
diff changeset
    59
%defattr (-, root, root)
1229
dbdb56312d9d 2003-10-10 Laszlo Peter <[email protected]>
re
parents: 1202
diff changeset
    60
%{_bindir}/*
dbdb56312d9d 2003-10-10 Laszlo Peter <[email protected]>
re
parents: 1202
diff changeset
    61
%{_datadir}/aclocal/gnome-macros/*
dbdb56312d9d 2003-10-10 Laszlo Peter <[email protected]>
re
parents: 1202
diff changeset
    62
%{_datadir}/aclocal/gnome2-macros/*
dbdb56312d9d 2003-10-10 Laszlo Peter <[email protected]>
re
parents: 1202
diff changeset
    63
%{_datadir}/gnome-common
27
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    64
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    65
%changelog
4950
85ddb6c7e288 2005-01-27 Brian Cameron <[email protected]>
bc99092
parents: 4867
diff changeset
    66
* Thu Jan 27 2005 - [email protected]
85ddb6c7e288 2005-01-27 Brian Cameron <[email protected]>
bc99092
parents: 4867
diff changeset
    67
- added patch 2 to fix autogen.sh so it works with Solaris find.
85ddb6c7e288 2005-01-27 Brian Cameron <[email protected]>
bc99092
parents: 4867
diff changeset
    68
4802
0d7eb70c4713 2005-01-04 Alvaro Lopez Ortega <[email protected]>
alo
parents: 4801
diff changeset
    69
* Wed Jan 04 2005 - [email protected]
0d7eb70c4713 2005-01-04 Alvaro Lopez Ortega <[email protected]>
alo
parents: 4801
diff changeset
    70
- added patch 1 to fix bug #6206322
0d7eb70c4713 2005-01-04 Alvaro Lopez Ortega <[email protected]>
alo
parents: 4801
diff changeset
    71
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    72
* Wed Jul 07 2004 - [email protected]
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    73
- added "-j $CPUS" to make to speed up builds
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    74
1792
7fe887cd4a4b Distro to Cinnabar
mattk
parents: 1639
diff changeset
    75
* Wed Feb 18 2004 - [email protected]
7fe887cd4a4b Distro to Cinnabar
mattk
parents: 1639
diff changeset
    76
- Distro to Cinnabar
7fe887cd4a4b Distro to Cinnabar
mattk
parents: 1639
diff changeset
    77
1314
a36034860a42 2003-10-20 Glynn Foster <[email protected]>
gman
parents: 1229
diff changeset
    78
* Tue Oct 21 2003 - [email protected]
a36034860a42 2003-10-20 Glynn Foster <[email protected]>
gman
parents: 1229
diff changeset
    79
- Remove the games m4 macro patch, since we're
a36034860a42 2003-10-20 Glynn Foster <[email protected]>
gman
parents: 1229
diff changeset
    80
  moving to 2.4
a36034860a42 2003-10-20 Glynn Foster <[email protected]>
gman
parents: 1229
diff changeset
    81
1229
dbdb56312d9d 2003-10-10 Laszlo Peter <[email protected]>
re
parents: 1202
diff changeset
    82
* Fri Oct 10 2003 - [email protected]
dbdb56312d9d 2003-10-10 Laszlo Peter <[email protected]>
re
parents: 1202
diff changeset
    83
- include %_datadir/gnome-common
dbdb56312d9d 2003-10-10 Laszlo Peter <[email protected]>
re
parents: 1202
diff changeset
    84
- use _datadir instead of _prefix/share
dbdb56312d9d 2003-10-10 Laszlo Peter <[email protected]>
re
parents: 1202
diff changeset
    85
1202
340266b58ad0 2003-10-06 Ghee Teo <[email protected]>
gheet
parents: 1195
diff changeset
    86
* Mon Oct 06 2003 - [email protected]
340266b58ad0 2003-10-06 Ghee Teo <[email protected]>
gheet
parents: 1195
diff changeset
    87
- Updated 2.4 tarball for Quicksilver.
340266b58ad0 2003-10-06 Ghee Teo <[email protected]>
gheet
parents: 1195
diff changeset
    88
473
4f9e27ddced9 2003-07-08 Glynn Foster <[email protected]>
gman
parents: 290
diff changeset
    89
* Tue Jul 08 2003 - [email protected]
4f9e27ddced9 2003-07-08 Glynn Foster <[email protected]>
gman
parents: 290
diff changeset
    90
- Add in some gnome-games m4 macros
4f9e27ddced9 2003-07-08 Glynn Foster <[email protected]>
gman
parents: 290
diff changeset
    91
27
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    92
* Thu May 13 2003 - [email protected]
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 27
diff changeset
    93
- Initial Sun Release
27
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    94