X-Git-Url: http://git.pld-linux.org/?p=packages%2Fgconf-editor.git;a=blobdiff_plain;f=gconf-editor.spec;h=624374b2ef235a8a3cc4fca24f56f044a92eda11;hp=a1a854fc03f92bb6782b130d92608d9661aa6835;hb=515ca30988c8c32e896b3aeefe6bf718f3c41eed;hpb=695a6daf139dbded888b101c0ac9198b87fcccf8 diff --git a/gconf-editor.spec b/gconf-editor.spec index a1a854f..624374b 100644 --- a/gconf-editor.spec +++ b/gconf-editor.spec @@ -1,16 +1,25 @@ 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. @@ -20,10 +29,15 @@ Edytor do systemu konfiguracji GConf. %prep %setup -q +%patch0 -p1 %build +gnome-doc-common +%{__libtoolize} +%{__aclocal} +%{__autoconf} +%{__automake} %configure - %{__make} %install @@ -32,13 +46,26 @@ rm -rf $RPM_BUILD_ROOT %{__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