From 24189d3cebb02b6537fbcdb534be9fd8272ab9a10f053cc441f8f94e8abc56f1 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Tue, 18 Sep 2012 09:18:19 +0000 Subject: [PATCH] Accepting request 134805 from home:coolo:branches:openSUSE:Factory rename and adapt license OBS-URL: https://build.opensuse.org/request/show/134805 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/glu?expand=0&rev=1 --- .gitattributes | 23 +++++++++++ .gitignore | 1 + baselibs.conf | 9 ++++ glu-9.0.0.tar.gz | 3 ++ glu.changes | 16 ++++++++ glu.spec | 104 +++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 156 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 baselibs.conf create mode 100644 glu-9.0.0.tar.gz create mode 100644 glu.changes create mode 100644 glu.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..2fcaeed --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,9 @@ +libGLU1 + provides "Mesa-libGLU1- = 8.0.98.25" + obsoletes "Mesa-libGLU1- < 8.0.98.25" + +glu-devel + requires -glu- + requires "libGLU1- = " + provides "Mesa-libGLU-devel- = 8.0.98.25" + obsoletes "Mesa-libGLU-devel- < 8.0.98.25" diff --git a/glu-9.0.0.tar.gz b/glu-9.0.0.tar.gz new file mode 100644 index 0000000..4dcf42d --- /dev/null +++ b/glu-9.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f01bcf03e1b1991b5bdde03640e741fdd20d88d0b569abe744718bab7cef073b +size 303961 diff --git a/glu.changes b/glu.changes new file mode 100644 index 0000000..74ebc5a --- /dev/null +++ b/glu.changes @@ -0,0 +1,16 @@ +------------------------------------------------------------------- +Tue Sep 18 09:10:00 UTC 2012 - cfarrell@suse.com + +- license update: SUSE-SGI-FreeB-2.0 + SGI-FreeB-2.0 is MIT with an advertising clause at the bottom + +------------------------------------------------------------------- +Tue Sep 18 09:02:58 UTC 2012 - coolo@suse.com + +- rename to glu and use "official" git snapshot + +------------------------------------------------------------------- +Mon Sep 3 09:38:51 UTC 2012 - sndirsch@suse.com + +- created package (since GLU has been split out from Mesa) + diff --git a/glu.spec b/glu.spec new file mode 100644 index 0000000..7a75558 --- /dev/null +++ b/glu.spec @@ -0,0 +1,104 @@ +# +# spec file for package libGLU +# +# 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: pkgconfig +BuildRequires: pkgconfig(gl) +BuildRequires: gcc-c++ libtool +BuildRequires: Mesa-libIndirectGL-devel + +%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