X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=gconf-editor.spec;h=d511f9a9b6fb8cc3dcc04d57ed2487517a363a95;hb=refs%2Ftags%2Fauto%2Fth%2Fgconf-editor-2_28_0-1;hp=a6dc7bcbd07dabd1f539c1ccca98a161c06c1367;hpb=515a6423d045a0578d3e2fd315bb3836d4eb7a17;p=packages%2Fgconf-editor.git diff --git a/gconf-editor.spec b/gconf-editor.spec index a6dc7bc..d511f9a 100644 --- a/gconf-editor.spec +++ b/gconf-editor.spec @@ -1,29 +1,54 @@ Summary: An editor for the GConf configuration system -Summary(pl): Edytor do systemu konfiguracji GConf +Summary(pl.UTF-8): Edytor do systemu konfiguracji GConf Name: gconf-editor -Version: 0.5.0 +Version: 2.28.0 Release: 1 -License: GPL +License: GPL v2+ Group: X11/Applications -# Source0-md5: 3a267c5724d086d7d5f47691980faff1 -Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/0.5/%{name}-%{version}.tar.bz2 -BuildRequires: GConf2-devel >= 1.2.1-10 -BuildRequires: gtk+2-devel >= 2.0.1 -BuildRequires: xft-devel >= 2.0-6 +Source0: http://ftp.gnome.org/pub/GNOME/sources/gconf-editor/2.28/%{name}-%{version}.tar.bz2 +# Source0-md5: f3f19df4ce47ca27bf69d355f24ac5ba +BuildRequires: GConf2-devel >= 2.24.0 +BuildRequires: autoconf +BuildRequires: automake >= 1:1.9 +BuildRequires: dbus-glib-devel >= 0.74 +BuildRequires: docbook-dtd412-xml +BuildRequires: gettext-devel +BuildRequires: gnome-common >= 2.20.0 +BuildRequires: gnome-doc-utils >= 0.14.0 +BuildRequires: gtk+2-devel >= 2:2.16.0 +BuildRequires: intltool >= 0.40.0 +BuildRequires: libtool +BuildRequires: pkgconfig +BuildRequires: rpmbuild(find_lang) >= 1.23 +BuildRequires: rpmbuild(macros) >= 1.311 +BuildRequires: scrollkeeper +Requires(post,postun): gtk+2 +Requires(post,postun): hicolor-icon-theme +Requires(post,postun): scrollkeeper +Requires(post,preun): GConf2 +# sr@Latn vs. sr@latin +Conflicts: glibc-misc < 6:2.7 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description An editor for the GConf configuration system. -%description -l pl +%description -l pl.UTF-8 Edytor do systemu konfiguracji GConf. %prep %setup -q %build -%configure - +%{__intltoolize} +%{__gnome_doc_common} +%{__libtoolize} +%{__aclocal} +%{__autoconf} +%{__autoheader} +%{__automake} +%configure \ + --disable-scrollkeeper %{__make} %install @@ -32,13 +57,30 @@ rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -%find_lang %{name} +%find_lang %{name} --with-gnome --with-omf %clean rm -rf $RPM_BUILD_ROOT +%post +%scrollkeeper_update_post +%gconf_schema_install gconf-editor.schemas +%update_icon_cache hicolor + +%preun +%gconf_schema_uninstall gconf-editor.schemas + +%postun +%scrollkeeper_update_postun +%update_icon_cache hicolor + %files -f %{name}.lang %defattr(644,root,root,755) -%attr(755,root,root) %{_bindir}/* -%{_desktopdir}/* -%{_pixmapsdir}/* +%doc AUTHORS ChangeLog NEWS README +%attr(755,root,root) %{_bindir}/gconf-editor +%{_desktopdir}/gconf-editor.desktop +%{_iconsdir}/hicolor/*/*/*.png +%dir %{_datadir}/gconf-editor +%{_datadir}/gconf-editor/icons +%{_mandir}/man1/gconf-editor.1* +%{_sysconfdir}/gconf/schemas/gconf-editor.schemas