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