1%define ver @VERSION@ 2%define rel 1 3%define prefix @prefix@ 4 5Summary: Graphics file browser utility. 6Name: gliv 7Version: %ver 8Release: %rel 9License: GPL 10Group: Applications/Multimedia 11Source: http://guichaz.free.fr/gliv/files/%{name}-%{ver}.tar.bz2 12URL: http://guichaz.free.fr/gliv 13Vendor: Guillaume Chazarain <guichaz@gmail.com> 14Packager: Matteo Catanese <catanese@silsrl.it> 15BuildRoot: /var/tmp/%{name}-%{version}-root 16Requires: gtk2 >= 2.6.0 17Requires: gtkglext >= 0.7.0 18 19%description 20GLiv is an OpenGL image viewer, image loading 21is done via Gdk-pixbuf bundled with GTK+-2.6, 22rendering with OpenGL and the graphical user 23interface uses GTK+ with GtkGLExt. 24GLiv is very fast and smooth at rotating, 25panning and zooming if you have an OpenGL 26accelerated graphics board. 27 28%prep 29%setup -q 30 31%build 32%configure 33make 34 35%install 36rm -rf 37 38%makeinstall 39 40%clean 41rm -rf 42 43%files 44%defattr(-, root, root) 45 46%doc README COPYING NEWS THANKS 47%{prefix}/bin/%{name} 48%{_mandir}/man1/* 49%{_mandir}/*/man1/* 50%{_datadir}/locale/*/*/* 51%{_datadir}/pixmaps/* 52/usr/share/applications/* 53