Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37403687
en ru br
ALT Linux repos
S:1.9.7-alt5.e7b0afc
5.0: 1.9.6-alt2
4.0: 1.9.6-alt1
3.0: 1.9.3-alt1

Group :: Graphics
RPM: gliv

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define ver      1.9.6
%define rel      alt1

Summary: Graphics file browser utility
Name: gliv
Version: %ver
Release: %rel
License: GPL
Group: Graphics
Url: http://guichaz.free.fr/gliv
Source: %url/%name-%ver.tar.bz2
Source1: %name-1.9.5-ru.po
Patch: %name-1.9.5-alt-config.patch

Requires: libgtk+2 >= 2.6
Requires: libgtkglext >= 0.7.0

# Automatically added by buildreq on Fri Apr 22 2005

BuildRequires: fontconfig freetype2 glib2-devel libatk-devel libgtk+2-devel libgtkglext-devel libpango-devel pkgconfig xorg-x11-devel

%description
GLiv is an OpenGL image viewer, image loading is done via Gdk-pixbuf bundled
with GTK+-2.4, rendering  with OpenGL and the graphical user interface uses
GTK+ with GtkGLExt.  GLiv  is  very  fast  and smooth at rotating, panning  and
zooming  if  you have an OpenGL accelerated graphics board.

%prep
%setup -q
%patch -p1
%__install -pm644 %SOURCE1 po/ru.po
%__rm -f po/ru.gmo

%build
libtoolize --copy --force
aclocal
autoheader
autoconf
automake
%configure
%make_build

%install
%makeinstall

%__install -d %buildroot%_datadir/pixmaps
%__install -d %buildroot%_datadir/applications
%__install -m 644 %name.png %buildroot%_datadir/pixmaps/%name.png
%__install -m 644 %name.svg %buildroot%_datadir/pixmaps/%name.svg
%__install -m 644 %name.desktop %buildroot%_datadir/applications/%name.desktop

%find_lang --with-man --output=%name.lang %name

%post
%update_menus

%postun
%clean_menus

%files -f %name.lang
%doc README COPYING NEWS THANKS
%_bindir/%name
%_datadir/pixmaps/*
%_datadir/applications/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin