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