X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=gconf-editor.spec;h=85858a7b696d463c16a55214b63574152b7e8593;hb=6e08d72f3aca752a0a4761a93fe9abbe24129249;hp=107ce21333f1f1a8a062d946a2819543e215a08a;hpb=967c5ac3556598211ff482670a7b397c242d7fb8;p=packages%2Fgconf-editor.git diff --git a/gconf-editor.spec b/gconf-editor.spec index 107ce21..85858a7 100644 --- a/gconf-editor.spec +++ b/gconf-editor.spec @@ -1,49 +1,88 @@ -%define name gconf -%define version editor -%define release 1mdk - -Summary: An editor for the GConf configuration system -Name: gconf-editor -Version: 0.1 -Release: 1mdk -Source0: ftp://ftp.gnome.org/pub/GNOME/pre-gnome2/sources/%{name}/%{name}-%{version}.tar.bz2 -License: GPL -Group: Graphical desktop/gNOME -BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot -BuildRequires: libgtk+2.0_0-devel -BuildRequires: libGConf2-devel +Summary: An editor for the GConf configuration system +Summary(pl.UTF-8): Edytor do systemu konfiguracji GConf +Name: gconf-editor +Version: 2.20.0 +Release: 1 +License: GPL v2+ +Group: X11/Applications +Source0: http://ftp.gnome.org/pub/GNOME/sources/gconf-editor/2.20/%{name}-%{version}.tar.bz2 +# Source0-md5: b686677878b5754ffa8d0a2cc1129988 +BuildRequires: GConf2-devel >= 2.18.0.1 +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gnome-common >= 2.20.0 +BuildRequires: gnome-doc-utils >= 0.10.1 +BuildRequires: gtk+2-devel >= 2:2.12.0 +BuildRequires: libgnomeui-devel >= 2.19.1 +BuildRequires: libtool +BuildRequires: pkgconfig +BuildRequires: rpmbuild(macros) >= 1.311 +BuildRequires: scrollkeeper +Requires(post,postun): gtk+2 +Requires(post,postun): hicolor-icon-theme +Requires(post,preun): GConf2 +Requires: libgnomeui >= 2.20.0 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -gconf-edit is an editor for the GConf configuration system +An editor for the GConf configuration system. + +%description -l pl.UTF-8 +Edytor do systemu konfiguracji GConf. %prep %setup -q %build - -%configure2_5x - -%make +mkdir m4 +%{__intltoolize} +%{__gnome_doc_common} +%{__libtoolize} +%{__aclocal} +%{__autoconf} +%{__automake} +%configure \ + --disable-scrollkeeper +%{__make} %install rm -rf $RPM_BUILD_ROOT -%makeinstall_std +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT -%find_lang %{name} +%find_lang %{name} --with-gnome %clean rm -rf $RPM_BUILD_ROOT -%files -f %{name}.lang -%defattr(-,root,root) -%{_bindir}/* -%{_datadir}/applications/* -%{_datadir}/pixmaps/* +%post +%scrollkeeper_update_post +%gconf_schema_install gconf-editor.schemas +%update_icon_cache hicolor -%changelog -* Tue Apr 30 2002 Frederic Crozat 0.1-1mdk -- Initial Mandrake package (GNOME 2) +%preun +%gconf_schema_uninstall gconf-editor.schemas +%postun +%scrollkeeper_update_postun +%update_icon_cache hicolor -# end of file +%files -f %{name}.lang +%defattr(644,root,root,755) +%doc AUTHORS ChangeLog NEWS README +%attr(755,root,root) %{_bindir}/* +%{_desktopdir}/*.desktop +%{_iconsdir}/hicolor/*/*/*.png +%{_mandir}/man1/* +%{_pixmapsdir}/* +%dir %{_omf_dest_dir}/%{name} +%{_omf_dest_dir}/gconf-editor/gconf-editor-C.omf +%lang(de) %{_omf_dest_dir}/gconf-editor/gconf-editor-de.omf +%lang(es) %{_omf_dest_dir}/gconf-editor/gconf-editor-es.omf +%lang(fr) %{_omf_dest_dir}/gconf-editor/gconf-editor-fr.omf +%lang(it) %{_omf_dest_dir}/gconf-editor/gconf-editor-it.omf +%lang(oc) %{_omf_dest_dir}/gconf-editor/gconf-editor-oc.omf +%lang(sv) %{_omf_dest_dir}/gconf-editor/gconf-editor-sv.omf +%lang(uk) %{_omf_dest_dir}/gconf-editor/gconf-editor-uk.omf +%{_sysconfdir}/gconf/schemas/gconf-editor.schemas