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