1 %define snapdate 20010309
2 Summary: Glide runtime for 3Dfx Voodoo Banshee and Voodoo3 boards
3 Summary(ko): 3Dfx ºÎµÎ º¥½¬/3 ºñµð¿ÀÄ«µå¿ë Glide ·±Å¸ÀÓ ¶óÀ̺귯¸®
4 Summary(pl): Biblioteki Glide dla kart 3Dfx Voodoo Banshee oraz Voodoo3
7 Release: 0.%{snapdate}.12
9 License: 3dfx Glide General Public License, 3Dfx Interactive Inc.
11 Source0: cvs://anonymous@cvs.glide.sourceforge.net:/cvsroot/glide/glide3x-%{snapdate}.tar.gz
12 # Source0-md5: 42a8e093221b2360ec96191ae0e13ce0
13 Patch0: glide-ia64.patch
14 Patch1: glide-ac-workaround.patch
15 Patch2: glide-h3.patch
16 Patch3: glide-h5.patch
17 Patch4: glide-am16.patch
18 Patch5: glide-gcc33.patch
19 Patch6: glide-ioctl.patch
20 Patch7: glide-morearchs.patch
21 Patch8: glide-gcc34.patch
22 URL: http://glide.sourceforge.net/
23 BuildRequires: autoconf
24 BuildRequires: automake
25 BuildRequires: libtool
26 BuildRequires: xorg-lib-libX11-devel
27 BuildRequires: xorg-lib-libXau-devel
28 BuildRequires: xorg-lib-libXdmcp-devel
29 BuildRequires: xorg-lib-libXext-devel
30 BuildRequires: xorg-lib-libXxf86dga-devel
31 BuildRequires: xorg-lib-libXxf86vm-devel
33 Obsoletes: Glide_V5-DRI
34 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37 This library allows the user to use a 3dfx Interactive Voodoo Banshee
38 or Voodoo3 card under Linux with DRI support. The source support DRI
39 or non-DRI versions of Glide.
42 Ta biblioteka pozwala u¿ytkownikowi na u¿ywanie kart 3dfx Interactive
43 Voodoo Banshee lub Voodoo3 pod Linuksem z DRI. Ta wersja zawiera
44 wsparcie dla wersji Glide z DRI i bez DRI.
47 Summary: Development headers for Glide 3.x
48 Summary(pl): Pliki nag³ówkowe Glide 3.x
49 Group: X11/Development/Libraries
50 Requires: %{name} = %{epoch}:%{version}-%{release}
51 Provides: Glide3-DRI-devel
52 Obsoletes: Glide_V5-DRI-devel
55 This package includes the headers files, documentation, and test files
56 necessary for developing applications that use the 3Dfx Interactive
57 Voodoo Banshee or Voodoo3 cards.
59 %description devel -l pl
60 Ten pakiet zawiera pliki nag³ówkowe, dokumentacje, oraz pliki tekstowe
61 wymagane przez aplikacje deweloperskie, które u¿ywaj± kart 3Dfx
62 Interactive Voodoo Banshe lub Voodoo3.
65 Summary: Static library Glide 3.x
66 Summary(pl): Statyczne biblioteki Glide 3.x
67 Group: X11/Development/Libraries
68 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
69 Provides: Glide3-DRI-static
70 Obsoletes: Glide_V5-DRI-static
73 This package includes the static Glide3 library for Voodoo Banshee or
76 %description static -l pl
77 Ten pakiet zawiera statyczne biblioteki Glide3 dla kart Voodoo Banshee
81 %setup -q -n glide3x-%{snapdate}
98 --enable-fx-dri-build \
99 --enable-fx-glide-hw=h3 \
100 --enable-fx-debug=no \
101 %ifarch i586 i686 athlon pentium3 pentium4
105 %{__make} -f makefile.autoconf all \
106 GLIDE_DEBUG_GCFLAGS="%{rpmcflags} -fno-expensive-optimizations %{!?debug:-fomit-frame-pointer -ffast-math}" \
107 GLIDE_DEBUG_GDEFS="%{!?debug:-DBIG_OPT} %{?debug:-DGDBG_INFO_ON -DGLIDE_DEBUG}" \
108 LINK_LIBS="-L/usr/X11R6/%{_lib} -lX11 -lXext -lXxf86dga -lXxf86vm -lm"
111 rm -rf $RPM_BUILD_ROOT
112 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/tests
114 # something is recompiled - use GCFLAGS too
115 %{__make} -f makefile.autoconf install \
116 GLIDE_DEBUG_GCFLAGS="%{rpmcflags} -fno-expensive-optimizations %{!?debug:-fomit-frame-pointer -ffast-math}" \
117 GLIDE_DEBUG_GDEFS="%{!?debug:-DBIG_OPT} %{?debug:-DGDBG_INFO_ON -DGLIDE_DEBUG}" \
118 LINK_LIBS="-L/usr/X11R6/%{_lib} -lX11 -lXext -lXxf86dga -lXxf86vm -lm" \
119 DESTDIR=$RPM_BUILD_ROOT
121 # used by tdfx_dri.so from XFree86
122 ln -sf libglide3.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libglide3-v3.so
124 ln -sf libglide3.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libglide3x_V3.so
125 ln -sf libglide3.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libglide3x.so
127 # Install the examples and their source, no binaries
128 install h3/glide3/tests/makefile.distrib $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/tests/makefile
129 install h3/glide3/tests/*.3df $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/tests
130 install h3/glide3/tests/test??.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/tests
131 install h3/glide3/tests/tldata.inc $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/tests
132 install h3/glide3/tests/tlib.[ch] $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/tests
133 gzip -9nf $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/tests/*.3df
136 rm -rf $RPM_BUILD_ROOT
138 %post -p /sbin/ldconfig
139 %postun -p /sbin/ldconfig
142 %defattr(644,root,root,755)
143 %doc glide_license.txt
144 %attr(755,root,root) %{_libdir}/libglide3.so.*.*.*
145 %attr(755,root,root) %{_libdir}/libglide3-v3.so
146 %attr(755,root,root) %{_libdir}/libglide3x.so
147 %attr(755,root,root) %{_libdir}/libglide3x_V3.so
150 %defattr(644,root,root,755)
151 %attr(755,root,root) %{_libdir}/libglide3.so
153 %{_includedir}/glide3
154 %{_examplesdir}/%{name}-%{version}
157 %defattr(644,root,root,755)