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
9 Group(de): X11/Libraries
10 Group(es): X11/Bibliotecas
11 Group(fr): X11/Librairies
12 Group(pl): X11/Biblioteki
13 License: 3dfx Glide General Public License, 3Dfx Interactive Inc.
14 URL: http://glide.sourceforge.net/
15 Source0: cvs://anonymous@cvs.glide.sourceforge.net:/cvsroot/glide/glide3x-%{snapdate}.tar.gz
16 Patch0: glide-ia64.patch
17 Vendor: 3dfx Interactive Inc.
19 BuildRequires: XFree86-devel
20 BuildRequires: automake
21 BuildRequires: autoconf
22 BuildRequires: libtool
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 This library allows the user to use a 3dfx Interactive Voodoo Banshee
27 or Voodoo3 card under Linux with DRI support. The source support DRI
28 or non-DRI versions of Glide.
31 Ta biblioteka pozwala u¿ytkownikowi na u¿ywanie kart 3dfx Interactive
32 Voodoo Banshee lub Voodoo3 pod Linux'em z DRI. Ta wersja zawiera
33 wsparcie dla wersji Glide'a z DRI i bez DRI.
36 Summary: Development headers for Glide 3.x
37 Summary(pl): Pliki nag³ówkowe Glide 3.x
38 Group: X11/Development/Libraries
39 Group(de): X11/Entwicklung/Libraries
40 Group(fr): X11/Development/Librairies
41 Group(pl): X11/Programowanie/Biblioteki
42 Requires: %{name} = %{version}
45 This package includes the headers files, documentation, and test files
46 necessary for developing applications that use the 3Dfx Interactive
47 Voodoo Banshe or Voodoo3 cards.
49 %description -l pl devel
50 Ten pakiet zawiera pliki nag³ówkowe, dokumentacje, oraz pliki tekstowe
51 wymagane przez aplikacje deweloperskie, które u¿ywaj± kart 3Dfx
52 Interactive Voodoo Banshe lub Voodoo3.
55 Summary: Static library Glide 3.x
56 Summary(pl): Statyczne biblioteki Glide 3.x
57 Group: X11/Development/Libraries
58 Group(de): X11/Entwicklung/Libraries
59 Group(fr): X11/Development/Librairies
60 Group(pl): X11/Programowanie/Biblioteki
61 Requires: %{name} = %{version}
64 This package includes the static Glide3 library.
66 %description -l pl static
67 Ten pakiet zawiera statyczne biblioteki Glide3.
70 %setup -q -n glide3x-%{snapdate}
75 libtoolize --copy --force
80 --enable-fx-dri-build \
81 --enable-fx-glide-hw=h3 \
84 %{__make} -f makefile.autoconf all
87 rm -rf $RPM_BUILD_ROOT
88 install -d $RPM_BUILD_ROOT%{_examplesdir}/glide3/tests
90 %{__make} -f makefile.autoconf install \
91 DESTDIR=$RPM_BUILD_ROOT
93 ln -s libglide3.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libglide3x_V3.so
94 ln -s libglide3.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libglide3x.so
96 # Install the examples and their source, no binaries
97 install h3/glide3/tests/makefile.distrib $RPM_BUILD_ROOT%{_examplesdir}/glide3/tests/makefile
98 install h3/glide3/tests/*.3df $RPM_BUILD_ROOT%{_examplesdir}/glide3/tests
99 install h3/glide3/tests/test??.c $RPM_BUILD_ROOT%{_examplesdir}/glide3/tests
100 install h3/glide3/tests/tldata.inc $RPM_BUILD_ROOT%{_examplesdir}/glide3/tests
101 install h3/glide3/tests/tlib.[ch] $RPM_BUILD_ROOT%{_examplesdir}/glide3/tests
103 gzip -9nf glide_license.txt
106 rm -rf $RPM_BUILD_ROOT
108 %post -p /sbin/ldconfig
109 %postun -p /sbin/ldconfig
112 %defattr(644,root,root,755)
113 %doc glide_license.txt.gz
114 %attr(755,root,root) %{_libdir}/libglide3.so.*.*.*
115 %attr(755,root,root) %{_libdir}/libglide3x.so
116 %attr(755,root,root) %{_libdir}/libglide3x_V3.so
119 %defattr(644,root,root,755)
121 %{_examplesdir}/glide3
122 %attr(755,root,root) %{_libdir}/lib*.la
123 %attr(755,root,root) %{_libdir}/libglide3.so
124 %{_includedir}/glide3
127 %defattr(644,root,root,755)