1 Summary: Picture-viewer for the Xfce desktop environment
2 Summary(pl.UTF-8): Przeglądarka obrazów dla środowiska Xfce
7 Group: X11/Applications/Graphics
8 Source0: http://archive.xfce.org/src/apps/ristretto/0.8/%{name}-%{version}.tar.bz2
9 # Source0-md5: 0142c8b9c492cf447e563b00c6204359
10 Patch0: %{name}-desktop.patch
11 Patch1: dbus-glib.patch
12 URL: http://goodies.xfce.org/projects/applications/ristretto/
13 BuildRequires: Thunar-devel >= 1.6.6
14 BuildRequires: autoconf >= 2.50
15 BuildRequires: automake
16 BuildRequires: dbus-glib-devel >= 0.34
17 BuildRequires: gettext-tools
18 BuildRequires: glib2-devel >= 1:2.30.0
19 BuildRequires: gtk+2-devel >= 2:2.24.0
20 BuildRequires: intltool >= 0.31
21 BuildRequires: libexif-devel >= 0.6.0
22 BuildRequires: libxfce4util-devel >= 4.12.0
23 BuildRequires: libxfce4ui-devel >= 4.12.0
24 BuildRequires: pkgconfig
25 BuildRequires: rpmbuild(macros) >= 1.601
26 BuildRequires: xfce4-dev-tools >= 4.12.0
27 Requires(post,postun): desktop-file-utils
28 Requires: gtk-update-icon-cache
29 Requires: hicolor-icon-theme
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 Ristretto is a fast and lightweight picture-viewer for the Xfce
36 %description -l pl.UTF-8
37 Ristretto jest szybką i lekką przeglądarką obrazów dla środowiska
56 rm -rf $RPM_BUILD_ROOT
59 DESTDIR=$RPM_BUILD_ROOT
61 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK
66 rm -rf $RPM_BUILD_ROOT
69 %update_desktop_database_post
70 %update_icon_cache hicolor
73 %update_desktop_database_postun
74 %update_icon_cache hicolor
76 %files -f %{name}.lang
77 %defattr(644,root,root,755)
78 %doc AUTHORS ChangeLog NEWS README
79 %attr(755,root,root) %{_bindir}/%{name}
80 %{_desktopdir}/%{name}.desktop
81 %{_datadir}/appdata/ristretto.appdata.xml
82 %{_iconsdir}/hicolor/*/*/*