Package ristretto: Specfile

Summary: Ristretto is an image-viewer for the Xfce Desktop Environment
Name: ristretto
Version: 0.0.93
Release: alt1
License: %gpl2plus
Url: http://goodies.xfce.org/projects/applications/ristretto/
Source: %name-%version.tar
Patch1: ristretto-0.0.93-alt-fix-inclides.patch
Patch2: ristretto-0.0.93-alt-fix-opening-dirs.patch

Group: Graphical desktop/XFce
Packager: Ilya Mashkin <oddity@altlinux.ru>

BuildRequires(pre): rpm-build-licenses

BuildPreReq: rpm-build-xfce4 xfce4-dev-tools
BuildPreReq: libxfce4ui-devel libxfce4util-devel libThunar-devel libxfconf-devel
BuildRequires: intltool libdbus-glib-devel libexif-devel libcairo-devel gtk-doc

%description
Ristretto is a fast and lightweight image-viewer for the Xfce desktop
environment.

%prep
%setup
%patch1 -p1
%patch2 -p1

%build
%xfce4reconf
%configure \
    --enable-xsltproc \
    --enable-debug=no
%make_build

%install
%makeinstall_std
%find_lang %name

%files -f %name.lang
%doc README TODO ChangeLog NEWS AUTHORS
%_bindir/*
%_desktopdir/*.desktop
%_iconsdir/hicolor/*/apps/*
%_docdir/%name

%changelog
* Thu Mar 17 2011 Mikhail Efremov <sem@altlinux.org> 0.0.93-alt1
- Add patches from upstream:
    + Fix opening of directories from the command-line.
    + Include string.h in thumbnailer.c.
- Drop dsofix.patch (fixed in upstream).
- Updated to 0.0.93.

* Wed Feb 09 2011 Mikhail Efremov <sem@altlinux.org> 0.0.91-alt1
- Fix DSO linking (patch from Fedora).
- Spec updated, tar.gz -> tar.
- Drop watch file.
- Updated to 0.0.91.

* Fri May 08 2009 Ilya Mashkin <oddity@altlinux.ru> 0.0.21-alt2
- fix build, update requires

* Mon Dec 29 2008 Eugene Ostapets <eostapets@altlinux.ru> 0.0.21-alt1
- new version

* Sat May 10 2008 Eugene Ostapets <eostapets@altlinux.ru> 0.0.19-alt1
- new version

* Mon Jan 28 2008 Eugene Ostapets <eostapets@altlinux.ru> 0.0.16-alt1
- new version

* Wed Dec 26 2007 Eugene Ostapets <eostapets@altlinux.ru> 0.0.15-alt1
- first build for Sisyphus