Group :: Gráficos
RPM: gliv
Main Changelog Spec Patches Sources Download Gear Bugs e 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
…
Todas as alterações você pod ver aqui
%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
…
Todas as alterações você pod ver aqui