SHA256
8
0
forked from pool/gle
OBS User unknown
2009-05-19 22:17:51 +00:00
committed by Git OBS Bridge
parent a68dd9c882
commit 822046dffe
3 changed files with 88 additions and 25 deletions

View File

@@ -1,7 +1,13 @@
-------------------------------------------------------------------
Mon May 18 17:56:22 CEST 2009 - prusnak@suse.cz
- create libgle3 and libgle-devel packages conforming
to shared library policy
-------------------------------------------------------------------
Mon Feb 25 07:29:25 CET 2008 - crrodriguez@suse.de
- fix library-without-ldconfig-post* errors
- fix library-without-ldconfig-post* errors
- spec file cleanup
-------------------------------------------------------------------
@@ -44,17 +50,17 @@ Thu Aug 14 17:18:36 CEST 2003 - nadvornik@suse.cz
Thu May 22 01:15:12 CEST 2003 - ro@suse.de
- remove cvsignore files
- remove unpackaged files from buildroot
- remove unpackaged files from buildroot
-------------------------------------------------------------------
Mon May 12 01:13:23 CEST 2003 - ro@suse.de
- added libstdc++-devel to neededforbuild
- added libstdc++-devel to neededforbuild
-------------------------------------------------------------------
Tue Sep 17 17:34:28 CEST 2002 - ro@suse.de
- removed bogus self-provides
- removed bogus self-provides
-------------------------------------------------------------------
Fri Apr 26 12:02:56 CEST 2002 - coolo@suse.de
@@ -76,7 +82,7 @@ Thu Nov 15 16:40:33 CET 2001 - nadvornik@suse.cz
-------------------------------------------------------------------
Thu Nov 8 18:39:15 CET 2001 - ro@suse.de
- use mesa-devel-packages in neededforbuild
- use mesa-devel-packages in neededforbuild
-------------------------------------------------------------------
Tue Nov 6 15:03:54 CET 2001 - nadvornik@suse.cz
@@ -102,7 +108,7 @@ Mon Mar 12 10:29:41 CET 2001 - nadvornik@suse.cz
-------------------------------------------------------------------
Fri Mar 9 02:03:19 CET 2001 - ro@suse.de
- added mesaglu
- added mesaglu
-------------------------------------------------------------------
Wed Mar 7 16:58:40 CET 2001 - ro@suse.de
@@ -113,7 +119,7 @@ Wed Mar 7 16:58:40 CET 2001 - ro@suse.de
Mon Dec 18 08:55:46 CET 2000 - ro@suse.de
- bzipped source
- fixed to compile
- fixed to compile
-------------------------------------------------------------------
Mon Nov 20 13:47:01 CET 2000 - grimmer@suse.de

View File

@@ -1,10 +1,17 @@
#
# 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.
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@@ -12,15 +19,14 @@
Name: gle
BuildRequires: freeglut-devel libdrm-devel libstdc++-devel xorg-x11
BuildRequires: freeglut-devel libdrm-devel libstdc++-devel
License: Any permissive
Group: System/Libraries
AutoReqProv: on
Version: 3.1.0
Release: 65
Release: 126
Source: http://download.sourceforge.net/gle/gle-%{version}.tar.bz2
Patch0: gle-%{version}.diff
Patch1: gle-3.0.6-fltmax.dif
Patch0: %{name}-%{version}.diff
Patch1: %{name}-%{version}-fltmax.diff
Url: http://linas.org/gle/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: The GLE Tubing and Extrusion Library
@@ -36,6 +42,49 @@ actual drawing of the tubing and extrusions.
Authors:
--------
Linas Vepstas <linas@linas.org>
Mark Kilgard <mjk@nvidia.com>
%package -n libgle3
License: Any permissive
Group: System/Libraries
Summary: The GLE Tubing and Extrusion Library
%description -n libgle3
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>
%package -n libgle-devel
License: Any permissive
Group: System/Libraries
Summary: The GLE Tubing and Extrusion Library
Requires: libgle3 = %{version}
%description -n libgle-devel
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>
@@ -43,39 +92,47 @@ Authors:
%prep
%setup -q
%patch
%patch0
%patch1
find -name ".cvsignore" | xargs rm -fv
%build
autoreconf -fi
export CFLAGS="$RPM_OPT_FLAGS"
export CFLAGS="$RPM_OPT_FLAGS"
%configure --disable-static --with-pic
make
make %{?jobs:-j%jobs}
%check
make check
%install
make DESTDIR=$RPM_BUILD_ROOT install
rm -rf $RPM_BUILD_ROOT/usr/share/doc/gle
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/gle
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%post -n libgle3 -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%postun -n libgle3 -p /sbin/ldconfig
%files
%files -n libgle3
%defattr(-, root, root)
%doc AUTHORS README doc/gle-*.lsm
%doc doc/html
%doc AUTHORS COPYING doc/COPYING.artistic README
%{_libdir}/lib*.so.*
%files -n libgle-devel
%defattr(-, root, root)
%doc doc/html/*.jpg doc/html/*.gif doc/html/*.html doc/html/README doc/gle-*.lsm
%doc %{_mandir}/man3/*
%{_libdir}/lib*
%{_includedir}/GL
%{_libdir}/lib*.so
%changelog
* Mon May 18 2009 prusnak@suse.cz
- create libgle3 and libgle-devel packages conforming
to shared library policy
* Mon Feb 25 2008 crrodriguez@suse.de
- fix library-without-ldconfig-post* errors
- spec file cleanup