[packages/guile-opengl] - new

qboosh qboosh at pld-linux.org
Wed Oct 26 15:57:47 CEST 2016


commit 7aa17125ff0d6d82c852127202ba74ae554001a4
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Oct 26 15:59:58 2016 +0200

    - new

 guile-opengl-info.patch | 22 +++++++++++++
 guile-opengl.spec       | 87 +++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 109 insertions(+)
---
diff --git a/guile-opengl.spec b/guile-opengl.spec
new file mode 100644
index 0000000..d2d47c9
--- /dev/null
+++ b/guile-opengl.spec
@@ -0,0 +1,87 @@
+Summary:	Guile-OpenGL - OpenGL interface for GNU Guile
+Summary(pl.UTF-8):	Guile-OpenGL - interfejs OpenGL dla GNU Guile
+Name:		guile-opengl
+Version:	0.1.0
+Release:	1
+License:	LGPL v3+
+Group:		Libraries
+Source0:	http://ftp.gnu.org/gnu/guile-opengl/%{name}-%{version}.tar.gz
+# Source0-md5:	a5d20170103514a042bb13d28f586472
+Patch0:		%{name}-info.patch
+URL:		http://www.gnu.org/software/guile-opengl/
+BuildRequires:	autoconf >= 2.60
+BuildRequires:	automake
+BuildRequires:	guile-devel >= 5:2.0
+BuildRequires:	libtool >= 2:2
+BuildRequires:	pkgconfig
+BuildRequires:	texinfo
+BuildRequires:	tar >= 1:1.22
+BuildRequires:	xz
+Requires(post,postun):	/sbin/ldconfig
+Requires:	guile >= 5:2.0.11
+%ifarch %{x8664} ppc64 s390x sparc64
+Requires:	libGL.so.1()(64-bit)
+Suggests:	libGLU.so.1()(64-bit)
+Suggests:	libglut.so.3()(64-bit)
+%else
+Requires:	libGL.so.1
+Suggests:	libGLU.so.1
+Suggests:	libglut.so.3
+%endif
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+GNU Guile-OpenGL is an OpenGL interface for GNU Guile.
+
+%description -l pl.UTF-8
+GNU Guile-OpenGL to interfejs OpenGL dla GNU Guile.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__automake}
+%configure \
+	--disable-silent-rules
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%postun	-p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS LICENSE NEWS README TODO
+%{_libdir}/guile/2.0/ccache/gl
+%{_libdir}/guile/2.0/ccache/glu
+%{_libdir}/guile/2.0/ccache/glut
+%{_libdir}/guile/2.0/ccache/glx
+%{_libdir}/guile/2.0/ccache/gl.go
+%{_libdir}/guile/2.0/ccache/glu.go
+%{_libdir}/guile/2.0/ccache/glut.go
+%{_libdir}/guile/2.0/ccache/glx.go
+%{_datadir}/guile/site/2.0/gl
+%{_datadir}/guile/site/2.0/glu
+%{_datadir}/guile/site/2.0/glut
+%{_datadir}/guile/site/2.0/glx
+%{_datadir}/guile/site/2.0/gl.scm
+%{_datadir}/guile/site/2.0/glu.scm
+%{_datadir}/guile/site/2.0/glut.scm
+%{_datadir}/guile/site/2.0/glx.scm
+%{_infodir}/guile-opengl.info*
diff --git a/guile-opengl-info.patch b/guile-opengl-info.patch
new file mode 100644
index 0000000..d5b9d87
--- /dev/null
+++ b/guile-opengl-info.patch
@@ -0,0 +1,22 @@
+--- guile-opengl-0.1.0/doc/guile-opengl.texi.orig	2014-03-23 15:18:15.000000000 +0100
++++ guile-opengl-0.1.0/doc/guile-opengl.texi	2016-10-26 15:40:07.283997911 +0200
+@@ -34,13 +34,13 @@
+ prefixed with a specific copyright header.
+ @end copying
+ 
+- at dircategory The Algorithmic Language Scheme
++ at dircategory The Algorithmic Language Scheme:
+ @direntry 
+-* opengl: (guile-opengl).              OpenGL for Guile.
+-* gl: (guile-opengl)GL.                A Scheme interface to the OpenGL API.
+-* glx: (guile-opengl)GLX.              Using OpenGL with the X Window System.
+-* glu: (guile-opengl)GLU.              The GL Utility library.
+-* glut: (guile-opengl)GLUT.            The GL Utility Toolkit.
++* opengl: (guile-opengl).		OpenGL for Guile
++* gl: (guile-opengl)GL.			A Scheme interface to the OpenGL API
++* glx: (guile-opengl)GLX.		Using OpenGL with the X Window System
++* glu: (guile-opengl)GLU.		The GL Utility library
++* glut: (guile-opengl)GLUT.		The GL Utility Toolkit
+ @end direntry
+ 
+ @titlepage 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/guile-opengl.git/commitdiff/7aa17125ff0d6d82c852127202ba74ae554001a4



More information about the pld-cvs-commit mailing list