File gle.spec of Package gle
#
# spec file for package gle (Version 3.1.0)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: gle
BuildRequires: freeglut-devel libdrm-devel libstdc++-devel xorg-x11
License: Any permissive
Group: System/Libraries
AutoReqProv: on
Version: 3.1.0
Release: 65
Source: http://download.sourceforge.net/gle/gle-%{version}.tar.bz2
Patch0: gle-%{version}.diff
Patch1: gle-3.0.6-fltmax.dif
Url: http://linas.org/gle/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: The GLE Tubing and Extrusion Library
%description
The GLE Tubing and Extrusion Library is a graphics application
programming interface (API). The library consists of a number of C
language subroutines for drawing tubing and extrusions. The library is
distributed in source code form in a package that includes
documentation, a VRML proposal, make files, and full source code and
header files. It uses the OpenGL (TM) programming API to perform the
actual drawing of the tubing and extrusions.
Authors:
--------
Linas Vepstas <linas@linas.org>
Mark Kilgard <mjk@nvidia.com>
%prep
%setup -q
%patch
%patch1
find -name ".cvsignore" | xargs rm -fv
%build
autoreconf -fi
export CFLAGS="$RPM_OPT_FLAGS"
%configure --disable-static --with-pic
make
%check
make check
%install
make DESTDIR=$RPM_BUILD_ROOT install
rm -rf $RPM_BUILD_ROOT/usr/share/doc/gle
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root)
%doc AUTHORS README doc/gle-*.lsm
%doc doc/html
%doc %{_mandir}/man3/*
%{_libdir}/lib*
%{_includedir}/GL
%changelog
* Mon Feb 25 2008 crrodriguez@suse.de
- fix library-without-ldconfig-post* errors
- spec file cleanup
* Fri Aug 03 2007 dmueller@suse.de
- update to 3.1.0:
* alphablending support
* Tue Nov 07 2006 prusnak@suse.cz
- changed MAXFLOAT to FLT_MAX
* Tue Nov 07 2006 prusnak@suse.cz
- changed 1.0e50 constants to MAXFLOAT [#216971]
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Nov 11 2004 ro@suse.de
- fixed file list
* Sat Jan 10 2004 adrian@suse.de
- build as user
* Thu Aug 14 2003 nadvornik@suse.cz
- added /usr/include/GL to filelist [#28806]
* Thu May 22 2003 ro@suse.de
- remove cvsignore files
- remove unpackaged files from buildroot
* Mon May 12 2003 ro@suse.de
- added libstdc++-devel to neededforbuild
* Tue Sep 17 2002 ro@suse.de
- removed bogus self-provides
* Fri Apr 26 2002 coolo@suse.de
- use %%_libdir
* Mon Nov 26 2001 nadvornik@suse.cz
- update to 3.0.6:
- C++ wrapper fixes
- set prefix to /usr
* Thu Nov 15 2001 nadvornik@suse.cz
- fixed to compile
* Thu Nov 08 2001 ro@suse.de
- use mesa-devel-packages in neededforbuild
* Tue Nov 06 2001 nadvornik@suse.cz
- fixed to compile with new automake
* Wed Jun 06 2001 nadvornik@suse.cz
- fixed to compile with new autoconf
* Thu Mar 15 2001 ro@suse.de
- changed neededforbuild <mesaglu> to <xf86glu>
- changed neededforbuild <mesaglu-devel> to <xf86glu-devel>
* Mon Mar 12 2001 nadvornik@suse.cz
- added mesaglut mesaglut-devel xf86 to neededforbuild
* Fri Mar 09 2001 ro@suse.de
- added mesaglu
* Wed Mar 07 2001 ro@suse.de
- changed neededforbuild <mesadev> to <mesa-devel>
* Mon Dec 18 2000 ro@suse.de
- bzipped source
- fixed to compile
* Mon Nov 20 2000 grimmer@suse.de
- initial package (version 0.3.0)