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