9397
|
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 |
#
|
16434
|
8 |
%define owner laca
|
9397
|
9 |
#
|
16426
|
10 |
|
|
11 |
%define OSR gnome.org:0
|
|
12 |
|
9397
|
13 |
Name: gnome-common
|
|
14 |
License: GPL
|
|
15 |
Group: System/Libraries
|
|
16 |
BuildArchitectures: noarch
|
15466
|
17 |
Version: 2.26.0
|
9397
|
18 |
Release: 1
|
|
19 |
Distribution: Java Desktop System
|
|
20 |
Vendor: Sun Microsystems, Inc.
|
|
21 |
Summary: Multiply used files used by the GNOME 2.0 platform
|
15466
|
22 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.26/%{name}-%{version}.tar.bz2
|
9397
|
23 |
URL: http://www.gnome.org
|
|
24 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
25 |
Docdir: %{_defaultdocdir}/%{name}
|
|
26 |
Autoreqprov: on
|
|
27 |
|
|
28 |
%description
|
|
29 |
gnome-common includes files used by pretty much every GNOME 2.0 application.
|
|
30 |
|
|
31 |
%prep
|
|
32 |
%setup -q
|
|
33 |
|
|
34 |
%build
|
|
35 |
%ifos linux
|
|
36 |
if [ -x /usr/bin/getconf ]; then
|
|
37 |
CPUS=`getconf _NPROCESSORS_ONLN`
|
|
38 |
fi
|
|
39 |
%else
|
|
40 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
41 |
%endif
|
|
42 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
43 |
CPUS=1
|
|
44 |
fi
|
|
45 |
|
|
46 |
CFLAGS="$RPM_OPT_FLAGS" ./configure $MYARCH_FLAGS \
|
|
47 |
--prefix=%{_prefix} \
|
|
48 |
--sysconfdir=%{_sysconfdir}
|
|
49 |
make -j $CPUS
|
|
50 |
|
|
51 |
%install
|
|
52 |
make prefix=$RPM_BUILD_ROOT%{_prefix} sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} install
|
|
53 |
|
|
54 |
%clean
|
|
55 |
rm -rf $RPM_BUILD_ROOT
|
|
56 |
|
|
57 |
%files
|
|
58 |
%defattr (-, root, root)
|
|
59 |
%{_bindir}/*
|
|
60 |
%{_datadir}/gnome-common
|
|
61 |
%{_datadir}/aclocal
|
|
62 |
|
|
63 |
%changelog
|
15466
|
64 |
* Mon Mar 23 2009 - [email protected]
|
|
65 |
- Bump to 2.26.0
|
13799
|
66 |
* Sat Sep 27 2007 - [email protected]
|
|
67 |
- Bump to 2.24.0.
|
|
68 |
|
10514
|
69 |
* Tue Sep 18 2007 - [email protected]
|
|
70 |
- Bump to 2.20.0.
|
|
71 |
|
9731
|
72 |
* Thu Apr 12 2007 - [email protected]
|
|
73 |
- Bump to 2.18.0.
|
|
74 |
|
9397
|
75 |
* Mon Sep 26 2005 - [email protected]
|
|
76 |
- Bump to 2.12.0
|
|
77 |
|
|
78 |
* Tue Sep 06 2005 - [email protected]
|
|
79 |
- Add patch 1 from gnome-common CVS head to fix problem with grep
|
|
80 |
not working the same way on Solaris as it does on Linux.
|
|
81 |
|
|
82 |
* Tue Aug 16 2005 - [email protected]
|
|
83 |
- Bump to 2.11.0.
|
|
84 |
|
|
85 |
* Fri May 06 2005 - [email protected]
|
|
86 |
- Bump to 2.8.0
|
|
87 |
|
|
88 |
* Thu Jan 27 2005 - [email protected]
|
|
89 |
- added patch 2 to fix autogen.sh so it works with Solaris find.
|
|
90 |
|
|
91 |
* Wed Jan 04 2005 - [email protected]
|
|
92 |
- added patch 1 to fix bug #6206322
|
|
93 |
|
|
94 |
* Wed Jul 07 2004 - [email protected]
|
|
95 |
- added "-j $CPUS" to make to speed up builds
|
|
96 |
|
|
97 |
* Wed Feb 18 2004 - [email protected]
|
|
98 |
- Distro to Cinnabar
|
|
99 |
|
|
100 |
* Tue Oct 21 2003 - [email protected]
|
|
101 |
- Remove the games m4 macro patch, since we're
|
|
102 |
moving to 2.4
|
|
103 |
|
|
104 |
* Fri Oct 10 2003 - [email protected]
|
|
105 |
- include %_datadir/gnome-common
|
|
106 |
- use _datadir instead of _prefix/share
|
|
107 |
|
|
108 |
* Mon Oct 06 2003 - [email protected]
|
|
109 |
- Updated 2.4 tarball for Quicksilver.
|
|
110 |
|
|
111 |
* Tue Jul 08 2003 - [email protected]
|
|
112 |
- Add in some gnome-games m4 macros
|
|
113 |
|
|
114 |
* Thu May 13 2003 - [email protected]
|
|
115 |
- Initial Sun Release
|
|
116 |
|