Summary: An editor for the GConf configuration system
Summary(pl): Edytor do systemu konfiguracji GConf
Name: gconf-editor
-Version: 0.5.0
+Version: 2.10.0
Release: 1
-License: GPL
+License: GPL v2
Group: X11/Applications
-# Source0-md5: 3a267c5724d086d7d5f47691980faff1
-Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/0.5/%{name}-%{version}.tar.bz2
+Source0: http://ftp.gnome.org/pub/gnome/sources/gconf-editor/2.10/%{name}-%{version}.tar.bz2
+# Source0-md5: 651a18f7eb5af91761521aa4f04ccc07
+Patch0: %{name}-desktop.patch
+BuildRequires: GConf2-devel >= 2.10.0
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: gnome-common >= 2.4.0
+BuildRequires: gtk+2-devel >= 2:2.6.4
+BuildRequires: libgnomeui-devel >= 2.10.0
+BuildRequires: libtool
+BuildRequires: pkgconfig
+BuildRequires: scrollkeeper
+Requires(post): GConf2
+Requires(post): scrollkeeper
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-BuildRequires: gtk+2-devel >= 2.0.1
-BuildRequires: GConf2-devel >= 1.2.1-10
-BuildRequires: Xft-devel >= 2.0-6
%description
An editor for the GConf configuration system.
%prep
%setup -q
+%patch0 -p1
%build
+gnome-doc-common
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
%configure
-
%{__make}
%install
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-%find_lang %{name}
+rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
+
+%find_lang %{name} --with-gnome
%clean
rm -rf $RPM_BUILD_ROOT
+%post
+/usr/bin/scrollkeeper-update
+%gconf_schema_install
+
+%postun -p /usr/bin/scrollkeeper-update
+
%files -f %{name}.lang
%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
%attr(755,root,root) %{_bindir}/*
-%{_datadir}/applications/*
+%{_sysconfdir}/gconf/schemas/*.schemas
+%{_desktopdir}/*
%{_pixmapsdir}/*
+%{_mandir}/man1/*
+%{_omf_dest_dir}/%{name}
+%{_iconsdir}/*/*/apps/*.png