1 %define snapdate 20010309
2 Summary: Glide runtime for 3Dfx Voodoo Banshee and Voodoo3 boards
3 Summary(pl): Biblioteki Glide dla kart 3Dfx Voodoo Banshee oraz Voodoo3
6 Release: 0.%{snapdate}.5
8 License: 3dfx Glide General Public License, 3Dfx Interactive Inc.
9 Vendor: 3dfx Interactive Inc.
11 Group(de): X11/Libraries
12 Group(es): X11/Bibliotecas
13 Group(fr): X11/Librairies
14 Group(pl): X11/Biblioteki
15 Group(pt_BR): X11/Bibliotecas
16 Group(ru): X11/âÉÂÌÉÏÔÅËÉ
17 Group(uk): X11/â¦Â̦ÏÔÅËÉ
18 Source0: cvs://anonymous@cvs.glide.sourceforge.net:/cvsroot/glide/glide3x-%{snapdate}.tar.gz
19 Patch0: glide-ia64.patch
20 Patch1: glide-ac-workaround.patch
21 Patch2: glide-h3.patch
22 Patch3: glide-h5.patch
24 URL: http://glide.sourceforge.net/
25 BuildRequires: XFree86-devel
26 BuildRequires: automake
27 BuildRequires: autoconf
28 BuildRequires: libtool
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 Obsoletes: Glide_V5-DRI
34 This library allows the user to use a 3dfx Interactive Voodoo Banshee
35 or Voodoo3 card under Linux with DRI support. The source support DRI
36 or non-DRI versions of Glide.
39 Ta biblioteka pozwala u¿ytkownikowi na u¿ywanie kart 3dfx Interactive
40 Voodoo Banshee lub Voodoo3 pod Linuksem z DRI. Ta wersja zawiera
41 wsparcie dla wersji Glide z DRI i bez DRI.
44 Summary: Development headers for Glide 3.x
45 Summary(pl): Pliki nag³ówkowe Glide 3.x
46 Group: X11/Development/Libraries
47 Group(de): X11/Entwicklung/Libraries
48 Group(es): X11/Desarrollo/Bibliotecas
49 Group(fr): X11/Development/Librairies
50 Group(pl): X11/Programowanie/Biblioteki
51 Group(pt_BR): X11/Desenvolvimento/Bibliotecas
52 Group(ru): X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
53 Group(uk): X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
54 Requires: %{name} = %{version}
55 Provides: Glide3-DRI-devel
56 Obsoletes: Glide_V5-DRI-devel
59 This package includes the headers files, documentation, and test files
60 necessary for developing applications that use the 3Dfx Interactive
61 Voodoo Banshee or Voodoo3 cards.
63 %description devel -l pl
64 Ten pakiet zawiera pliki nag³ówkowe, dokumentacje, oraz pliki tekstowe
65 wymagane przez aplikacje deweloperskie, które u¿ywaj± kart 3Dfx
66 Interactive Voodoo Banshe lub Voodoo3.
69 Summary: Static library Glide 3.x
70 Summary(pl): Statyczne biblioteki Glide 3.x
71 Group: X11/Development/Libraries
72 Group(de): X11/Entwicklung/Libraries
73 Group(es): X11/Desarrollo/Bibliotecas
74 Group(fr): X11/Development/Librairies
75 Group(pl): X11/Programowanie/Biblioteki
76 Group(pt_BR): X11/Desenvolvimento/Bibliotecas
77 Group(ru): X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
78 Group(uk): X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
79 Requires: %{name}-devel = %{version}
80 Provides: Glide3-DRI-static
81 Obsoletes: Glide_V5-DRI-static
84 This package includes the static Glide3 library for Voodoo Banshee or
87 %description static -l pl
88 Ten pakiet zawiera statyczne biblioteki Glide3 dla kart Voodoo Banshee
92 %setup -q -n glide3x-%{snapdate}
100 libtoolize --copy --force
105 --enable-fx-dri-build \
106 --enable-fx-glide-hw=h3 \
107 --enable-fx-debug=no \
112 %{__make} -f makefile.autoconf all \
113 GLIDE_DEBUG_GCFLAGS="%{rpmcflags} -fno-expensive-optimizations %{!?debug:-fomit-frame-pointer -ffast-math}" \
114 GLIDE_DEBUG_GDEFS="%{!?debug:-DBIG_OPT} %{?debug:-DGDBG_INFO_ON -DGLIDE_DEBUG}"
117 rm -rf $RPM_BUILD_ROOT
118 install -d $RPM_BUILD_ROOT%{_examplesdir}/glide3/tests
120 # something is recompiled - use GCFLAGS too
121 %{__make} -f makefile.autoconf install \
122 GLIDE_DEBUG_GCFLAGS="%{rpmcflags} -fno-expensive-optimizations %{!?debug:-fomit-frame-pointer -ffast-math}" \
123 GLIDE_DEBUG_GDEFS="%{!?debug:-DBIG_OPT} %{?debug:-DGDBG_INFO_ON -DGLIDE_DEBUG}" \
124 DESTDIR=$RPM_BUILD_ROOT
126 ln -sf libglide3.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libglide3x_V3.so
127 ln -sf libglide3.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libglide3x.so
129 # Install the examples and their source, no binaries
130 install h3/glide3/tests/makefile.distrib $RPM_BUILD_ROOT%{_examplesdir}/glide3/tests/makefile
131 install h3/glide3/tests/*.3df $RPM_BUILD_ROOT%{_examplesdir}/glide3/tests
132 install h3/glide3/tests/test??.c $RPM_BUILD_ROOT%{_examplesdir}/glide3/tests
133 install h3/glide3/tests/tldata.inc $RPM_BUILD_ROOT%{_examplesdir}/glide3/tests
134 install h3/glide3/tests/tlib.[ch] $RPM_BUILD_ROOT%{_examplesdir}/glide3/tests
136 gzip -9nf glide_license.txt
139 rm -rf $RPM_BUILD_ROOT
141 %post -p /sbin/ldconfig
142 %postun -p /sbin/ldconfig
145 %defattr(644,root,root,755)
146 %doc glide_license.txt.gz
147 %attr(755,root,root) %{_libdir}/libglide3.so.*.*.*
148 %attr(755,root,root) %{_libdir}/libglide3x.so
149 %attr(755,root,root) %{_libdir}/libglide3x_V3.so
152 %defattr(644,root,root,755)
153 %{_examplesdir}/glide3
154 %attr(755,root,root) %{_libdir}/lib*.la
155 %attr(755,root,root) %{_libdir}/libglide3.so
156 %{_includedir}/glide3
159 %defattr(644,root,root,755)