gnome-common.spec
author dermotm
Mon, 24 Jul 2006 12:30:39 +0000
branchgnome-2-10
changeset 19949 94f49bf19351
parent 19693 ecfa915b40d9
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: 19287
diff changeset
     1
#
ecfa915b40d9 2005-08-05 Laszlo Peter <[email protected]>
laca
parents: 19287
diff changeset
     2
# spec file for package gnome-common
ecfa915b40d9 2005-08-05 Laszlo Peter <[email protected]>
laca
parents: 19287
diff changeset
     3
#
ecfa915b40d9 2005-08-05 Laszlo Peter <[email protected]>
laca
parents: 19287
diff changeset
     4
# Copyright (c) 2005 Sun Microsystems, Inc.
ecfa915b40d9 2005-08-05 Laszlo Peter <[email protected]>
laca
parents: 19287
diff changeset
     5
# This file and all modifications and additions to the pristine
ecfa915b40d9 2005-08-05 Laszlo Peter <[email protected]>
laca
parents: 19287
diff changeset
     6
# package are under the same license as the package itself.
ecfa915b40d9 2005-08-05 Laszlo Peter <[email protected]>
laca
parents: 19287
diff changeset
     7
#
181
52b8724c9335 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
     8
Name:			gnome-common
52b8724c9335 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
     9
License:		GPL
52b8724c9335 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    10
Group:			System/Libraries
52b8724c9335 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    11
BuildArchitectures:	noarch
19233
c9a2df996b28 2005-05-06 Glynn Foster <[email protected]>
gman
parents: 5370
diff changeset
    12
Version:		2.8.0
c9a2df996b28 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: 19287
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.
181
52b8724c9335 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    16
Summary:		Multiply used files used by the GNOME 2.0 platform
19693
ecfa915b40d9 2005-08-05 Laszlo Peter <[email protected]>
laca
parents: 19287
diff changeset
    17
Source:			http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.8/%{name}-%{version}.tar.bz2
181
52b8724c9335 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    18
URL:			http://www.gnome.org
52b8724c9335 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    19
BuildRoot:		%{_tmppath}/%{name}-%{version}-build
52b8724c9335 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    20
Docdir:			%{_defaultdocdir}/%{name}
52b8724c9335 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    21
Autoreqprov:		on
27
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    22
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    23
%description
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 27
diff changeset
    24
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
    25
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    26
%prep
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    27
%setup -q
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    28
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
27
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    41
CFLAGS="$RPM_OPT_FLAGS" ./configure $MYARCH_FLAGS \
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    42
        --prefix=%{_prefix} \
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    43
        --sysconfdir=%{_sysconfdir}
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    44
make -j $CPUS
27
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    45
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    46
%install
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    47
make prefix=$RPM_BUILD_ROOT%{_prefix} sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} install
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    48
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    49
%clean
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    50
rm -rf $RPM_BUILD_ROOT
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
%files
1333
2a88d49b598a 2003-10-21 Glynn Foster <[email protected]>
gman
parents: 1314
diff changeset
    53
%defattr (-, root, root)
1229
dbdb56312d9d 2003-10-10 Laszlo Peter <[email protected]>
re
parents: 1202
diff changeset
    54
