2 # _with_3dnow - with 3Dnow! instructions
3 %define snapdate 20010309
4 Summary: Glide runtime for 3Dfx Voodoo Banshee and Voodoo3 boards
5 Summary(pl): Biblioteki Glide dla kart 3Dfx Voodoo Banshee oraz Voodoo3
8 Release: 0.%{snapdate}.4
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 License: 3dfx Glide General Public License, 3Dfx Interactive Inc.
19 URL: http://glide.sourceforge.net/
20 Source0: cvs://anonymous@cvs.glide.sourceforge.net:/cvsroot/glide/glide3x-%{snapdate}.tar.gz
21 Patch0: glide-ia64.patch
22 Patch1: glide-ac-workaround.patch
23 Patch2: glide-h3.patch
24 Patch3: glide-h5.patch
25 Vendor: 3dfx Interactive Inc.
27 BuildRequires: XFree86-devel
28 BuildRequires: automake
29 BuildRequires: autoconf
30 BuildRequires: libtool
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 Obsoletes: Glide_V5-DRI
36 This library allows the user to use a 3dfx Interactive Voodoo Banshee
37 or Voodoo3 card under Linux with DRI support. The source support DRI
38 or non-DRI versions of Glide.
41 Ta biblioteka pozwala u¿ytkownikowi na u¿ywanie kart 3dfx Interactive
42 Voodoo Banshee lub Voodoo3 pod Linux'em z DRI. Ta wersja zawiera
43 wsparcie dla wersji Glide z DRI i bez DRI.
46 Summary: Development headers for Glide 3.x
47 Summary(pl): Pliki nag³ówkowe Glide 3.x
48 Group: X11/Development/Libraries
49 Group(de): X11/Entwicklung/Libraries
50 Group(es): X11/Desarrollo/Bibliotecas
51 Group(fr): X11/Development/Librairies
52 Group(pl): X11/Programowanie/Biblioteki
53 Group(pt_BR): X11/Desenvolvimento/Bibliotecas
54 Group(ru): X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
55 Group(uk): X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
56 Requires: %{name} = %{version}
57 Provides: Glide3-DRI-devel
58 Obsoletes: Glide_V5-DRI-devel
61 This package includes the headers files, documentation, and test files
62 necessary for developing applications that use the 3Dfx Interactive
63 Voodoo Banshee or Voodoo3 cards.
65 %description -l pl devel
66 Ten pakiet zawiera pliki nag³ówkowe, dokumentacje, oraz pliki tekstowe
67 wymagane przez aplikacje deweloperskie, które u¿ywaj± kart 3Dfx
68 Interactive Voodoo Banshe lub Voodoo3.
71 Summary: Static library Glide 3.x
72 Summary(pl): Statyczne biblioteki Glide 3.x
73 Group: X11/Development/Libraries
74 Group(de): X11/Entwicklung/Libraries
75 Group(es): X11/Desarrollo/Bibliotecas
76 Group(fr): X11/Development/Librairies
77 Group(pl): X11/Programowanie/Biblioteki
78 Group(pt_BR): X11/Desenvolvimento/Bibliotecas
79 Group(ru): X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
80 Group(uk): X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
81 Requires: %{name}-devel = %{version}
82 Provides: Glide3-DRI-static
83 Obsoletes: Glide_V5-DRI-static
86 This package includes the static Glide3 library for Voodoo Banshee or
89 %description -l pl static
90 Ten pakiet zawiera statyczne biblioteki Glide3 dla kart Voodoo Banshee
94 %setup -q -n glide3x-%{snapdate}
102 libtoolize --copy --force
107 --enable-fx-dri-build \
108 --enable-fx-glide-hw=h3 \
109 --enable-fx-debug=no \
110 %{?_with_3dnow:--enable-amd3d}
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)
154 %{_examplesdir}/glide3
155 %attr(755,root,root) %{_libdir}/lib*.la
156 %attr(755,root,root) %{_libdir}/libglide3.so
157 %{_includedir}/glide3
160 %defattr(644,root,root,755)