1 Summary: An editor for the GConf configuration system
2 Summary(pl): Edytor do systemu konfiguracji GConf
7 Group: X11/Applications
8 Source0: http://ftp.gnome.org/pub/gnome/sources/gconf-editor/2.14/%{name}-%{version}.tar.bz2
9 # Source0-md5: eb8b979464f6e383e5a27b57ee4e8382
10 Patch0: %{name}-desktop.patch
11 BuildRequires: GConf2-devel >= 2.12.0
12 BuildRequires: autoconf
13 BuildRequires: automake
14 BuildRequires: gnome-common >= 2.4.0
15 BuildRequires: gtk+2-devel >= 2:2.8.3
16 BuildRequires: libgnomeui-devel >= 2.12.0
17 BuildRequires: libtool
18 BuildRequires: pkgconfig
19 BuildRequires: rpmbuild(macros) >= 1.197
20 BuildRequires: scrollkeeper
21 Requires(post,preun): GConf2
22 Requires(post,postun): scrollkeeper
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 An editor for the GConf configuration system.
29 Edytor do systemu konfiguracji GConf.
46 rm -rf $RPM_BUILD_ROOT
49 DESTDIR=$RPM_BUILD_ROOT
51 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
53 %find_lang %{name} --with-gnome
56 rm -rf $RPM_BUILD_ROOT
59 %gconf_schema_install gconf-editor.schemas
60 %scrollkeeper_update_post
63 %gconf_schema_uninstall gconf-editor.schemas
66 %scrollkeeper_update_postun
68 %files -f %{name}.lang
69 %defattr(644,root,root,755)
70 %doc AUTHORS ChangeLog NEWS README
71 %attr(755,root,root) %{_bindir}/*
73 %{_iconsdir}/*/*/apps/*.png
75 %{_omf_dest_dir}/%{name}
77 %{_sysconfdir}/gconf/schemas/gconf-editor.schemas