]>
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.28.0 | |
5 | Release: 1 | |
6 | License: GPL v2+ | |
7 | Group: X11/Applications | |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gconf-editor/2.28/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: f3f19df4ce47ca27bf69d355f24ac5ba | |
10 | BuildRequires: GConf2-devel >= 2.24.0 | |
11 | BuildRequires: autoconf | |
12 | BuildRequires: automake >= 1:1.9 | |
13 | BuildRequires: dbus-glib-devel >= 0.74 | |
14 | BuildRequires: docbook-dtd412-xml | |
15 | BuildRequires: gettext-devel | |
16 | BuildRequires: gnome-common >= 2.20.0 | |
17 | BuildRequires: gnome-doc-utils >= 0.14.0 | |
18 | BuildRequires: gtk+2-devel >= 2:2.16.0 | |
19 | BuildRequires: intltool >= 0.40.0 | |
20 | BuildRequires: libtool | |
21 | BuildRequires: pkgconfig | |
22 | BuildRequires: rpmbuild(find_lang) >= 1.23 | |
23 | BuildRequires: rpmbuild(macros) >= 1.311 | |
24 | BuildRequires: scrollkeeper | |
25 | Requires(post,postun): gtk+2 | |
26 | Requires(post,postun): hicolor-icon-theme | |
27 | Requires(post,postun): scrollkeeper | |
28 | Requires(post,preun): GConf2 | |
29 | # sr@Latn vs. sr@latin | |
30 | Conflicts: glibc-misc < 6:2.7 | |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
32 | ||
33 | %description | |
34 | An editor for the GConf configuration system. | |
35 | ||
36 | %description -l pl.UTF-8 | |
37 | Edytor do systemu konfiguracji GConf. | |
38 | ||
39 | %prep | |
40 | %setup -q | |
41 | ||
42 | %build | |
43 | %{__intltoolize} | |
44 | %{__gnome_doc_common} | |
45 | %{__libtoolize} | |
46 | %{__aclocal} | |
47 | %{__autoconf} | |
48 | %{__autoheader} | |
49 | %{__automake} | |
50 | %configure \ | |
51 | --disable-scrollkeeper | |
52 | %{__make} | |
53 | ||
54 | %install | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %{__make} install \ | |
58 | DESTDIR=$RPM_BUILD_ROOT | |
59 | ||
60 | %find_lang %{name} --with-gnome --with-omf | |
61 | ||
62 | %clean | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
65 | %post | |
66 | %scrollkeeper_update_post | |
67 | %gconf_schema_install gconf-editor.schemas | |
68 | %update_icon_cache hicolor | |
69 | ||
70 | %preun | |
71 | %gconf_schema_uninstall gconf-editor.schemas | |
72 | ||
73 | %postun | |
74 | %scrollkeeper_update_postun | |
75 | %update_icon_cache hicolor | |
76 | ||
77 | %files -f %{name}.lang | |
78 | %defattr(644,root,root,755) | |
79 | %doc AUTHORS ChangeLog NEWS README | |
80 | %attr(755,root,root) %{_bindir}/gconf-editor | |
81 | %{_desktopdir}/gconf-editor.desktop | |
82 | %{_iconsdir}/hicolor/*/*/*.png | |
83 | %dir %{_datadir}/gconf-editor | |
84 | %{_datadir}/gconf-editor/icons | |
85 | %{_mandir}/man1/gconf-editor.1* | |
86 | %{_sysconfdir}/gconf/schemas/gconf-editor.schemas |