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