Summary: Picture-viewer for the Xfce desktop environment
Summary(pl.UTF-8): Przeglądarka obrazów dla środowiska Xfce
Name: ristretto
-Version: 0.0.18
+Version: 0.0.93
Release: 1
License: GPL v2
Group: X11/Applications/Graphics
-Source0: http://goodies.xfce.org/releases/ristretto/%{name}-%{version}.tar.gz
-# Source0-md5: 8214155cfa56cb2947e599a998bd285c
+Source0: http://archive.xfce.org/src/apps/ristretto/0.0/%{name}-%{version}.tar.bz2
+# Source0-md5: 74dcdf0fcbf7039852b817732a91fb6c
+Patch0: %{name}-desktop.patch
URL: http://goodies.xfce.org/projects/applications/ristretto/
-BuildRequires: Thunar-devel >= 0.4.0
+BuildRequires: Thunar-devel >= 1.2.0
BuildRequires: autoconf >= 2.50
BuildRequires: automake
BuildRequires: dbus-glib-devel >= 0.34
BuildRequires: gtk+2-devel >= 2:2.10.0
BuildRequires: intltool >= 0.31
BuildRequires: libexif-devel >= 0.6.0
-BuildRequires: libxfce4util-devel >= 4.4.0
-BuildRequires: libxfcegui4-devel >= 4.4.0
+BuildRequires: libxfce4util-devel >= 4.8.0
+BuildRequires: libxfce4ui-devel >= 4.8.0
BuildRequires: pkgconfig
-BuildRequires: rpmbuild(macros) >= 1.311
-BuildRequires: xfce4-dev-tools >= 4.4.0
+BuildRequires: rpmbuild(macros) >= 1.601
+BuildRequires: xfce4-dev-tools >= 4.8.0
Requires(post,postun): desktop-file-utils
-Requires(post,postun): gtk+2
-Requires(post,postun): hicolor-icon-theme
+Requires: gtk-update-icon-cache
+Requires: hicolor-icon-theme
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%prep
%setup -q
+%patch0 -p1
%build
%{__intltoolize}
%{__autoconf}
%{__autoheader}
%{__automake}
-%configure \
- --disable-static
+%configure
+
%{__make}
%install
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{nb_NO,nb}
-mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{pt_PT,pt}
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK
%find_lang %{name}
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README
%attr(755,root,root) %{_bindir}/%{name}
+%dir %{_docdir}/ristretto
+%dir %{_docdir}/ristretto/html
+%{_docdir}/ristretto/html/C
%{_desktopdir}/%{name}.desktop
%{_iconsdir}/hicolor/*/*/*