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 Patch1: %{name}-memcorrup.patch
12 BuildRequires: GConf2-devel >= 2.14.0
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: gnome-common >= 2.4.0
16 BuildRequires: gtk+2-devel >= 2:2.8.3
17 BuildRequires: libgnomeui-devel >= 2.14.0
18 BuildRequires: libtool
19 BuildRequires: pkgconfig
20 BuildRequires: rpmbuild(macros) >= 1.197
21 BuildRequires: scrollkeeper
22 Requires(post,preun): GConf2
23 Requires(post,postun): scrollkeeper
24 Requires: libgnomeui >= 2.14.0
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 An editor for the GConf configuration system.
31 Edytor do systemu konfiguracji GConf.
49 rm -rf $RPM_BUILD_ROOT
52 DESTDIR=$RPM_BUILD_ROOT
54 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
56 %find_lang %{name} --with-gnome
59 rm -rf $RPM_BUILD_ROOT
62 %gconf_schema_install gconf-editor.schemas
63 %scrollkeeper_update_post
66 %gconf_schema_uninstall gconf-editor.schemas
69 %scrollkeeper_update_postun
71 %files -f %{name}.lang
72 %defattr(644,root,root,755)
73 %doc AUTHORS ChangeLog NEWS README
74 %attr(755,root,root) %{_bindir}/*
76 %{_iconsdir}/*/*/apps/*.png
78 %{_omf_dest_dir}/%{name}
80 %{_sysconfdir}/gconf/schemas/gconf-editor.schemas