rpms/gauche-gl/devel Gauche-gl-fix.patch, NONE, 1.1 gauche-gl.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Gérard Milmeister (gemi) fedora-extras-commits at redhat.com
Tue May 9 19:27:30 UTC 2006


Author: gemi

Update of /cvs/extras/rpms/gauche-gl/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31306/devel

Modified Files:
	.cvsignore sources 
Added Files:
	Gauche-gl-fix.patch gauche-gl.spec 
Log Message:
auto-import gauche-gl-0.4.1-4.fc5 on branch devel from gauche-gl-0.4.1-4.fc5.src.rpm

Gauche-gl-fix.patch:

--- NEW FILE Gauche-gl-fix.patch ---
--- Gauche-gl-0.4/src/gauche-gl.c.fix	2005-07-01 23:58:51.000000000 +0200
+++ Gauche-gl-0.4/src/gauche-gl.c	2005-07-01 23:59:01.000000000 +0200
@@ -136,11 +136,7 @@
    supports GLX for the time being. */
 void *Scm_GLGetProcAddress(const char *name)
 {
-#if defined(GLX_VERSION_1_4)
-    if (glXGetProcAddress != NULL) {
-        return glXGetProcAddress(name);
-    }
-#elif defined(GLX_ARB_get_proc_address)
+#if defined(GLX_ARB_get_proc_address)
     if (glXGetProcAddressARB != NULL) {
         return glXGetProcAddressARB(name);
     }


--- NEW FILE gauche-gl.spec ---
%define gauche_version 0.8.7

Name:           gauche-gl
Version:        0.4.1
Release:        4%{?dist}
Summary:	OpenGL binding for Gauche

Group:          Development/Languages
License:        BSD
URL:            http://www.shiro.dreamhost.com/scheme/gauche
Source:		http://download.sourceforge.net/gauche/Gauche-gl-0.4.1.tgz
Patch0:		Gauche-gl-fix.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: 	gauche-devel = %{gauche_version}
BuildRequires:	freeglut-devel
BuildRequires:	libSM-devel
BuildRequires:	libXext-devel
BuildRequires:	libXi-devel
BuildRequires:	libXmu-devel
BuildRequires:	texinfo
Requires(post):	/sbin/install-info
Requires(preun): /sbin/install-info


%description
OpenGL binding for Gauche.


%prep
%setup -q -n Gauche-gl-%{version}
%patch0 -p1
(cd src; mv gauche-gl.c.orig gauche-gl.c)

%build
%configure
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

# no japanese info docs
rm -f $RPM_BUILD_ROOT%{_infodir}/gauche-gl-refj.*

# make .so files executable
find $RPM_BUILD_ROOT -name '*.so' -exec chmod 0755 '{}' ';'

# include file not necessary
rm -rf $RPM_BUILD_ROOT%{_libdir}/gauche/%{gauche_version}/include

# correct end-of-line-encoding
sed -i 's/\r//' examples/slbook/ogl2particle/* examples/slbook/ogl2brick/*

# these are not necessary
rm -f examples/glbook/run
rm -f examples/slbook/ogl2particle/run.sh

%clean
rm -rf $RPM_BUILD_ROOT


%post
/sbin/install-info %{_infodir}/%{name}-refe.info %{_infodir}/dir 2>/dev/null || :


%preun
if [ $1 = 0 ]; then
  /sbin/install-info --delete %{_infodir}/%{name}-refe.info %{_infodir}/dir 2>/dev/null || :
fi


%files
%defattr(-,root,root,-)
%{_libdir}/gauche
%{_datadir}/gauche
%{_infodir}/gauche-gl-refe.*
%doc COPYING examples


%changelog
* Fri May  5 2006 Gerard Milmeister <gemi at bluewin.ch> - 0.4.1-4
- cleaned up Requires
- removed unnecessary files

* Sun Nov  6 2005 Gerard Milmeister <gemi at bluewin.ch> - 0.4.1-1
- New Version 0.4.1

* Fri Jul  1 2005 Gerard Milmeister <gemi at bluewin.ch> - 0.4-1
- New Version 0.4

* Wed Feb 23 2005 Gerard Milmeister <gemi at bluewin.ch> - 0:0.3.1-1
- New Version 0.3.1

* Mon Nov 10 2003 Gerard Milmeister <gemi at bluewin.ch> - 0:0.3-0.fdr.1
- First Fedora release



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/gauche-gl/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	9 May 2006 19:26:36 -0000	1.1
+++ .cvsignore	9 May 2006 19:27:29 -0000	1.2
@@ -0,0 +1 @@
+Gauche-gl-0.4.1.tgz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/gauche-gl/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	9 May 2006 19:26:36 -0000	1.1
+++ sources	9 May 2006 19:27:29 -0000	1.2
@@ -0,0 +1 @@
+a51b19a0f16f88ed6cd85c6e49cc6e75  Gauche-gl-0.4.1.tgz




More information about the fedora-extras-commits mailing list