]>
Commit | Line | Data |
---|---|---|
1 | Summary: An editor for the GConf configuration system | |
2 | Summary(pl): Edytor do systemu konfiguracji GConf | |
3 | Name: gconf-editor | |
4 | Version: 2.16.0 | |
5 | Release: 1 | |
6 | License: GPL v2+ | |
7 | Group: X11/Applications | |
8 | Source0: http://ftp.gnome.org/pub/gnome/sources/gconf-editor/2.16/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: e52b3177ef6ebd1fcf2c84acbe90a663 | |
10 | Patch0: %{name}-desktop.patch | |
11 | BuildRequires: GConf2-devel >= 2.14.0 | |
12 | BuildRequires: autoconf | |
13 | BuildRequires: automake | |
14 | BuildRequires: gnome-common >= 2.12.0 | |
15 | BuildRequires: gnome-doc-utils >= 0.7.2 | |
16 | BuildRequires: gtk+2-devel >= 2:2.10.1 | |
17 | BuildRequires: libgnomeui-devel >= 2.15.91 | |
18 | BuildRequires: libtool | |
19 | BuildRequires: pkgconfig | |
20 | BuildRequires: rpmbuild(macros) >= 1.311 | |
21 | BuildRequires: scrollkeeper | |
22 | Requires(post,preun): GConf2 >= 2.14.0 | |
23 | Requires(post,postun): gtk+2 >= 2:2.10.1 | |
24 | Requires: libgnomeui >= 2.14.0 | |
25 | Requires: hicolor-icon-theme | |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
27 | ||
28 | %description | |
29 | An editor for the GConf configuration system. | |
30 | ||
31 | %description -l pl | |
32 | Edytor do systemu konfiguracji GConf. | |
33 | ||
34 | %prep | |
35 | %setup -q | |
36 | %patch0 -p1 | |
37 | ||
38 | %build | |
39 | %{__intltoolize} | |
40 | %{__gnome_doc_common} | |
41 | %{__libtoolize} | |
42 | %{__aclocal} | |
43 | %{__autoconf} | |
44 | %{__automake} | |
45 | %configure \ | |
46 | --disable-scrollkeeper | |
47 | %{__make} | |
48 | ||
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %{__make} install \ | |
53 | DESTDIR=$RPM_BUILD_ROOT | |
54 | ||
55 | %find_lang %{name} --with-gnome | |
56 | ||
57 | %clean | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %post | |
61 | %scrollkeeper_update_post | |
62 | %gconf_schema_install gconf-editor.schemas | |
63 | %update_icon_cache hicolor | |
64 | ||
65 | %preun | |
66 | %gconf_schema_uninstall gconf-editor.schemas | |
67 | ||
68 | %postun | |
69 | %scrollkeeper_update_postun | |
70 | %update_icon_cache hicolor | |
71 | ||
72 | %files -f %{name}.lang | |
73 | %defattr(644,root,root,755) | |
74 | %doc AUTHORS ChangeLog NEWS README | |
75 | %attr(755,root,root) %{_bindir}/* | |
76 | %{_desktopdir}/*.desktop | |
77 | %{_iconsdir}/hicolor/*/*/*.png | |
78 | %{_mandir}/man1/* | |
79 | %{_pixmapsdir}/* | |
80 | %dir %{_omf_dest_dir}/%{name} | |
81 | %{_omf_dest_dir}/%{name}/*-C.omf | |
82 | %{_sysconfdir}/gconf/schemas/gconf-editor.schemas |