]> git.pld-linux.org Git - packages/gconf-editor.git/blob - gconf-editor.spec
- rel.5, GNOME 2.15.x deps, (re)generate icon cache, remove unsupported
[packages/gconf-editor.git] / gconf-editor.spec
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:        5
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.12.0
16 BuildRequires:  gtk+2-devel >= 2:2.9.3
17 BuildRequires:  libgnomeui-devel >= 2.15.1
18 BuildRequires:  libtool
19 BuildRequires:  pkgconfig
20 BuildRequires:  rpmbuild(macros) >= 1.197
21 BuildRequires:  scrollkeeper
22 Requires(post,preun):   GConf2 >= 2.14.0
23 Requires(post,postun):  gtk+2 >= 2:2.9.3
24 Requires(post,postun):  scrollkeeper
25 Requires:       libgnomeui >= 2.14.0
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 %patch1 -p0
38
39 %build
40 %{__intltoolize}
41 %{__gnome_doc_common}
42 %{__libtoolize}
43 %{__aclocal}
44 %{__autoconf}
45 %{__automake}
46 %configure
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT
54
55 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/{no,ug}
56
57 %find_lang %{name} --with-gnome
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %post
63 %gconf_schema_install gconf-editor.schemas
64 %scrollkeeper_update_post
65 gtk-update-icon-cache -qf %{_datadir}/icons/hicolor
66
67 %preun
68 %gconf_schema_uninstall gconf-editor.schemas
69
70 %postun
71 %scrollkeeper_update_postun
72 gtk-update-icon-cache -qf %{_datadir}/icons/hicolor
73
74 %files -f %{name}.lang
75 %defattr(644,root,root,755)
76 %doc AUTHORS ChangeLog NEWS README
77 %attr(755,root,root) %{_bindir}/*
78 %{_desktopdir}/*
79 %{_iconsdir}/hicolor/*/*/*.png
80 %{_mandir}/man1/*
81 %{_omf_dest_dir}/%{name}
82 %{_pixmapsdir}/*
83 %{_sysconfdir}/gconf/schemas/gconf-editor.schemas
This page took 0.067043 seconds and 4 git commands to generate.