%{_bindir}/*
dbdb56312d9d 2003-10-10 Laszlo Peter <[email protected]>
re
parents: 1202
diff changeset
    55
%{_datadir}/gnome-common
19287
4671b4325002 2005-05-16 Glynn Foster <[email protected]>
gman
parents: 19243
diff changeset
    56
%{_datadir}/aclocal
27
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
%changelog
19233
c9a2df996b28 2005-05-06 Glynn Foster <[email protected]>
gman
parents: 5370
diff changeset
    59
* Fri May 06 2005 - [email protected]
c9a2df996b28 2005-05-06 Glynn Foster <[email protected]>
gman
parents: 5370
diff changeset
    60
- Bump to 2.8.0
c9a2df996b28 2005-05-06 Glynn Foster <[email protected]>
gman
parents: 5370
diff changeset
    61
4950
85ddb6c7e288 2005-01-27 Brian Cameron <[email protected]>
bc99092
parents: 4867
diff changeset
    62
* Thu Jan 27 2005 - [email protected]
85ddb6c7e288 2005-01-27 Brian Cameron <[email protected]>
bc99092
parents: 4867
diff changeset
    63
- 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
    64
4802
0d7eb70c4713 2005-01-04 Alvaro Lopez Ortega <[email protected]>
alo
parents: 4801
diff changeset
    65
* Wed Jan 04 2005 - [email protected]
0d7eb70c4713 2005-01-04 Alvaro Lopez Ortega <[email protected]>
alo
parents: 4801
diff changeset
    66
- added patch 1 to fix bug #6206322
0d7eb70c4713 2005-01-04 Alvaro Lopez Ortega <[email protected]>
alo
parents: 4801
diff changeset
    67
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    68
* Wed Jul 07 2004 - [email protected]
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    69
- added "-j $CPUS" to make to speed up builds
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    70
1792
7fe887cd4a4b Distro to Cinnabar
mattk
parents: 1639
diff changeset
    71
* Wed Feb 18 2004 - [email protected]
7fe887cd4a4b Distro to Cinnabar
mattk
parents: 1639
diff changeset
    72
- Distro to Cinnabar
7fe887cd4a4b Distro to Cinnabar
mattk
parents: 1639
diff changeset
    73
1314
a36034860a42 2003-10-20 Glynn Foster <[email protected]>
gman
parents: 1229
diff changeset
    74
* Tue Oct 21 2003 - [email protected]
a36034860a42 2003-10-20 Glynn Foster <[email protected]>
gman
parents: 1229
diff changeset
    75
- Remove the games m4 macro patch, since we're
a36034860a42 2003-10-20 Glynn Foster <[email protected]>
gman
parents: 1229
diff changeset
    76
  moving to 2.4
a36034860a42 2003-10-20 Glynn Foster <[email protected]>
gman
parents: 1229
diff changeset
    77
1229
dbdb56312d9d 2003-10-10 Laszlo Peter <[email protected]>
re
parents: 1202
diff changeset
    78
* Fri Oct 10 2003 - [email protected]
dbdb56312d9d 2003-10-10 Laszlo Peter <[email protected]>
re
parents: 1202
diff changeset
    79
- include %_datadir/gnome-common
dbdb56312d9d 2003-10-10 Laszlo Peter <[email protected]>
re
parents: 1202
diff changeset
    80
- use _datadir instead of _prefix/share
dbdb56312d9d 2003-10-10 Laszlo Peter <[email protected]>
re
parents: 1202
diff changeset
    81
1202
340266b58ad0 2003-10-06 Ghee Teo <[email protected]>
gheet
parents: 1195
diff changeset
    82
* Mon Oct 06 2003 - [email protected]
340266b58ad0 2003-10-06 Ghee Teo <[email protected]>
gheet
parents: 1195
diff changeset
    83
- Updated 2.4 tarball for Quicksilver.
340266b58ad0 2003-10-06 Ghee Teo <[email protected]>
gheet
parents: 1195
diff changeset
    84
473
4f9e27ddced9 2003-07-08 Glynn Foster <[email protected]>
gman
parents: 290
diff changeset
    85
* Tue Jul 08 2003 - [email protected]
4f9e27ddced9 2003-07-08 Glynn Foster <[email protected]>
gman
parents: 290
diff changeset
    86
- Add in some gnome-games m4 macros
4f9e27ddced9 2003-07-08 Glynn Foster <[email protected]>
gman
parents: 290
diff changeset
    87
27
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    88
* Thu May 13 2003 - [email protected]
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 27
diff changeset
    89
- Initial Sun Release
27
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    90