Home | History | Annotate | Download | only in gnome-2-16
      1 #
      2 # spec file for package gconf-editor
      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: stephen
      9 #
     10 Name:         gconf-editor
     11 License:      GPL
     12 Group:        System/GUI/GNOME
     13 Version:      2.16.0
     14 Release:      1
     15 Distribution: Java Desktop System
     16 Vendor:       Sun Microsystems, Inc.
     17 Summary:      Editor/admin tool for GConf
     18 Source:       http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.16/%{name}-%{version}.tar.bz2
     19 Source1:      gconf-editor.1.gz
     20 Patch1:       gconf-editor-01-menu-entry.diff
     21 URL:          http://www.gnome.org
     22 BuildRoot:    %{_tmppath}/%{name}-%{version}-build
     23 Docdir:       %{_defaultdocdir}/%{name}
     24 Autoreqprov:  on
     25 
     26 %define GConf_version 2.4.0.1
     27 
     28 BuildRequires: GConf-devel >= %{GConf_version}
     29 Requires: GConf >= %{GConf_version}
     30 
     31 %description
     32 gconf-editor allows you to browse and modify GConf configuration
     33 sources.
     34 
     35 %prep
     36 %setup -q
     37 %patch1 -p1
     38 
     39 %build
     40 %ifos linux
     41 if [ -x /usr/bin/getconf ]; then
     42   CPUS=`getconf _NPROCESSORS_ONLN`
     43 fi
     44 %else
     45   CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
     46 %endif
     47 if test "x$CPUS" = "x" -o $CPUS = 0; then
     48   CPUS=1
     49 fi
     50 
     51 libtoolize --force
     52 intltoolize --copy --force --automake
     53 aclocal $ACLOCAL_FLAGS
     54 automake -a -c -f
     55 autoconf
     56 ./configure --prefix=%{_prefix} \
     57 	    --sysconfdir=%{_sysconfdir} \
     58 	    --datadir=%{_datadir} \
     59 	    --mandir=%{_mandir}
     60 make -j $CPUS
     61 
     62 %install
     63 
     64 export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 
     65 make DESTDIR=$RPM_BUILD_ROOT install
     66 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
     67 install -d $RPM_BUILD_ROOT%{_mandir}/man1
     68 install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/man1
     69 #Copy zh_HK from zh_TW
     70 #Fixes bug 4930405
     71 install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES
     72 install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/
     73 
     74 
     75 rm -rf $RPM_BUILD_ROOT/usr/var/scrollkeeper
     76 
     77 %clean
     78 rm -rf $RPM_BUILD_ROOT
     79 
     80 %files
     81 %defattr(-,root,root)
     82 %{_bindir}/*
     83 %{_sysconfdir}/gconf/schemas
     84 %{_datadir}/locale/*/LC_MESSAGES/*.mo
     85 %{_datadir}/pixmaps
     86 %{_datadir}/icons
     87 %{_datadir}/applications
     88 %{_mandir}/man1/*
     89 %{_datadir}/gnome
     90 %{_datadir}/omf/gconf-editor/*.omf
     91 
     92 %changelog
     93 * Tue Sep 05 2006 - damien.carbery@sun.com
     94 - Bump to 2.16.0.
     95 
     96 * Mon Aug 14 2006 - damien.carbery@sun.com
     97 - Bump to 2.15.92.
     98 
     99 * Tue Aug 08 2006 - damien.carbery@sun.com
    100 - Bump to 2.15.91.
    101 
    102 * Fri May 05 2006 - glynn.foster@sun.com
    103 - Remove gconf-editor from the menus.
    104 
    105 * Mon Mar 13 2006 - damien.carbery@sun.com
    106 - Bump to 2.14.0.
    107 
    108 * Tue Jan 31 2006 - damien.carbery@sun.com
    109 - Bump to 2.13.90. Add intltoolize call.
    110 
    111 * Tue Dec 20 2005 - dermot.mccluskey@sun.com
    112 - Bump to 2.12.1
    113 
    114 * Tue Nov 29 2005 - laca.com
    115 - remove javahelp stuff
    116 
    117 * Sat Sep 17 2005 - glynn.foster@sun.com
    118 - Bump to 2.12.0
    119 
    120 * Tue Aug 30 2005 - glynn.foster@sun.com
    121 - Bump to 2.11.92
    122 
    123 * Fri Jul 01 2005 - matt.keenan@sun.com
    124 - Add pkgconfig patch
    125 
    126 * Thu May 19 2005 - glynn.foster@sun.com
    127 - Bump to 2.10.0
    128 
    129 * Thu Jan 27 2005 - damien.carbery@sun.com
    130 - Linux docs tarball required an updated patch which is incompatible with
    131   Solaris docs tarball so patch 04 added for Solaris.
    132 
    133 * Wed Jan 26 2005 - damien.carbery@sun.com
    134 - Update docs with Linux specific tarball from eugene.oconnor@sun.com.
    135 
    136 * Fri Jan 14 2005 - kazuhiko.maekawa@sun.com
    137 - Updated l10n help tarball for cinnabar-linux
    138                                                                                 
    139 * Wed Aug 25 2004 - Kazuhiko.Maekawa@sun.com
    140 * Added l10n online help
    141 
    142 * Thu Aug 19 2004 - glynn.foster@sun.com
    143 - Bump to 2.6.2
    144 
    145 * Wed Aug 18 2004 - damien.carbery@sun.com
    146 - Integrated new docs tarball from eugene.oconnor@sun.com
    147 
    148 * Thu Jul 08 2004 - damien.donlon@sun.com
    149 - Updated l10n content to gconf-editor-l10n-po-1.2.tar.bz2
    150 
    151 * Thu Jul 08 2004 - balamurali.viswanathan@wipro.com
    152 - Add a Help->Contents menu item. Fixes bug #5038096
    153 
    154 * Thu Jul 08 2004 - stephen.browne@sun.com
    155 - ported to rpm4/suse91
    156 
    157 * Wed Jul 07 2004 - dermot.mccluskey@sun.com
    158 - added "-j $CPUS" to make to speed up builds
    159 
    160 * Tue Jun 22 2004 - conor.healy@sun.com
    161 - Added LC_MESSAGES content to %files section
    162 
    163 * Thu Jun 17 2004 - matt.keenan@sun.com
    164 - Add docs tarball
    165 
    166 * Wed May 12 2004 - damien.donlon@sun.com
    167 - Updated l10n content to gconf-editor-l10n-po-1.1.tar.bz2
    168 
    169 * Mon Mar 29 2004 - damien.donlon@sun.com
    170 - Updated l10n content to gconf-editor-l10n-po-1.0.tar.bz2
    171 
    172 * Mon Feb 23 2004 - <stephen.browne@sun.com>
    173 - uprevd to 2.5.4
    174 
    175 * Tue Feb 17 2004 - <niall.power@sun.com>
    176 - use ACLOCAL_FLAGS env during build
    177 
    178 * Wed Dec 17 2003 - <glynn.foster@sun.com>
    179 - Bump to 2.5.1
    180 
    181 * Fri Oct 31 2003 - <glynn.foster@sun.com>
    182 - Remove the menu entry patch for adding Sun
    183   Supported since we're removing the extras menu
    184 
    185 * Mon Oct 20 2003 - <stephen.browne (at] sun.com>
    186 - updated to 2.4.0
    187 
    188 * Mon Aug 11 2003 -<stephen.browne (at] sun.com>
    189 - new version, reset release, remove glib2 include patch
    190 
    191 * Fri Aug 01 2003 - <glynn.foster (at] sun.com>
    192 - add some menu categorization
    193 
    194 * Wed Jul 09 2003 - <michael.twomey (at] sun.com>
    195 - add in sun po files
    196 
    197 * Thu May 08 2003 - ghee.teo (at] Sun.COM
    198 - Created new spec file for gconf-editor
    199