]>
Commit | Line | Data |
---|---|---|
1ec1e22d | 1 | Summary: An editor for the GConf configuration system |
237859ab | 2 | Summary(pl): Edytor do systemu konfiguracji GConf |
1ec1e22d | 3 | Name: gconf-editor |
a4e3f0f0 | 4 | Version: 2.14.0 |
e674ae5f | 5 | Release: 6 |
3356ea28 | 6 | License: GPL v2+ |
1ec1e22d | 7 | Group: X11/Applications |
a4e3f0f0 | 8 | Source0: http://ftp.gnome.org/pub/gnome/sources/gconf-editor/2.14/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: eb8b979464f6e383e5a27b57ee4e8382 | |
d26002f3 | 10 | Patch0: %{name}-desktop.patch |
3bf70889 JB |
11 | Patch1: %{name}-memcorrup.patch |
12 | BuildRequires: GConf2-devel >= 2.14.0 | |
fcb68908 | 13 | BuildRequires: autoconf |
aa63c311 | 14 | BuildRequires: automake |
773f3bfe | 15 | BuildRequires: gnome-common >= 2.12.0 |
16 | BuildRequires: gtk+2-devel >= 2:2.9.3 | |
17 | BuildRequires: libgnomeui-devel >= 2.15.1 | |
aa63c311 | 18 | BuildRequires: libtool |
a05f2474 | 19 | BuildRequires: pkgconfig |
692c104e | 20 | BuildRequires: rpmbuild(macros) >= 1.197 |
a05f2474 | 21 | BuildRequires: scrollkeeper |
773f3bfe | 22 | Requires(post,preun): GConf2 >= 2.14.0 |
23 | Requires(post,postun): gtk+2 >= 2:2.9.3 | |
692c104e | 24 | Requires(post,postun): scrollkeeper |
3bf70889 | 25 | Requires: libgnomeui >= 2.14.0 |
515a6423 | 26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
1ec1e22d | 27 | |
967c5ac3 | 28 | %description |
83fc3fd4 | 29 | An editor for the GConf configuration system. |
1ec1e22d JB |
30 | |
31 | %description -l pl | |
83fc3fd4 | 32 | Edytor do systemu konfiguracji GConf. |
967c5ac3 | 33 | |
34 | %prep | |
35 | %setup -q | |
d26002f3 | 36 | %patch0 -p1 |
3bf70889 | 37 | %patch1 -p0 |
967c5ac3 | 38 | |
39 | %build | |
a4e3f0f0 | 40 | %{__intltoolize} |
41 | %{__gnome_doc_common} | |
aa63c311 | 42 | %{__libtoolize} |
fcb68908 | 43 | %{__aclocal} |
44 | %{__autoconf} | |
45 | %{__automake} | |
1ec1e22d | 46 | %configure |
1ec1e22d | 47 | %{__make} |
967c5ac3 | 48 | |
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
0e1e3d6b | 52 | %{__make} install \ |
53 | DESTDIR=$RPM_BUILD_ROOT | |
967c5ac3 | 54 | |
773f3bfe | 55 | rm -r $RPM_BUILD_ROOT%{_datadir}/locale/{no,ug} |
ab4724e9 | 56 | |
57 | %find_lang %{name} --with-gnome | |
967c5ac3 | 58 | |
59 | %clean | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
ab4724e9 | 62 | %post |
692c104e | 63 | %gconf_schema_install gconf-editor.schemas |
64 | %scrollkeeper_update_post | |
773f3bfe | 65 | gtk-update-icon-cache -qf %{_datadir}/icons/hicolor |
ab4724e9 | 66 | |
692c104e | 67 | %preun |
68 | %gconf_schema_uninstall gconf-editor.schemas | |
69 | ||
70 | %postun | |
71 | %scrollkeeper_update_postun | |
773f3bfe | 72 | gtk-update-icon-cache -qf %{_datadir}/icons/hicolor |
ab4724e9 | 73 | |
967c5ac3 | 74 | %files -f %{name}.lang |
1ec1e22d | 75 | %defattr(644,root,root,755) |
dd51e9de | 76 | %doc AUTHORS ChangeLog NEWS README |
1ec1e22d | 77 | %attr(755,root,root) %{_bindir}/* |
515a6423 | 78 | %{_desktopdir}/* |
773f3bfe | 79 | %{_iconsdir}/hicolor/*/*/*.png |
aa63c311 | 80 | %{_mandir}/man1/* |
ab4724e9 | 81 | %{_omf_dest_dir}/%{name} |
3356ea28 | 82 | %{_pixmapsdir}/* |
83 | %{_sysconfdir}/gconf/schemas/gconf-editor.schemas |