]>
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.14.0 | |
5 | Release: 4 | |
6 | License: GPL v2+ | |
7 | Group: X11/Applications | |
8 | Source0: http://ftp.gnome.org/pub/gnome/sources/gconf-editor/2.14/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: eb8b979464f6e383e5a27b57ee4e8382 | |
10 | Patch0: %{name}-desktop.patch | |
11 | Patch1: %{name}-memcorrup.patch | |
12 | BuildRequires: GConf2-devel >= 2.14.0 | |
13 | BuildRequires: autoconf | |
14 | BuildRequires: automake | |
15 | BuildRequires: gnome-common >= 2.4.0 | |
16 | BuildRequires: gtk+2-devel >= 2:2.8.3 | |
17 | BuildRequires: libgnomeui-devel >= 2.14.0 | |
18 | BuildRequires: libtool | |
19 | BuildRequires: pkgconfig | |
20 | BuildRequires: rpmbuild(macros) >= 1.197 | |
21 | BuildRequires: scrollkeeper | |
22 | Requires(post,preun): GConf2 | |
23 | Requires(post,postun): scrollkeeper | |
24 | Requires: libgnomeui >= 2.14.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 | |
31 | Edytor do systemu konfiguracji GConf. | |
32 | ||
33 | %prep | |
34 | %setup -q | |
35 | %patch0 -p1 | |
36 | %patch1 -p0 | |
37 | ||
38 | %build | |
39 | %{__intltoolize} | |
40 | %{__gnome_doc_common} | |
41 | %{__libtoolize} | |
42 | %{__aclocal} | |
43 | %{__autoconf} | |
44 | %{__automake} | |
45 | %configure | |
46 | %{__make} | |
47 | ||
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %{__make} install \ | |
52 | DESTDIR=$RPM_BUILD_ROOT | |
53 | ||
54 | rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no | |
55 | ||
56 | %find_lang %{name} --with-gnome | |
57 | ||
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %post | |
62 | %gconf_schema_install gconf-editor.schemas | |
63 | %scrollkeeper_update_post | |
64 | ||
65 | %preun | |
66 | %gconf_schema_uninstall gconf-editor.schemas | |
67 | ||
68 | %postun | |
69 | %scrollkeeper_update_postun | |
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}/* | |
76 | %{_iconsdir}/*/*/apps/*.png | |
77 | %{_mandir}/man1/* | |
78 | %{_omf_dest_dir}/%{name} | |
79 | %{_pixmapsdir}/* | |
80 | %{_sysconfdir}/gconf/schemas/gconf-editor.schemas |