]> git.pld-linux.org Git - packages/gconf-editor.git/blob - gconf-editor.spec
- new style macros
[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.10.0
5 Release:        3
6 License:        GPL v2
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/gnome/sources/gconf-editor/2.10/%{name}-%{version}.tar.bz2
9 # Source0-md5:  651a18f7eb5af91761521aa4f04ccc07
10 Patch0:         %{name}-desktop.patch
11 BuildRequires:  GConf2-devel >= 2.10.0
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  gnome-common >= 2.4.0
15 BuildRequires:  gtk+2-devel >= 2:2.6.4
16 BuildRequires:  libgnomeui-devel >= 2.10.0-2
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 gnome-doc-common
37 %{__libtoolize}
38 %{__aclocal}
39 %{__autoconf}
40 %{__automake}
41 %configure
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} install \
48         DESTDIR=$RPM_BUILD_ROOT
49
50 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
51
52 %find_lang %{name} --with-gnome
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %post
58 %gconf_schema_install gconf-editor.schemas
59 %scrollkeeper_update_post
60
61 %preun
62 %gconf_schema_uninstall gconf-editor.schemas
63
64 %postun
65 %scrollkeeper_update_postun
66
67 %files -f %{name}.lang
68 %defattr(644,root,root,755)
69 %doc AUTHORS ChangeLog NEWS README
70 %attr(755,root,root) %{_bindir}/*
71 %{_sysconfdir}/gconf/schemas/*.schemas
72 %{_desktopdir}/*
73 %{_pixmapsdir}/*
74 %{_mandir}/man1/*
75 %{_omf_dest_dir}/%{name}
76 %{_iconsdir}/*/*/apps/*.png
This page took 0.038567 seconds and 4 git commands to generate.