# Note that this is NOT a relocatable package %define ver 1.4.0.4 %define rel 1 %define prefix %{_prefix} Summary: The GNOME Control Center. Name: control-center Version: %ver Release: %rel Copyright: LGPL Group: User Interface/Desktops Source: ftp://ftp.gnome.org/pub/control-center-%{ver}.tar.bz2 Prefix: %{_prefix} Patch0: control-center-%{ver}-cpluscmt.patch BuildRoot: /var/tmp/control-center-%{PACKAGE_VERSION}-root BuildRequires: libtool >= 1.3.5 Obsoletes: gnome URL: http://www.gnome.org Docdir: %{prefix}/doc %ifarch ia64 %define stdlib lib/ia64l32 %define liblink ../../.. %define DEFCCIA cc %define DEFCC %{DEFCCIA} %else %define stdlib lib %define liblink ../.. %define DEFCC cc %endif %description GNOME (the GNU Network Object Model Environment) is an attractive and easy-to-use GUI desktop environment. The control-center package provides the GNOME Control Center utilities, which allow you to setup and configure your system's GNOME environment (things like the desktop background and theme, the screensaver, the window manager, system sounds, and mouse behavior). If you're installing GNOME, you'll need to install control-center. %package devel Summary: The GNOME Control Center development environment. Group: Development/Libraries Requires: control-center = %{PACKAGE_VERSION} Requires: gnome-libs-devel %description devel The control-center-devel package contains the development environment needed for creating the capplets used in the GNOME Control Center. If you're interested in developing capplets for the GNOME control center, you'll want to install this package. If you use the GNOME desktop, but you're not developing applications, you don't need to install this package. %changelog * Fri Jul 19 2002 Chris Tysor - Update to version 1.4.0.4 * Tue Aug 28 2001 Dan McNichol - Update to version 1.4.0.1 * Fri Mar 09 2001 Marc Stephenson - Add logic for default compiler - Rebuild against new shared objects * Thu Feb 15 2001 aixtoolbox - Account for different standard lib location in IA64 32-bit ABI * Fri Oct 27 2000 pkgmgr - Modify for AIX Freeware distribution * Mon Feb 28 2000 Preston Brown - revert .so strip * Thu Feb 03 2000 Preston Brown - strip .so lib - use configure macro * Mon Sep 20 1999 Jonathan Blandford - changed to work with 1.0.40 * Fri Sep 17 1999 Jonathan Blandford - Added fixrevert bug to fix bug in theme selector. * Sun Jun 13 1999 Jonathan Blandford - updated RPM to use new control-center. * Wed Apr 07 1999 Michael Fulbright - fixed sound-properties to only disable sound when run with --init-settings-.. - removed debugging output from several capplets, fixed try behaviour of sm and - gnome-edit capplets - fixed bug in screensaver and background props - added new icons * Mon Apr 05 1999 Jonathan Blandford - added a patch to fix the close dialog - added a patch to limit the number of bg's in the history. * Fri Apr 02 1999 Jonathan Blandford - vesion 1.0.5 - removed all patches >10 other then dontstartesd. * Thu Apr 01 1999 Michael Fulbright - removed UI props till it works better * Wed Mar 31 1999 Michael Fulbright - make sure we DONT inadvertantly start esd by calling esd_open_... * Tue Mar 30 1999 Michael Fulbright - changed default bg color to '#356390' * Thu Mar 25 1999 Michael Fulbright - prime file selector path for browse in background-props if - "/usr/share/pixmaps/backgrounds/" exists. - fix behavior of file selector when you delete/cancel/ok it * Wed Mar 24 1999 Michael Fulbright - added patch to fix trying in theme selector - disabled crystal screensaver, it does evil things to preview in capplet * Mon Mar 22 1999 Michael Fulbright - version 1.0.4, fixes problems with sndprops and theme props among - other things. * Thu Mar 18 1999 Michael Fulbright - fix sound-properties capplet so Try/Revert doesnt come on unless user - changes something - fixed theme-selector to not leave processes behind on Linux 2.2 kernels - strip binaries * Sun Mar 14 1999 Michael Fulbright - version 1.0.3 - added patch to make esd release after 30 sec of inactivity * Wed Mar 10 1999 Michael Fulbright - version 1.0.2 - turned off sound by default * Thu Mar 04 1999 Michael Fulbright - version 1.0.1 * Mon Feb 15 1999 Michael Fulbright - version 0.99.8.1 - added etc/CORBA/servers/* to file list * Fri Feb 12 1999 Michael Fulbright - update to 0.99.8 - added /usr/lib/cappletConf.sh * Mon Feb 08 1999 The Rasterman - update to 0.99.5.1 * Wed Feb 03 1999 Michael Fulbright - update to 0.99.5 * Mon Jan 20 1999 Michael Fulbright - update to 0.99.3.1 * Mon Jan 18 1999 Michael Fulbright - update to 0.99.3 - seems like patch for non-standard xscreensaver placement was already in - prestine sources(?) * Wed Jan 06 1999 Jonathan Blandford - updated to 0.99.1 - temporary hack patch to get path to work to non-standard placement - of xscreensaver binaries in RH 5.2 * Wed Dec 16 1998 Jonathan Blandford - Created for the new control-center branch %prep %setup -q %patch0 -p1 -b .cpluscmt %build # Use the default compiler for this platform - gcc otherwise if [[ -z "$CC" ]] then if test "X`type %{DEFCC} 2>/dev/null`" != 'X'; then export CC=%{DEFCC} else export CC=gcc fi fi if test "X$CC" != "Xgcc" then export RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed 's:-fsigned-char::'` export CFLAGS="$RPM_OPT_FLAGS" fi libtoolize --force CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-qcpluscmt -Wl,-brtl" ./configure --sysconfdir=/etc --prefix=%{_prefix} make %install rm -rf $RPM_BUILD_ROOT make prefix=$RPM_BUILD_ROOT%{prefix} sysconfdir=$RPM_BUILD_ROOT/etc install # clear out ui props for now #rm -f $RPM_BUILD_ROOT%{prefix}/bin/ui-properties #rm -rf $RPM_BUILD_ROOT%{prefix}/share/control-center/UIOptions #rm -rf $RPM_BUILD_ROOT%{prefix}/share/gnome/apps/Settings/UIOptions # strip binaries /usr/bin/strip $RPM_BUILD_ROOT%{prefix}/bin/* || : ( cd $RPM_BUILD_ROOT for dir in bin include do mkdir -p usr/$dir cd usr/$dir ln -sf ../..%{prefix}/$dir/* . cd - done mkdir -p usr/%{stdlib} cd usr/%{stdlib} ln -sf %{liblink}%{prefix}/lib/* . cd - mkdir -p .%{prefix}/etc/CORBA ln -sf /etc/CORBA/servers .%{prefix}/etc/CORBA ) %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README %{prefix}/bin/* %{prefix}/lib/lib*.so* /usr/bin/* /usr/%{stdlib}/lib*.so* %config /etc/CORBA/servers/* %{prefix}/share/control-center %{prefix}/share/pixmaps/* ###%{prefix}/lib/locale/*/*/* %{prefix}/share/gnome/wm-properties/* %{prefix}/share/gnome/apps/Settings/* %{prefix}/etc/CORBA/servers %files devel %defattr(-, root, root) %{prefix}/lib/*Conf.sh %{prefix}/share/idl %{prefix}/include/* /usr/%{stdlib}/*Conf.sh /usr/include/*