]> git.pld-linux.org Git - packages/Glide_V3-DRI.git/blob - Glide_V3-DRI.spec
382f8920883c7e0cac569c06d0a4cb0be1fa2096
[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:        0.%{snapdate}
7 Epoch:          1
8 Group:          X11/Libraries
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.
18 Icon:           3dfx.gif
19 BuildRequires:  XFree86-devel
20 BuildRequires:  automake
21 BuildRequires:  autoconf
22 BuildRequires:  libtool
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description 
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.
29
30 %description -l pl
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.
34
35 %package devel
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}
43
44 %description devel
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.
48
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.
53
54 %package static
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}
62
63 %description static
64 This package includes the static Glide3 library.
65
66 %description -l pl static
67 Ten pakiet zawiera statyczne biblioteki Glide3.
68
69 %prep
70 %setup -q -n glide3x-%{snapdate}
71 %patch0 -p1
72
73 %build
74 rm -f missing
75 libtoolize --copy --force
76 aclocal
77 autoconf
78 automake -a -c
79 %configure \
80         --enable-fx-dri-build \
81         --enable-fx-glide-hw=h3 \
82         --enable-fx-debug=no
83
84 %{__make} -f makefile.autoconf all
85
86 %install
87 rm -rf $RPM_BUILD_ROOT
88 install -d $RPM_BUILD_ROOT%{_examplesdir}/glide3/tests
89
90 %{__make} -f makefile.autoconf install \
91         DESTDIR=$RPM_BUILD_ROOT
92
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
95
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
102
103 gzip -9nf glide_license.txt
104
105 %clean
106 rm -rf $RPM_BUILD_ROOT
107
108 %post -p /sbin/ldconfig
109 %postun -p /sbin/ldconfig
110
111 %files
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
117
118 %files devel
119 %defattr(644,root,root,755)
120 #%doc docs/*.pdf
121 %{_examplesdir}/glide3
122 %attr(755,root,root) %{_libdir}/lib*.la
123 %attr(755,root,root) %{_libdir}/libglide3.so
124 %{_includedir}/glide3
125
126 %files static
127 %defattr(644,root,root,755)
128 %{_libdir}/lib*.a
This page took 0.049872 seconds and 2 git commands to generate.