- updated to 2.30.0
[packages/gconf-editor.git] / gconf-editor.spec
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:        2.30.0
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gconf-editor/2.30/%{name}-%{version}.tar.bz2
9 # Source0-md5:  2a941e3c64843be69190f38891470580
10 BuildRequires:  GConf2-devel >= 2.24.0
11 BuildRequires:  autoconf
12 BuildRequires:  automake >= 1:1.9
13 BuildRequires:  dbus-glib-devel >= 0.74
14 BuildRequires:  docbook-dtd412-xml
15 BuildRequires:  gettext-devel
16 BuildRequires:  gnome-common >= 2.20.0
17 BuildRequires:  gnome-doc-utils >= 0.14.0
18 BuildRequires:  gtk+2-devel >= 2:2.16.0
19 BuildRequires:  intltool >= 0.40.0
20 BuildRequires:  libtool
21 BuildRequires:  pkgconfig
22 BuildRequires:  rpmbuild(find_lang) >= 1.23
23 BuildRequires:  rpmbuild(macros) >= 1.311
24 BuildRequires:  scrollkeeper
25 BuildRequires:  sed >= 4.0
26 Requires(post,postun):  gtk+2
27 Requires(post,postun):  hicolor-icon-theme
28 Requires(post,postun):  scrollkeeper
29 Requires(post,preun):   GConf2
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 sed -i -e 's/^en@shaw//' po/LINGUAS
44 rm -f po/en@shaw.po
45
46 %build
47 %{__intltoolize}
48 %{__gnome_doc_common}
49 %{__libtoolize}
50 %{__aclocal}
51 %{__autoconf}
52 %{__autoheader}
53 %{__automake}
54 %configure \
55         --disable-scrollkeeper
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT
63
64 %find_lang %{name} --with-gnome --with-omf
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %post
70 %scrollkeeper_update_post
71 %gconf_schema_install gconf-editor.schemas
72 %update_icon_cache hicolor
73
74 %preun
75 %gconf_schema_uninstall gconf-editor.schemas
76
77 %postun
78 %scrollkeeper_update_postun
79 %update_icon_cache hicolor
80
81 %files -f %{name}.lang
82 %defattr(644,root,root,755)
83 %doc AUTHORS ChangeLog NEWS README
84 %attr(755,root,root) %{_bindir}/gconf-editor
85 %{_desktopdir}/gconf-editor.desktop
86 %{_iconsdir}/hicolor/*/*/*.png
87 %dir %{_datadir}/gconf-editor
88 %{_datadir}/gconf-editor/icons
89 %{_mandir}/man1/gconf-editor.1*
90 %{_sysconfdir}/gconf/schemas/gconf-editor.schemas
This page took 0.056751 seconds and 3 git commands to generate.