]> git.pld-linux.org Git - packages/gconf-editor.git/blob - gconf-editor.spec
- updated to 2.22.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.22.0
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gconf-editor/2.22/%{name}-%{version}.tar.bz2
9 # Source0-md5:  7ca99aec214dd855b5de7dacc8937055
10 BuildRequires:  GConf2-devel >= 2.22.0
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  gettext-devel
14 BuildRequires:  gnome-common >= 2.20.0
15 BuildRequires:  gnome-doc-utils >= 0.12.0
16 BuildRequires:  gtk+2-devel >= 2:2.12.8
17 BuildRequires:  intltool >= 0.36.2
18 BuildRequires:  libgnomeui-devel >= 2.22.01
19 BuildRequires:  libtool
20 BuildRequires:  pkgconfig
21 BuildRequires:  rpmbuild(find_lang) >= 1.23
22 BuildRequires:  rpmbuild(macros) >= 1.311
23 BuildRequires:  scrollkeeper
24 BuildRequires:  sed >= 4.0
25 Requires(post,postun):  gtk+2
26 Requires(post,postun):  hicolor-icon-theme
27 Requires(post,postun):  scrollkeeper
28 Requires(post,preun):   GConf2
29 Requires:       libgnomeui >= 2.22.01
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#sr@Latn#sr@latin#' po/LINGUAS
44 mv po/sr@{Latn,latin}.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 %{_mandir}/man1/gconf-editor.1*
88 %{_pixmapsdir}/gconf-editor
89 %{_sysconfdir}/gconf/schemas/gconf-editor.schemas
This page took 0.037092 seconds and 4 git commands to generate.