2007-01-15 23:14:23 +00:00
|
|
|
#
|
2011-10-16 10:44:47 +00:00
|
|
|
# spec file for package gle
|
2007-01-15 23:14:23 +00:00
|
|
|
#
|
2024-02-27 11:30:03 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2007-01-15 23:14:23 +00:00
|
|
|
#
|
2009-05-19 22:17:51 +00:00
|
|
|
# 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.
|
|
|
|
|
2024-02-27 11:30:03 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-15 23:14:23 +00:00
|
|
|
#
|
|
|
|
|
2013-04-23 08:35:30 +00:00
|
|
|
|
2007-01-15 23:14:23 +00:00
|
|
|
Name: gle
|
2015-01-16 13:15:47 +00:00
|
|
|
%define lname libgle3
|
2024-03-28 20:27:34 +00:00
|
|
|
Version: 3.1.2
|
2012-02-05 16:09:52 +00:00
|
|
|
Release: 0
|
2015-01-16 13:15:47 +00:00
|
|
|
Summary: The GLE Tubing and Extrusion Library
|
2024-02-27 11:30:03 +00:00
|
|
|
License: GPL-2.0-or-later
|
2015-01-16 13:15:47 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2024-02-27 11:30:03 +00:00
|
|
|
URL: http://linas.org/gle/
|
2024-03-28 20:27:34 +00:00
|
|
|
#Git-Clone: https://github.com/linas/glextrusion
|
|
|
|
Source: https://github.com/linas/glextrusion/archive/refs/tags/%name-%version.tar.gz
|
|
|
|
Patch1: gle-3.1.0-fltmax.diff
|
2015-01-16 13:15:47 +00:00
|
|
|
BuildRequires: freeglut-devel
|
|
|
|
BuildRequires: libstdc++-devel
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: pkgconfig(libdrm)
|
|
|
|
BuildRequires: pkgconfig(xi)
|
|
|
|
BuildRequires: pkgconfig(xmu)
|
2007-01-15 23:14:23 +00:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2015-01-16 13:15:47 +00:00
|
|
|
%package -n %lname
|
2009-05-19 22:17:51 +00:00
|
|
|
Summary: The GLE Tubing and Extrusion Library
|
2012-02-05 16:09:52 +00:00
|
|
|
Group: System/Libraries
|
2009-05-19 22:17:51 +00:00
|
|
|
|
2015-01-16 13:15:47 +00:00
|
|
|
%description -n %lname
|
2009-05-19 22:17:51 +00:00
|
|
|
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.
|
|
|
|
|
2024-02-27 11:30:03 +00:00
|
|
|
%package devel
|
2015-01-16 13:15:47 +00:00
|
|
|
Summary: Development files for the GLE tubing and extrusion library
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: %lname = %version
|
2024-02-27 11:30:03 +00:00
|
|
|
Provides: libgle-devel = %version-%release
|
|
|
|
Obsoletes: libgle-devel < %version-%release
|
2009-05-19 22:17:51 +00:00
|
|
|
|
2024-02-27 11:30:03 +00:00
|
|
|
%description devel
|
2009-05-19 22:17:51 +00:00
|
|
|
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.
|
|
|
|
|
2007-01-15 23:14:23 +00:00
|
|
|
%prep
|
2024-03-28 20:27:34 +00:00
|
|
|
%autosetup -p0 -n glextrusion-%name-%version
|
2007-01-15 23:14:23 +00:00
|
|
|
|
|
|
|
%build
|
2008-02-25 16:08:59 +00:00
|
|
|
autoreconf -fi
|
2015-01-16 13:15:47 +00:00
|
|
|
%configure --disable-static
|
2024-02-27 11:30:03 +00:00
|
|
|
%make_build
|
2008-02-25 16:08:59 +00:00
|
|
|
|
|
|
|
%check
|
2024-02-27 11:30:03 +00:00
|
|
|
%make_build check
|
2007-01-15 23:14:23 +00:00
|
|
|
|
|
|
|
%install
|
2015-01-16 13:15:47 +00:00
|
|
|
%make_install
|
2024-03-28 20:27:34 +00:00
|
|
|
rm -rf "%buildroot/%_datadir/doc/gle" "%buildroot/%_libdir"/*.la
|
2008-02-25 16:08:59 +00:00
|
|
|
|
2024-02-27 11:30:03 +00:00
|
|
|
%ldconfig_scriptlets -n %lname
|
2009-05-19 22:17:51 +00:00
|
|
|
|
2015-01-16 13:15:47 +00:00
|
|
|
%files -n %lname
|
|
|
|
%doc COPYING doc/COPYING.artistic
|
2009-05-19 22:17:51 +00:00
|
|
|
%{_libdir}/lib*.so.*
|
2007-01-15 23:14:23 +00:00
|
|
|
|
2024-02-27 11:30:03 +00:00
|
|
|
%files devel
|
2015-01-16 13:15:47 +00:00
|
|
|
%doc AUTHORS README doc/html/*.jpg doc/html/*.gif doc/html/*.html doc/html/README doc/gle-*.lsm
|
2007-01-15 23:14:23 +00:00
|
|
|
%doc %{_mandir}/man3/*
|
2008-02-25 16:08:59 +00:00
|
|
|
%{_includedir}/GL
|
2009-05-19 22:17:51 +00:00
|
|
|
%{_libdir}/lib*.so
|
2007-01-15 23:14:23 +00:00
|
|
|
|
2007-08-03 14:27:52 +00:00
|
|
|
%changelog
|