- new
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 29 Jul 2003 22:16:54 +0000 (22:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    3DKit-make.patch -> 1.1
    3DKit.spec -> 1.1

3DKit-make.patch [new file with mode: 0644]
3DKit.spec [new file with mode: 0644]

diff --git a/3DKit-make.patch b/3DKit-make.patch
new file mode 100644 (file)
index 0000000..ba9f35a
--- /dev/null
@@ -0,0 +1,165 @@
+--- GNU3DKit/3DKit/GeometryKit/GeometryKit/GNUmakefile.orig    2001-07-07 16:48:58.000000000 +0200
++++ GNU3DKit/3DKit/GeometryKit/GeometryKit/GNUmakefile 2003-07-29 08:28:13.000000000 +0200
+@@ -24,8 +24,8 @@
+ LIBRARY_NAME=libGeometryKit
+ libGeometryKit_HEADER_FILES_DIR=.
+ libGeometryKit_HEADER_FILES_INSTALL_DIR=/GeometryKit
+-GEOMETRYKIT_INSTALLATION_DIR=$(GNUSTEP_LOCAL_ROOT)
+-GEOMETRYKIT_INSTALL_PREFIX=$(GNUSTEP_LOCAL_ROOT)
++GEOMETRYKIT_INSTALLATION_DIR=$(GNUSTEP_INSTALLATION_DIR)
++GEOMETRYKIT_INSTALL_PREFIX=$(GNUSTEP_INSTALLATION_DIR)
+ ADDITIONAL_INCLUDE_DIRS = -I..
+ srcdir = .
+ #
+@@ -33,7 +33,7 @@
+ # Additional libraries
+ #
+-libGeometryKit_LIBRARIES_DEPEND_UPON += 
++libGeometryKit_LIBRARIES_DEPEND_UPON += -lgnustep-base
+ #
+--- GNU3DKit/3DKit/RenderKit/RenderKit/GNUmakefile.preamble.orig       2001-07-07 17:35:47.000000000 +0200
++++ GNU3DKit/3DKit/RenderKit/RenderKit/GNUmakefile.preamble    2003-07-29 08:20:40.000000000 +0200
+@@ -44,7 +44,7 @@
+ ADDITIONAL_CFLAGS +=
+ # Additional include directories the compiler should search
+-ADDITIONAL_INCLUDE_DIRS += -I../Headers
++ADDITIONAL_INCLUDE_DIRS += -I../../GeometryKit
+ # Additional LDFLAGS to pass to the linker
+ ADDITIONAL_LDFLAGS +=
+--- GNU3DKit/3DKit/RenderKit/RenderKit/GNUmakefile.orig        2001-07-15 15:00:19.000000000 +0200
++++ GNU3DKit/3DKit/RenderKit/RenderKit/GNUmakefile     2003-07-29 08:31:37.000000000 +0200
+@@ -24,8 +24,8 @@
+ LIBRARY_NAME=libRenderKit
+ libRenderKit_HEADER_FILES_DIR=.
+ libRenderKit_HEADER_FILES_INSTALL_DIR=/RenderKit
+-RENDERKIT_INSTALLATION_DIR=$(GNUSTEP_LOCAL_ROOT)
+-RENDERKIT_INSTALL_PREFIX=$(GNUSTEP_LOCAL_ROOT)
++RENDERKIT_INSTALLATION_DIR=$(GNUSTEP_INSTALLATION_DIR)
++RENDERKIT_INSTALL_PREFIX=$(GNUSTEP_INSTALLATION_DIR)
+ ADDITIONAL_INCLUDE_DIRS = -I..
+ srcdir = .
+ #
+@@ -33,7 +33,7 @@
+ # Additional libraries
+ #
+-libRenderKit_LIBRARIES_DEPEND_UPON += -lGL 
++libRenderKit_LIBRARIES_DEPEND_UPON += -lgnustep-base -L../../GeometryKit/GeometryKit/obj -lGeometryKit -L/usr/X11R6/lib -lGL -lGLU
+ #
+--- GNU3DKit/GlutKit/GNUmakefile.preamble.orig 2000-08-20 17:25:45.000000000 +0200
++++ GNU3DKit/GlutKit/GNUmakefile.preamble      2003-07-29 08:24:58.000000000 +0200
+@@ -34,7 +34,7 @@
+ #
+ # Additional flags to pass to the preprocessor
+-ADDITIONAL_CPPFLAGS += 
++ADDITIONAL_CPPFLAGS += -I../3DKit/GeometryKit -I../3DKit/RenderKit
+ # Additional flags to pass to the Objective-C compiler
+ ADDITIONAL_OBJCFLAGS +=
+--- GNU3DKit/GlutKit/GNUmakefile.orig  2000-09-23 17:49:11.000000000 +0200
++++ GNU3DKit/GlutKit/GNUmakefile       2003-07-29 08:36:47.000000000 +0200
+@@ -24,8 +24,8 @@
+ LIBRARY_NAME=libGlutKit
+ libGlutKit_HEADER_FILES_DIR=.
+ libGlutKit_HEADER_FILES_INSTALL_DIR=/GlutKit
+-GLUTKIT_INSTALLATION_DIR=$(GNUSTEP_LOCAL_ROOT)
+-GLUTKIT_INSTALL_PREFIX=$(GNUSTEP_LOCAL_ROOT)
++GLUTKIT_INSTALLATION_DIR=$(GNUSTEP_INSTALLATION_DIR)
++GLUTKIT_INSTALL_PREFIX=$(GNUSTEP_INSTALLATION_DIR)
+ ADDITIONAL_INCLUDE_DIRS = -I..
+ srcdir = .
+ #
+@@ -33,7 +33,7 @@
+ # Additional libraries
+ #
+-libGlutKit_LIBRARIES_DEPEND_UPON += -lGL -lGLU -lglut 
++libGlutKit_LIBRARIES_DEPEND_UPON += -lgnustep-base -L../3DKit/RenderKit/RenderKit/obj -lRenderKit -L/usr/X11R6/lib -lGL -lGLU -lglut 
+ #
+--- GNU3DKit/SDLKit/GNUmakefile.preamble.orig  2000-08-20 17:25:46.000000000 +0200
++++ GNU3DKit/SDLKit/GNUmakefile.preamble       2003-07-29 08:37:59.000000000 +0200
+@@ -34,7 +34,7 @@
+ #
+ # Additional flags to pass to the preprocessor
+-ADDITIONAL_CPPFLAGS += 
++ADDITIONAL_CPPFLAGS += -I../3DKit/GeometryKit -I../3DKit/RenderKit
+ # Additional flags to pass to the Objective-C compiler
+ ADDITIONAL_OBJCFLAGS +=
+--- GNU3DKit/SDLKit/GNUmakefile.orig   2000-09-23 17:49:11.000000000 +0200
++++ GNU3DKit/SDLKit/GNUmakefile        2003-07-29 08:39:11.000000000 +0200
+@@ -24,8 +24,8 @@
+ LIBRARY_NAME=libSDLKit
+ libSDLKit_HEADER_FILES_DIR=.
+ libSDLKit_HEADER_FILES_INSTALL_DIR=/SDLKit
+-SDLKIT_INSTALLATION_DIR=$(GNUSTEP_LOCAL_ROOT)
+-SDLKIT_INSTALL_PREFIX=$(GNUSTEP_LOCAL_ROOT)
++SDLKIT_INSTALLATION_DIR=$(GNUSTEP_INSTALLATION_DIR)
++SDLKIT_INSTALL_PREFIX=$(GNUSTEP_INSTALLATION_DIR)
+ ADDITIONAL_INCLUDE_DIRS = -I..
+ srcdir = .
+ #
+@@ -33,7 +33,7 @@
+ # Additional libraries
+ #
+-libSDLKit_LIBRARIES_DEPEND_UPON += -lGL -lGLU -lSDL 
++libSDLKit_LIBRARIES_DEPEND_UPON += -lgnustep-base -L../3DKit/RenderKit/RenderKit/obj -lRenderKit -L/usr/X11R6/lib -lGL -lGLU -lSDL 
+ #
+--- GNU3DKit/Examples/glut/GNUmakefile.preamble.orig   2001-01-18 14:07:39.000000000 +0100
++++ GNU3DKit/Examples/glut/GNUmakefile.preamble        2003-07-29 08:52:38.000000000 +0200
+@@ -36,7 +36,7 @@
+ #
+ # Additional flags to pass to the preprocessor
+-ADDITIONAL_CPPFLAGS += 
++ADDITIONAL_CPPFLAGS += -I../../3DKit/GeometryKit -I../../3DKit/RenderKit -I../..
+ # Additional flags to pass to the Objective-C compiler
+ ADDITIONAL_OBJCFLAGS += -D__RKUSEOPENAL__ -D__RKUSEAPPKIT__
+--- GNU3DKit/Examples/glut/GNUmakefile.orig    2001-07-15 17:40:58.000000000 +0200
++++ GNU3DKit/Examples/glut/GNUmakefile 2003-07-29 18:24:25.000000000 +0200
+@@ -45,7 +45,7 @@
+       G3DWaterSurface.m       \
+       GlutDemo.m
+-GlutDemo_TOOL_LIBS += -lGeometryKit -lRenderKit -lGlutKit -lglut -L/usr/X11R6/lib -lXmu  -lXi -lXext -lX11
++GlutDemo_TOOL_LIBS += -L../../3DKit/GeometryKit/GeometryKit/obj -lGeometryKit -L../../3DKit/RenderKit/RenderKit/obj -lRenderKit -L../../GlutKit/obj -lGlutKit -lglut -L/usr/X11R6/lib -lXmu  -lXi -lXext -lX11
+ -include GNUmakefile.preamble
+--- GNU3DKit/Examples/SDL/GNUmakefile.preamble.orig    2001-01-18 14:05:01.000000000 +0100
++++ GNU3DKit/Examples/SDL/GNUmakefile.preamble 2003-07-29 18:26:23.000000000 +0200
+@@ -36,7 +36,7 @@
+ #
+ # Additional flags to pass to the preprocessor
+-ADDITIONAL_CPPFLAGS += 
++ADDITIONAL_CPPFLAGS += -I../../3DKit/GeometryKit -I../../3DKit/RenderKit -I../..
+ # Additional flags to pass to the Objective-C compiler
+ ADDITIONAL_OBJCFLAGS += -D__RKUSEOPENAL__ -D__RKUSEAPPKIT__
+--- GNU3DKit/Examples/SDL/GNUmakefile.orig     2001-07-15 16:03:37.000000000 +0200
++++ GNU3DKit/Examples/SDL/GNUmakefile  2003-07-29 18:27:22.000000000 +0200
+@@ -46,7 +46,7 @@
+       G3DVtxArray+ASEExtensions.m     \
+       ASEViewer.m
+-ASEViewer_TOOL_LIBS += -lGeometryKit -lRenderKit -lSDLKit -lSDL 
++ASEViewer_TOOL_LIBS += -L../../3DKit/GeometryKit/GeometryKit/obj -lGeometryKit -L../../3DKit/RenderKit/RenderKit/obj -lRenderKit -L../../SDLKit/obj -lSDLKit -lSDL 
+ -include GNUmakefile.preamble
diff --git a/3DKit.spec b/3DKit.spec
new file mode 100644 (file)
index 0000000..ccc4356
--- /dev/null
@@ -0,0 +1,126 @@
+Summary:       GNU 3DKit - set of libraries based on OpenGL and GNUstep
+Summary(pl):   GNU 3DKit - zestaw bibliotek opartych na OpenGL-u i GNUstepie
+Name:          3DKit
+Version:       0.3.0
+Release:       1
+License:       LGPL v2
+Group:         Libraries
+Source0:       ftp://ftp.gnustep.org/pub/gnustep/libs/%{name}-%{version}.tar.gz
+# Source0-md5: 3606ad885ab12893c596e4c8951d019c
+Patch0:                %{name}-make.patch
+URL:           http://www.fsf.org/software/gnu3dkit/gnu3dkit.html
+BuildRequires: OpenGL-devel
+BuildRequires: SDL-devel >= 1.1.4
+BuildRequires: glut-devel
+BuildRequires: gnustep-gui-devel
+Requires:      OpenGL
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define         _prefix         /usr/lib/GNUstep
+%define                _noautoreqdep   libGL.so.1 libGLU.so.1
+
+%define                libcombo        gnu-gnu-gnu
+%define                gsos            linux-gnu
+%ifarch %{ix86}
+%define                gscpu           ix86
+%else
+# also s/alpha.*/alpha/, but we use only "alpha" arch for now
+%define                gscpu           %{_target_cpu}
+%endif
+
+%description
+This is the GNU 3DKit, which is a set of general-purpose Objective-C
+libraries that help writing 3D software, based on OpenGL/Mesa and
+GNUstep. The libraries consist of everything from vector geometry
+classes, such as matrices and vectors, to a complete scenegraph API.
+
+%description -l pl
+To jest GNU 3DKit - zestaw bibliotek Objective-C ogólnego
+przeznaczenia maj±cych pomóc przy pisaniu oprogramowania 3D. Jest
+oparty na OpenGL-u/Mesie oraz GNUstepie. Biblioteki zawieraj±
+wszystko od klas geometrii wektorowej, takich jak macierze i wektory,
+do pe³nego API opisu sceny.
+
+%package devel
+Summary:       Header files for 3DKit libraries
+Summary(pl):   Pliki nag³ówkowe bibliotek 3DKit
+Group:         Development/Libraries
+Requires:      %{name} = %{version}
+Requires:      OpenGL-devel
+Requires:      gnustep-gui-devel
+
+%description devel
+Header files for 3DKit libraries.
+
+%description devel -l pl
+Pliki nag³ówkowe bibliotek 3DKit.
+
+%prep
+%setup -q -n GNU%{name}
+%patch -p1
+
+%build
+. %{_prefix}/System/Library/Makefiles/GNUstep.sh
+%{__make} -C 3DKit \
+       OPTFLAG="%{rpmcflags}" \
+       messages=yes
+
+%{__make} -C GlutKit \
+       OPTFLAG="%{rpmcflags}" \
+       messages=yes
+
+%{__make} -C SDLKit \
+       OPTFLAG="%{rpmcflags}" \
+       messages=yes
+
+%{__make} -C Examples/glut \
+       OPTFLAG="%{rpmcflags}" \
+       messages=yes
+
+%{__make} -C Examples/SDL \
+       OPTFLAG="%{rpmcflags}" \
+       messages=yes
+
+%install
+rm -rf $RPM_BUILD_ROOT
+. %{_prefix}/System/Library/Makefiles/GNUstep.sh
+
+%{__make} install -C 3DKit \
+       GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_prefix}/System
+
+%{__make} install -C GlutKit \
+       GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_prefix}/System
+
+%{__make} install -C SDLKit \
+       GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_prefix}/System
+
+%{__make} install -C Examples/glut \
+       GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_prefix}/System
+
+%{__make} install -C Examples/SDL \
+       GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_prefix}/System
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc 3DKit/{README,TODO}
+%{_prefix}/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/libGeometryKit.so.*
+%{_prefix}/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/libRenderKit.so.*
+%{_prefix}/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/libGlutKit.so.*
+%{_prefix}/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/libSDLKit.so.*
+
+%files devel
+%defattr(644,root,root,755)
+%{_prefix}/System/Library/Headers/GeometryKit
+%{_prefix}/System/Library/Headers/RenderKit
+%{_prefix}/System/Library/Headers/GlutKit
+%{_prefix}/System/Library/Headers/SDLKit
+%{_prefix}/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/libGeometryKit.so
+%{_prefix}/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/libRenderKit.so
+%{_prefix}/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/libGlutKit.so
+%{_prefix}/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/libSDLKit.so
This page took 0.03746 seconds and 4 git commands to generate.