Summary(pl): Biblioteki Glide dla kart 3Dfx Voodoo4 i Voodoo5
Name: Glide_V5-DRI
Version: 3.10.0
-Release: 0.%{snapdate}.6
+Release: 0.%{snapdate}.7
Epoch: 1
License: 3dfx Glide General Public License, 3Dfx Interactive Inc.
Vendor: 3dfx Interactive Inc.
Patch1: glide-ac-workaround.patch
Patch2: glide-h3.patch
Patch3: glide-h5.patch
+Patch4: glide-am16.patch
Icon: 3dfx.gif
URL: http://glide.sourceforge.net/
BuildRequires: XFree86-devel
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
%build
rm -f missing
libtoolize --copy --force
aclocal
autoconf
-automake -a -c -i
+automake -a -c -f -i
%configure \
--enable-fx-dri-build \
--enable-fx-glide-hw=h5 \
GLIDE_DEBUG_GDEFS="%{!?debug:-DBIG_OPT} %{?debug:-DGDBG_INFO_ON -DGLIDE_DEBUG}" \
DESTDIR=$RPM_BUILD_ROOT
+# used by tdfx_dri.so from XFree86
+ln -sf libglide3.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libglide3-v5.so
+# used by ???
ln -sf libglide3.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libglide3x_V5.so
ln -sf libglide3.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libglide3x.so
%clean
rm -rf $RPM_BUILD_ROOT
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
%files
%defattr(644,root,root,755)
%doc glide_license.txt.gz
%attr(755,root,root) %{_libdir}/libglide3.so.*.*.*
+%attr(755,root,root) %{_libdir}/libglide3-v5.so
%attr(755,root,root) %{_libdir}/libglide3x.so
%attr(755,root,root) %{_libdir}/libglide3x_V5.so
--- /dev/null
+--- glide3x-20010309/h3/glide3/src/makefile.autoconf.am.orig Mon Mar 25 20:03:40 2002
++++ glide3x-20010309/h3/glide3/src/makefile.autoconf.am Mon Mar 25 20:14:06 2002
+@@ -207,7 +207,8 @@
+ noinst_HEADERS = fxglide.h gsstdef.h gsfc.h \
+ fxcmd.h fxsplash.h tv.h rcver.h qmodes.h \
+ macglide3.h
+-fxgasm_SOURCES = fxgasm.c gthread.c
++fxgasm_SOURCES = fxgasm.c
++fxgasm_LDADD = gthread.o
+
+ lib_LTLIBRARIES = libglide3.la
+ libglide3_la_SOURCES = fxinline.h fxgasm.h \
+--- glide3x-20010309/h5/glide3/src/makefile.autoconf.am.orig Mon Mar 25 20:03:40 2002
++++ glide3x-20010309/h5/glide3/src/makefile.autoconf.am Mon Mar 25 20:17:12 2002
+@@ -215,7 +215,8 @@
+ gsfc.h gsstdef.h \
+ qmodes.h tv.h \
+ fxgasm.h fxinline.h
+-fxgasm_SOURCES = fxgasm.c gthread.c
++fxgasm_SOURCES = fxgasm.c
++fxgasm_LDADD = gthread.o
+ fxgasm_DEPENDENCIES = gthread.lo
+
+ lib_LTLIBRARIES = libglide3.la