gnome-common.spec
author dermotm
Mon, 18 Oct 2004 09:30:38 +0000
changeset 4276 2a2c7f354601
parent 4133 ac0c5fbef3de
child 4409 4fec71e58697
permissions -rw-r--r--
Incremented release numbers for build 21
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
4276
2a2c7f354601 Incremented release numbers for build 21
dermotm
parents: 4133
diff changeset
     6
Release:		23
1792
7fe887cd4a4b Distro to Cinnabar
mattk
parents: 1639
diff changeset
     7
Distribution:		Cinnabar
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
181
52b8724c9335 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    11
URL:			http://www.gnome.org
52b8724c9335 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    12
BuildRoot:		%{_tmppath}/%{name}-%{version}-build
52b8724c9335 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    13
Docdir:			%{_defaultdocdir}/%{name}
52b8724c9335 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    14
Autoreqprov:		on
27
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    15
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    16
%description
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 27
diff changeset
    17
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
    18
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    19
%prep
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    20
%setup -q
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
%build
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    23
%ifos linux
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    24
if [ -x /usr/bin/getconf ]; then
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    25
  CPUS=`getconf _NPROCESSORS_ONLN`
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    26
fi
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    27
%else
3846
9ab79af72b15 2004-09-05 Laszlo Peter <[email protected]>
laca
parents: 3679
diff changeset
    28
  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
    29
%endif
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    30
if test "x$CPUS" = "x" -o $CPUS = 0; then
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    31
  CPUS=1
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    32
fi
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    33
475
99d8ec32deac [sigh], forgot to autofoo
gman
parents: 473
diff changeset
    34
libtoolize --force
1639
6697e9216734 *** empty log message ***
laca
parents: 1609
diff changeset
    35
aclocal
475
99d8ec32deac [sigh], forgot to autofoo
gman
parents: 473
diff changeset
    36
automake -a -c -f
99d8ec32deac [sigh], forgot to autofoo
gman
parents: 473
diff changeset
    37
autoconf
99d8ec32deac [sigh], forgot to autofoo
gman
parents: 473
diff changeset
    38
27
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    39
CFLAGS="$RPM_OPT_FLAGS" ./configure $MYARCH_FLAGS \
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    40
        --enable-platform-gnome-2 \
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    41
        --prefix=%{_prefix} \
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    42
        --sysconfdir=%{_sysconfdir}
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    43
make -j $CPUS
27
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    44
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    45
%install
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    46
make prefix=$RPM_BUILD_ROOT%{_prefix} sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} install
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    47
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    48
%clean
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    49
rm -rf $RPM_BUILD_ROOT
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    50
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    51
%files
1333
2a88d49b598a 2003-10-21 Glynn Foster <[email protected]>
gman
parents: 1314
diff changeset
    52
%defattr (-, root, root)
1229
dbdb56312d9d 2003-10-10 Laszlo Peter <[email protected]>
re
parents: 1202
diff changeset
    53
%{_bindir}/*
dbdb56312d9d 2003-10-10 Laszlo Peter <[email protected]>
re
parents: 1202
diff changeset
    54
%{_datadir}/aclocal/gnome-macros/*
dbdb56312d9d 2003-10-10 Laszlo Peter <[email protected]>
re
parents: 1202
diff changeset
    55
%{_datadir}/aclocal/gnome2-macros/*
dbdb56312d9d 2003-10-10 Laszlo Peter <[email protected]>
re
parents: 1202
diff changeset
    56
%{_datadir}/gnome-common
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
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    59
* Wed Jul 07 2004 - [email protected]
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    60
- added "-j $CPUS" to make to speed up builds
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    61
1792
7fe887cd4a4b Distro to Cinnabar
mattk
parents: 1639
diff changeset
    62
* Wed Feb 18 2004 - [email protected]
7fe887cd4a4b Distro to Cinnabar
mattk
parents: 1639
diff changeset
    63
- Distro to Cinnabar
7fe887cd4a4b Distro to Cinnabar
mattk
parents: 1639
diff changeset
    64
1314
a36034860a42 2003-10-20 Glynn Foster <[email protected]>
gman
parents: 1229
diff changeset
    65
* Tue Oct 21 2003 - [email protected]
a36034860a42 2003-10-20 Glynn Foster <[email protected]>
gman
parents: 1229
diff changeset
    66
- Remove the games m4 macro patch, since we're
a36034860a42 2003-10-20 Glynn Foster <[email protected]>
gman
parents: 1229
diff changeset
    67
  moving to 2.4
a36034860a42 2003-10-20 Glynn Foster <[email protected]>
gman
parents: 1229
diff changeset
    68
1229
dbdb56312d9d 2003-10-10 Laszlo Peter <[email protected]>
re
parents: 1202
diff changeset
    69
* Fri Oct 10 2003 - [email protected]
dbdb56312d9d 2003-10-10 Laszlo Peter <[email protected]>
re
parents: 1202
diff changeset
    70
- include %_datadir/gnome-common
dbdb56312d9d 2003-10-10 Laszlo Peter <[email protected]>
re
parents: 1202
diff changeset
    71
- use _datadir instead of _prefix/share
dbdb56312d9d 2003-10-10 Laszlo Peter <[email protected]>
re
parents: 1202
diff changeset
    72
1202
340266b58ad0 2003-10-06 Ghee Teo <[email protected]>
gheet
parents: 1195
diff changeset
    73
* Mon Oct 06 2003 - [email protected]
340266b58ad0 2003-10-06 Ghee Teo <[email protected]>
gheet
parents: 1195
diff changeset
    74
- Updated 2.4 tarball for Quicksilver.
340266b58ad0 2003-10-06 Ghee Teo <[email protected]>
gheet
parents: 1195
diff changeset
    75
473
4f9e27ddced9 2003-07-08 Glynn Foster <[email protected]>
gman
parents: 290
diff changeset
    76
* Tue Jul 08 2003 - [email protected]
4f9e27ddced9 2003-07-08 Glynn Foster <[email protected]>
gman
parents: 290
diff changeset
    77
- Add in some gnome-games m4 macros
4f9e27ddced9 2003-07-08 Glynn Foster <[email protected]>
gman
parents: 290
diff changeset
    78
27
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    79
* Thu May 13 2003 - [email protected]
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 27
diff changeset
    80
- Initial Sun Release
27
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    81