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
12 Copyright: 3dfx Glide General Public License, 3Dfx Interactive Inc.
13 URL: http://glide.sourceforge.net/
14 Source: cvs://anonymous@cvs.glide.sourceforge.net:/cvsroot/glide/glide3x-%{snapdate}.tar.gz
15 Patch: glide-ia64.patch
16 Vendor: 3dfx Interactive Inc.
18 BuildRequires: XFree86-devel
19 BuildRequires: automake
20 BuildRequires: autoconf
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 This library allows the user to use a 3dfx Interactive Voodoo Banshee
25 or Voodoo3 card under Linux with DRI support. The source support DRI
26 or non-DRI versions of Glide.
29 Ta biblioteka pozwala u¿ytkownikowi na u¿ywanie kart 3dfx Interactive
30 Voodoo Banshee lub Voodoo3 pod Linux'em z DRI. Ta wersja zawiera wsparcie
31 dla wersji Glide'a z DRI i bez DRI.
34 Summary: Development headers for Glide 3.x
35 Group: Development/Libraries
36 Group(pl): Programowanie/Biblioteki
37 Group(de): Entwicklung/Libraries
38 Group(fr): Development/Librairies
39 Requires: %{name} = %{version}
42 This package includes the headers files, documentation, and test files
43 necessary for developing applications that use the 3Dfx Interactive
44 Voodoo Banshe or Voodoo3 cards.
46 %description -l pl devel
47 Ten pakiet zawiera pliki nag³ówkowe, dokumentacje, oraz pliki tekstowe
48 wymagane przez aplikacje deweloperskie, które u¿ywaj± kart 3Dfx Interactive
49 Voodoo Banshe lub Voodoo3.
52 Summary: Static library Glide 3.x
53 Summary(pl): Statyczne biblioteki Glide 3.x
54 Group: Development/Libraries
55 Group(pl): Programowanie/Biblioteki
56 Group(de): Entwicklung/Libraries
57 Group(fr): Development/Librairies
58 Requires: %{name} = %{version}
61 This package includes the static Glide3 library.
63 %description -l pl static
64 Ten pakiet zawiera statyczne biblioteki Glide3.
67 %setup -q -n glide3x-%{snapdate}
76 --enable-fx-dri-build \
77 --enable-fx-glide-hw=h3 \
80 %{__make} -f makefile.autoconf all
83 rm -rf $RPM_BUILD_ROOT
84 install -d $RPM_BUILD_ROOT%{_examplesdir}/glide3/tests
86 %{__make} -f makefile.autoconf install \
87 DESTDIR=$RPM_BUILD_ROOT
89 ln -s libglide3.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libglide3x_V3.so
90 ln -s libglide3.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libglide3x.so
92 # Install the examples and their source, no binaries
93 install h3/glide3/tests/makefile.distrib $RPM_BUILD_ROOT%{_examplesdir}/glide3/tests/makefile
94 install h3/glide3/tests/*.3df $RPM_BUILD_ROOT%{_examplesdir}/glide3/tests
95 install h3/glide3/tests/test??.c $RPM_BUILD_ROOT%{_examplesdir}/glide3/tests
96 install h3/glide3/tests/tldata.inc $RPM_BUILD_ROOT%{_examplesdir}/glide3/tests
97 install h3/glide3/tests/tlib.[ch] $RPM_BUILD_ROOT%{_examplesdir}/glide3/tests
99 gzip -9nf glide_license.txt
102 rm -rf $RPM_BUILD_ROOT
104 %post -p /sbin/ldconfig
105 %postun -p /sbin/ldconfig
108 %defattr(644,root,root,755)
109 %doc glide_license.txt.gz
110 %attr(755,root,root) %{_libdir}/libglide3.so.*.*.*
111 %attr(755,root,root) %{_libdir}/libglide3x.so
112 %attr(755,root,root) %{_libdir}/libglide3x_V3.so
115 %defattr(644,root,root,755)
117 %{_examplesdir}/glide3
118 %attr(755,root,root) %{_libdir}/lib*.la
119 %attr(755,root,root) %{_libdir}/libglide3.so
120 %{_includedir}/glide3
123 %defattr(644,root,root,755)