Stefan Dirsch
71644a8c1b
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/glu?expand=0&rev=3
105 lines
3.4 KiB
RPMSpec
105 lines
3.4 KiB
RPMSpec
#
|
|
# spec file for package glu
|
|
#
|
|
# Copyright (c) 2012 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/
|
|
#
|
|
|
|
|
|
Name: glu
|
|
%define lname libGLU1
|
|
Version: 9.0.0
|
|
Release: 0
|
|
Summary: OpenGL utility library
|
|
License: SUSE-SGI-FreeB-2.0
|
|
Group: Development/Libraries/C and C++
|
|
Url: http://cgit.freedesktop.org/mesa/glu/
|
|
#Git-Clone: git://anongit.freedesktop.org/mesa/glu
|
|
#Git-Web: http://cgit.freedesktop.org/mesa/glu/
|
|
Source: http://cgit.freedesktop.org/mesa/glu/snapshot/%{name}-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: libtool
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig(dri)
|
|
|
|
%description
|
|
GLU offers simple interfaces for building mipmaps; checking for the
|
|
presence of extensions in the OpenGL (or other libraries which follow
|
|
the same conventions for advertising extensions); drawing
|
|
piecewise-linear curves, NURBS, quadrics and other primitives
|
|
(including, but not limited to, teapots); tesselating surfaces;
|
|
setting up projection matrices and unprojecting screen coordinates to
|
|
world coordinates.
|
|
|
|
%package -n %lname
|
|
Summary: OpenGL utility library
|
|
Group: System/Libraries
|
|
|
|
%description -n %lname
|
|
GLU offers simple interfaces for building mipmaps; checking for the
|
|
presence of extensions in the OpenGL (or other libraries which follow
|
|
the same conventions for advertising extensions); drawing
|
|
piecewise-linear curves, NURBS, quadrics and other primitives
|
|
(including, but not limited to, teapots); tesselating surfaces;
|
|
setting up projection matrices and unprojecting screen coordinates to
|
|
world coordinates.
|
|
|
|
This package provides the SGI implementation of GLU previously shipped
|
|
with Mesa, but meanwhile developed separately.
|
|
|
|
%package devel
|
|
Summary: Development files for the GLU API
|
|
Group: Development/Libraries/C and C++
|
|
Requires: %lname = %version
|
|
|
|
%description devel
|
|
GLU offers simple interfaces for building mipmaps; checking for the
|
|
presence of extensions in the OpenGL (or other libraries which follow
|
|
the same conventions for advertising extensions); drawing
|
|
piecewise-linear curves, NURBS, quadrics and other primitives
|
|
(including, but not limited to, teapots); tesselating surfaces;
|
|
setting up projection matrices and unprojecting screen coordinates to
|
|
world coordinates.
|
|
|
|
This package contains includes headers and static libraries for
|
|
compiling programs with GLU.
|
|
|
|
%prep
|
|
%setup -q -n glu-%{version}
|
|
|
|
%build
|
|
sh autogen.sh
|
|
%configure --disable-static
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%makeinstall
|
|
rm -f "%buildroot/%_libdir"/*.la
|
|
|
|
%post -n %lname -p /sbin/ldconfig
|
|
|
|
%postun -n %lname -p /sbin/ldconfig
|
|
|
|
%files -n %lname
|
|
%defattr(-,root,root)
|
|
%_libdir/libGLU.so.*
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%_includedir/GL
|
|
%_libdir/libGLU.so
|
|
%_libdir/pkgconfig/glu.pc
|
|
|
|
%changelog
|