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