]> git.pld-linux.org Git - packages/Glide_V3-DRI.git/blob - Glide_V3-DRI.spec
d92aec26f262ab6c333192882943ddb2e8de98ab
[packages/Glide_V3-DRI.git] / Glide_V3-DRI.spec
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
4 Name:           Glide_V3-DRI
5 Version:        3.10.0
6 Release:        %{snapdate}.1
7 Group:          Libraries
8 Group(pl):      Biblioteki
9 Group(es):      Bibliotecas
10 Group(fr):      Librairies
11 Group(de):      Libraries
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.
17 Icon:           3dfx.gif
18 BuildRequires:  XFree86-devel
19 BuildRequires:  automake
20 BuildRequires:  autoconf
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description 
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.
27
28 %description -l pl
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.
32
33 %package devel
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}
40
41 %description devel
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.
45
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.
50
51 %package static
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}
59
60 %description static
61 This package includes the static Glide3 library.
62
63 %description -l pl static
64 Ten pakiet zawiera statyczne biblioteki Glide3.
65
66 %prep
67 %setup -q -n glide3x-%{snapdate}
68 %patch0 -p1
69
70 %build
71 rm -f missing
72 aclocal
73 automake -a -c
74 autoconf
75 %configure \
76         --enable-fx-dri-build \
77         --enable-fx-glide-hw=h3 \
78         --enable-fx-debug=no
79
80 %{__make} -f makefile.autoconf all
81
82 %install
83 rm -rf $RPM_BUILD_ROOT
84 install -d $RPM_BUILD_ROOT%{_examplesdir}/glide3/tests
85
86 %{__make} -f makefile.autoconf install \
87         DESTDIR=$RPM_BUILD_ROOT
88
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
91
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
98
99 gzip -9nf glide_license.txt
100
101 %clean
102 rm -rf $RPM_BUILD_ROOT
103
104 %post -p /sbin/ldconfig
105 %postun -p /sbin/ldconfig
106
107 %files
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
113
114 %files devel
115 %defattr(644,root,root,755)
116 #%doc docs/*.pdf
117 %{_examplesdir}/glide3
118 %attr(755,root,root) %{_libdir}/lib*.la
119 %attr(755,root,root) %{_libdir}/libglide3.so
120 %{_includedir}/glide3
121
122 %files static
123 %defattr(644,root,root,755)
124 %{_libdir}/lib*.a
This page took 0.072908 seconds and 3 git commands to generate.