]> git.pld-linux.org Git - packages/gconf-editor.git/blob - gconf-editor.spec
- 2.14.0
[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:        1
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 BuildRequires:  GConf2-devel >= 2.12.0
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  gnome-common >= 2.4.0
15 BuildRequires:  gtk+2-devel >= 2:2.8.3
16 BuildRequires:  libgnomeui-devel >= 2.12.0
17 BuildRequires:  libtool
18 BuildRequires:  pkgconfig
19 BuildRequires:  rpmbuild(macros) >= 1.197
20 BuildRequires:  scrollkeeper
21 Requires(post,preun):   GConf2
22 Requires(post,postun):  scrollkeeper
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 An editor for the GConf configuration system.
27
28 %description -l pl
29 Edytor do systemu konfiguracji GConf.
30
31 %prep
32 %setup -q
33 %patch0 -p1
34
35 %build
36 %{__intltoolize}
37 %{__gnome_doc_common}
38 %{__libtoolize}
39 %{__aclocal}
40 %{__autoconf}
41 %{__automake}
42 %configure
43 %{__make}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
52
53 %find_lang %{name} --with-gnome
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %post
59 %gconf_schema_install gconf-editor.schemas
60 %scrollkeeper_update_post
61
62 %preun
63 %gconf_schema_uninstall gconf-editor.schemas
64
65 %postun
66 %scrollkeeper_update_postun
67
68 %files -f %{name}.lang
69 %defattr(644,root,root,755)
70 %doc AUTHORS ChangeLog NEWS README
71 %attr(755,root,root) %{_bindir}/*
72 %{_desktopdir}/*
73 %{_iconsdir}/*/*/apps/*.png
74 %{_mandir}/man1/*
75 %{_omf_dest_dir}/%{name}
76 %{_pixmapsdir}/*
77 %{_sysconfdir}/gconf/schemas/gconf-editor.schemas
This page took 0.066384 seconds and 3 git commands to generate.