1 Summary: Picture viewer for X, with thumbnail-based file selector
2 Summary(pl.UTF-8): Przeglądarka plików graficznych pod X Window System z obsługą miniatur
7 Group: X11/Applications/Graphics
8 Source0: http://downloads.sourceforge.net/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz
9 # Source0-md5: 87d14e59268ace5ba83005a6e20e2be7
10 Source1: %{name}.desktop
13 Patch1: %{name}-exif_orient.patch
14 URL: http://sourceforge.net/projects/xzgv
16 BuildRequires: gtk+2-devel >= 1:2.0
17 BuildRequires: pkgconfig
18 BuildRequires: texinfo
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 xzgv is a picture viewer for X, with a thumbnail-based file selector.
23 It uses GTK+ and Imlib. Most file formats are supported, and the
24 thumbnails used are compatible with xv, zgv, and the Gimp. It can also
25 be used with `xzgv file(s)', to effectively bypass the file selector.
26 For more on how xzgv works and how to use it, do `info xzgv' or `man
27 xzgv' once it's installed.
29 %description -l pl.UTF-8
30 xzgv jest przeglądarką plików graficznych pod X Window System z
31 obsługą miniatur. Używa GTK+ i Imliba. Obsługuje większość formatów, a
32 miniatury są zgodne z xv, zgv oraz Gimpem. Może być także używany jako
33 `xzgv plik(i)' w celu efektywnego pominięcia wbudowanego okna wyboru
34 plików. Więcej informacji jak działa ten program i jak go używać można
35 znaleźć na stronach podręcznika: `info xzgv' oraz `man xzgv'.
36 Oczywiście po instalacji.
48 LDFLAGS="%{rpmldflags}"
55 rm -rf $RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT{%{_bindir},%{_infodir},%{_mandir}/man1} \
57 $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
60 PREFIX=$RPM_BUILD_ROOT%{_prefix} \
61 INFODIR=$RPM_BUILD_ROOT%{_infodir} \
62 MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1
64 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
65 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
68 rm -rf $RPM_BUILD_ROOT
70 %post -p /sbin/postshell
71 -/usr/sbin/fix-info-dir -c %{_infodir}
73 %postun -p /sbin/postshell
74 -/usr/sbin/fix-info-dir -c %{_infodir}
77 %defattr(644,root,root,755)
78 %doc AUTHORS ChangeLog NEWS README TODO
79 %attr(755,root,root) %{_bindir}/xzgv
80 %{_infodir}/xzgv.info*
81 %{_mandir}/man1/xzgv.1*
82 %{_desktopdir}/xzgv.desktop
83 %{_pixmapsdir}/xzgv.png