-%define name gconf
-%define version editor
-%define release 1mdk
-
-Summary: An editor for the GConf configuration system
-Name: gconf-editor
-Version: 0.1
-Release: 1mdk
-Source0: ftp://ftp.gnome.org/pub/GNOME/pre-gnome2/sources/%{name}/%{name}-%{version}.tar.bz2
-License: GPL
-Group: Graphical desktop/gNOME
-BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
-BuildRequires: libgtk+2.0_0-devel
-BuildRequires: libGConf2-devel
+Summary: An editor for the GConf configuration system
+Summary(pl): Edytor do systemu konfiguracji GConf
+Name: gconf-editor
+Version: 0.5.0
+Release: 2
+License: GPL
+Group: X11/Applications
+# Source0-md5: 3a267c5724d086d7d5f47691980faff1
+Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/0.5/%{name}-%{version}.tar.bz2
+BuildRequires: GConf2-devel >= 1.2.1-10
+BuildRequires: gtk+2-devel >= 2.0.1
+BuildRequires: xft-devel >= 2.0-6
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-gconf-edit is an editor for the GConf configuration system
+An editor for the GConf configuration system.
+
+%description -l pl
+Edytor do systemu konfiguracji GConf.
%prep
%setup -q
%build
+%configure
-%configure2_5x
-
-%make
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-%makeinstall_std
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
%find_lang %{name}
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
-%defattr(-,root,root)
-%{_bindir}/*
-%{_datadir}/applications/*
-%{_datadir}/pixmaps/*
-
-%changelog
-* Tue Apr 30 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.1-1mdk
-- Initial Mandrake package (GNOME 2)
-
-
-# end of file
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+%{_desktopdir}/*
+%{_pixmapsdir}/*