X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=gconf-editor.spec;h=64e7e7fb319ed16799ccfcece87de0c08e0565e4;hb=9ef0bf854e7d4219db7ee50381a294ac06553aa2;hp=539efd85798a2c2c6988853af1c7115e3e091eae;hpb=4cb1f7fa1577571ff95911ba82db4e68878e46df;p=packages%2Fgconf-editor.git diff --git a/gconf-editor.spec b/gconf-editor.spec index 539efd8..64e7e7f 100644 --- a/gconf-editor.spec +++ b/gconf-editor.spec @@ -1,41 +1,56 @@ 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: 2.8.2 +Version: 3.0.1 Release: 1 -License: GPL +License: GPL v2+ Group: X11/Applications -Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/2.8/%{name}-%{version}.tar.bz2 -# Source0-md5: 193d5970b570366fd435b2b7ebdd8047 -Patch0: %{name}-desktop.patch -BuildRequires: GConf2-devel >= 2.8.1 +Source0: http://ftp.gnome.org/pub/GNOME/sources/gconf-editor/3.0/%{name}-%{version}.tar.xz +# Source0-md5: 535eb5986d83c17a91891da26f6b78f3 +BuildRequires: GConf2-devel >= 2.24.0 BuildRequires: autoconf -BuildRequires: automake -BuildRequires: gnome-common >= 2.4.0 -BuildRequires: gtk+2-devel >= 2:2.4.4 -BuildRequires: libgnomeui-devel >= 2.8.0 +BuildRequires: automake >= 1:1.9 +BuildRequires: docbook-dtd412-xml +BuildRequires: gettext-devel +BuildRequires: gnome-common >= 2.20.0 +BuildRequires: gnome-doc-utils >= 0.14.0 +BuildRequires: gtk+3-devel >= 3.0.0 +BuildRequires: intltool >= 0.40.0 BuildRequires: libtool -Requires(post): GConf2 -Requires(post): scrollkeeper +BuildRequires: pkgconfig +BuildRequires: rpmbuild(find_lang) >= 1.23 +BuildRequires: rpmbuild(macros) >= 1.311 +BuildRequires: scrollkeeper +BuildRequires: tar >= 1:1.22 +BuildRequires: xz +Requires(post,postun): gtk-update-icon-cache +Requires(post,postun): scrollkeeper +Requires(post,preun): GConf2 +Requires: hicolor-icon-theme +# 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 -%patch0 -p1 %build -gnome-doc-common +%{__intltoolize} +%{__gnome_doc_common} %{__libtoolize} %{__aclocal} %{__autoconf} +%{__autoheader} %{__automake} -%configure +%configure \ + --disable-silent-rules \ + --disable-scrollkeeper %{__make} %install @@ -44,24 +59,30 @@ rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no - -%find_lang %{name} --with-gnome +%find_lang %{name} --with-gnome --with-omf %clean rm -rf $RPM_BUILD_ROOT %post -/usr/bin/scrollkeeper-update -%gconf_schema_install +%scrollkeeper_update_post +%gconf_schema_install gconf-editor.schemas +%update_icon_cache hicolor + +%preun +%gconf_schema_uninstall gconf-editor.schemas -%postun -p /usr/bin/scrollkeeper-update +%postun +%scrollkeeper_update_postun +%update_icon_cache hicolor %files -f %{name}.lang %defattr(644,root,root,755) -%attr(755,root,root) %{_bindir}/* -%{_sysconfdir}/gconf/schemas/*.schemas -%{_desktopdir}/* -%{_pixmapsdir}/* -%{_mandir}/man1/* -%{_omf_dest_dir}/%{name} +%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