gconf-editor.spec
author dermotm
Mon, 11 Aug 2003 08:32:43 +0000
changeset 1025 a32d1ed4f10d
parent 1001 ddcdc50c16ca
child 1033 f47e30a2b5c3
permissions -rw-r--r--
Updated all Release numbers for build 06

Name:         gconf-editor
License:      GPL
Group:        System/GUI/GNOME
Version:      0.4.0
Release:      9
Distribution: Mercury
Vendor:       Sun Microsystems, Inc.
Summary:      Editor/admin tool for GConf
Source:       http://ftp.gnome.org/pub/GNOME/sources/gconf-editor/0.4/%{name}-%{version}.tar.bz2
Source1:      gconf-editor-l10n-po.tar.bz2
Patch1:       gconf-editor-01-glib2-include.diff
Patch2:       gconf-editor-02-menu-entry.diff
URL:          http://www.gnome.org
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
Docdir:       %{_defaultdocdir}/%{name}
Autoreqprov:  on

%define GConf_version 2.2.0

BuildRequires: GConf-devel >= %{GConf_version}
Requires: GConf >= %{GConf_version}

%description
gconf-editor allows you to browse and modify GConf configuration
sources.

%prep
%setup -q
%patch1 -p1
%patch2 -p1

tar jxvf %SOURCE1

%build
libtoolize --force
aclocal -I /usr/share/aclocal/gnome2-macros
automake -a -c -f
autoconf
./configure --prefix=%{_prefix} \
	    --sysconfdir=%{_sysconfdir} \
	    --datadir=%{_datadir}
make 

%install
rm -rf $RPM_BUILD_ROOT

export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 
make DESTDIR=$RPM_BUILD_ROOT install
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%{_bindir}/*
%{_datadir}/pixmaps
%{_datadir}/applications

%changelog
* Fri Aug 01 2003 - <[email protected]>
- add some menu categorization

* Wed Jul 09 2003 - <[email protected]>
- add in sun po files

* Thu May 08 2003 - [email protected]
- Created new spec file for gconf-editor