gnome-common.spec
author dcarbery
Mon, 23 Oct 2006 12:46:17 +0000
branchgnome-2-14
changeset 19195 352a4716f1f3
parent 6016 b54189f766bc
child 8530 ef62fbe8c956
permissions -rw-r--r--
2006-10-23 Damien Carbery <[email protected]> * docs/ssa/*: Remove these, as they're now up on the JDS project pages under 'Tasks/Single Sys Admin'.

#
# spec file for package gnome-common
#
# Copyright (c) 2005 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
Name:			gnome-common
License:		GPL
Group:			System/Libraries
BuildArchitectures:	noarch
Version:		2.12.0
Release:		1
Distribution:		Java Desktop System
Vendor:			Sun Microsystems, Inc.
Summary:		Multiply used files used by the GNOME 2.0 platform
Source:			http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.12/%{name}-%{version}.tar.bz2
URL:			http://www.gnome.org
BuildRoot:		%{_tmppath}/%{name}-%{version}-build
Docdir:			%{_defaultdocdir}/%{name}
Autoreqprov:		on

%description
gnome-common includes files used by pretty much every GNOME 2.0 application.

%prep
%setup -q

%build
%ifos linux
if [ -x /usr/bin/getconf ]; then
  CPUS=`getconf _NPROCESSORS_ONLN`
fi
%else
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
%endif
if test "x$CPUS" = "x" -o $CPUS = 0; then
  CPUS=1
fi

CFLAGS="$RPM_OPT_FLAGS" ./configure $MYARCH_FLAGS \
        --prefix=%{_prefix} \
        --sysconfdir=%{_sysconfdir}
make -j $CPUS

%install
make prefix=$RPM_BUILD_ROOT%{_prefix} sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} install

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr (-, root, root)
%{_bindir}/*
%{_datadir}/gnome-common
%{_datadir}/aclocal

%changelog
* Mon Sep 26 2005 - [email protected]
- Bump to 2.12.0

* Tue Sep 06 2005 - [email protected]
- Add patch 1 from gnome-common CVS head to fix problem with grep
  not working the same way on Solaris as it does on Linux.

* Tue Aug 16 2005 - [email protected]
- Bump to 2.11.0.

* Fri May 06 2005 - [email protected]
- Bump to 2.8.0

* Thu Jan 27 2005 - [email protected]
- added patch 2 to fix autogen.sh so it works with Solaris find.

* Wed Jan 04 2005 - [email protected]
- added patch 1 to fix bug #6206322

* Wed Jul 07 2004 - [email protected]
- added "-j $CPUS" to make to speed up builds

* Wed Feb 18 2004 - [email protected]
- Distro to Cinnabar

* Tue Oct 21 2003 - [email protected]
- Remove the games m4 macro patch, since we're
  moving to 2.4

* Fri Oct 10 2003 - [email protected]
- include %_datadir/gnome-common
- use _datadir instead of _prefix/share

* Mon Oct 06 2003 - [email protected]
- Updated 2.4 tarball for Quicksilver.

* Tue Jul 08 2003 - [email protected]
- Add in some gnome-games m4 macros

* Thu May 13 2003 - [email protected]
- Initial Sun Release