Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37841853
en ru br
ALT Linux repositórios
S:3.1.0-alt7.3.qa1
5.0: 3.1.0-alt6
4.1: 3.1.0-alt6
4.0: 3.1.0-alt6
3.0: 3.1.0-alt4

Group :: Sistema/Bibliotecas
RPM: libgle

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

# vim: set ft=spec: -*- spec -*-
# $Id: libgle,v 1.4 2006/03/19 19:50:02 raorn Exp $

%def_disable static

# Please, RPM, do not remove documentation after installing...

%define _customdocdir %_docdir/%name-%version

%define oname gle

Name: lib%oname
Version: 3.1.0
Release: alt6
Summary: The GLE Tubing and Extrusion Library for OpenGL
License: GPL
Group: System/Libraries
Url: http://www.linas.org/gle/
Packager: Sir Raorn <raorn at altlinux.ru>

Source: %url/pub/%oname-%version.tar.gz

Patch: %name-3.1.0-alt-link.patch

# Automatically added by buildreq on Sat Jan 28 2006 and foltered by raorn

BuildRequires: libICE-devel libSM-devel libX11-devel libXext-devel libXi-devel libXmu-devel libXt-devel libglut-devel libmesa-devel xorg-x11-proto-devel

#BuildRequires: imake libICE-devel libSM-devel libX11-devel libXext-devel libXi-devel libXmu-devel libXt-devel libglut-devel libmesa-devel linux-libc-headers xorg-cf-files xorg-x11-proto-devel


%{?_enable_static:BuildPreReq: glibc-devel-static}

%description
The GLE Tubing and Extrusion Library consists of a number of "C"
language subroutines for drawing tubing and extrusions. It is a very
fast implementation of these shapes, outperforming all other
implementations, most by orders of magnitude. It uses the
OpenGL (TM) programming API to perform the actual drawing of the tubing
and extrusions.

%package devel
Summary: Dedelopment headers for the GLE Tubing and Extrusion Library
Group: Development/C
Requires: %name = %version-%release
# Due to %_includedir/GL directory...
Requires: xorg-x11-proto-devel

%description devel
The GLE Tubing and Extrusion Library consists of a number of "C"
language subroutines for drawing tubing and extrusions. It is a very
fast implementation of these shapes, outperforming all other
implementations, most by orders of magnitude. It uses the
OpenGL (TM) programming API to perform the actual drawing of the tubing
and extrusions.

This package contain development headers and libraries.

%if_enabled static
%package devel-static
Summary: Static version of the GLE Tubing and Extrusion Library
Group: Development/C
Requires: %name-devel = %version-%release

%description -n lib%name-devel-static
The GLE Tubing and Extrusion Library consists of a number of "C"
language subroutines for drawing tubing and extrusions. It is a very
fast implementation of these shapes, outperforming all other
implementations, most by orders of magnitude. It uses the
OpenGL (TM) programming API to perform the actual drawing of the tubing
and extrusions.

This package contains static libraries.
%endif

%package doc
Summary: Documentation for the GLE Tubing and Extrusion Library
Group: Books/Computer books
Conflicts: %name > %version-%release
Conflicts: %name < %version-%release
Obsoletes: gle-doc <= 3.1.0-alt3

%description doc
The GLE Tubing and Extrusion Library consists of a number of "C"
language subroutines for drawing tubing and extrusions. It is a very
fast implementation of these shapes, outperforming all other
implementations, most by orders of magnitude. It uses the
OpenGL (TM) programming API to perform the actual drawing of the tubing
and extrusions.

This package contains documentation.

%prep
%setup -q -n %oname-%version
#patch -p1

%build
#__autoreconf
%{?!_enable_static:export lt_cv_prog_cc_static_works=no}
%configure \
%{subst_enable static}
%make_build libgle_la_LIBADD="-lGL -lGLU"

%install
%makeinstall libgle_la_LIBADD="-lGL -lGLU"
%__mv %buildroot%_docdir/%oname %buildroot%_docdir/%name-%version

%post -p %post_ldconfig
%postun -p %postun_ldconfig

%files
%doc %dir %_docdir/%name-%version
%doc %_docdir/%name-%version/*
%exclude %_docdir/%name-%version/examples
%exclude %_docdir/%name-%version/html
%_libdir/lib%oname.so.*

%files devel
%_libdir/lib%oname.so
%_includedir/GL/*
%_man3dir/*

%if_enabled static
%files devel-static
%_libdir/lib%oname.a
%endif

%files doc
%doc %dir %_docdir/%name-%version
%doc %_docdir/%name-%version/examples
%doc %_docdir/%name-%version/html

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009