181
|
1 |
Name: gnome-common
|
|
2 |
License: GPL
|
|
3 |
Group: System/Libraries
|
|
4 |
BuildArchitectures: noarch
|
1202
|
5 |
Version: 2.4.0
|
4860
|
6 |
Release: 29
|
1792
|
7 |
Distribution: Cinnabar
|
575
|
8 |
Vendor: Sun Microsystems, Inc.
|
181
|
9 |
Summary: Multiply used files used by the GNOME 2.0 platform
|
1202
|
10 |
Source: http://ftp.gnome.org/pub/GNOME/sources/gnome-common/2.4/%{name}-%{version}.tar.bz2
|
4455
|
11 |
Source1: l10n-configure.sh
|
4802
|
12 |
Patch1: gnome-common-01-automake.diff
|
181
|
13 |
URL: http://www.gnome.org
|
|
14 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
15 |
Docdir: %{_defaultdocdir}/%{name}
|
|
16 |
Autoreqprov: on
|
27
|
17 |
|
|
18 |
%description
|
156
|
19 |
gnome-common includes files used by pretty much every GNOME 2.0 application.
|
27
|
20 |
|
|
21 |
%prep
|
|
22 |
%setup -q
|
|
23 |
|
4455
|
24 |
bash -x %SOURCE1
|
4802
|
25 |
%patch1 -p1
|
4455
|
26 |
|
27
|
27 |
%build
|
3263
|
28 |
%ifos linux
|
|
29 |
if [ -x /usr/bin/getconf ]; then
|
|
30 |
CPUS=`getconf _NPROCESSORS_ONLN`
|
|
31 |
fi
|
|
32 |
%else
|
3846
|
33 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
3263
|
34 |
%endif
|
|
35 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
36 |
CPUS=1
|
|
37 |
fi
|
|
38 |
|
475
|
39 |
libtoolize --force
|
1639
|
40 |
aclocal
|
475
|
41 |
automake -a -c -f
|
|
42 |
autoconf
|
|
43 |
|
27
|
44 |
CFLAGS="$RPM_OPT_FLAGS" ./configure $MYARCH_FLAGS \
|
|
45 |
--enable-platform-gnome-2 \
|
|
46 |
--prefix=%{_prefix} \
|
|
47 |
--sysconfdir=%{_sysconfdir}
|
3263
|
48 |
make -j $CPUS
|
27
|
49 |
|
|
50 |
%install
|
|
51 |
make prefix=$RPM_BUILD_ROOT%{_prefix} sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} install
|
|
52 |
|
|
53 |
%clean
|
|
54 |
rm -rf $RPM_BUILD_ROOT
|
|
55 |
|
|
56 |
%files
|
1333
|
57 |
%defattr (-, root, root)
|
1229
|
58 |
%{_bindir}/*
|
|
59 |
%{_datadir}/aclocal/gnome-macros/*
|
|
60 |
%{_datadir}/aclocal/gnome2-macros/*
|
|
61 |
%{_datadir}/gnome-common
|
27
|
62 |
|
|
63 |
%changelog
|
4802
|
64 |
* Wed Jan 04 2005 - [email protected]
|
|
65 |
- added patch 1 to fix bug #6206322
|
|
66 |
|
3263
|
67 |
* Wed Jul 07 2004 - [email protected]
|
|
68 |
- added "-j $CPUS" to make to speed up builds
|
|
69 |
|
1792
|
70 |
* Wed Feb 18 2004 - [email protected]
|
|
71 |
- Distro to Cinnabar
|
|
72 |
|
1314
|
73 |
* Tue Oct 21 2003 - [email protected]
|
|
74 |
- Remove the games m4 macro patch, since we're
|
|
75 |
moving to 2.4
|
|
76 |
|
1229
|
77 |
* Fri Oct 10 2003 - [email protected]
|
|
78 |
- include %_datadir/gnome-common
|
|
79 |
- use _datadir instead of _prefix/share
|
|
80 |
|
1202
|
81 |
* Mon Oct 06 2003 - [email protected]
|
|
82 |
- Updated 2.4 tarball for Quicksilver.
|
|
83 |
|
473
|
84 |
* Tue Jul 08 2003 - [email protected]
|
|
85 |
- Add in some gnome-games m4 macros
|
|
86 |
|
27
|
87 |
* Thu May 13 2003 - [email protected]
|
156
|
88 |
- Initial Sun Release
|
27
|
89 |
|