]> git.pld-linux.org Git - packages/Glide_V3-DRI.git/blame - Glide_V3-DRI.spec
20010309 snapshot
[packages/Glide_V3-DRI.git] / Glide_V3-DRI.spec
CommitLineData
8c36d1ec 1%define snapdate 20010309
f621645c
JR
2Summary: Glide runtime for 3Dfx Voodoo Banshee and Voodoo3 boards
3Name: Glide_V3-DRI
8c36d1ec
AM
4Version: 3.10.0
5Release: %{snapdate}.1
f621645c
JR
6Group: Libraries
7Copyright: 3dfx Glide General Public License, 3Dfx Interactive Inc.
8c36d1ec
AM
8URL: http://glide.sourceforge.net/
9Source: cvs://anonymous@cvs.glide.sourceforge.net:/cvsroot/glide/glide3x-%{snapdate}.tar.gz
10Patch: glide-ia64.patch
f621645c
JR
11Vendor: 3dfx Interactive Inc.
12Icon: 3dfx.gif
3c441299 13BuildRequires: XFree86-devel
8c36d1ec
AM
14BuildRequires: automake
15BuildRequires: autoconf
f621645c
JR
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19This library allows the user to use a 3dfx Interactive Voodoo Banshee
20or Voodoo3 card under Linux with DRI support. The source support DRI
21or non-DRI versions of Glide.
22
23%package devel
24Summary: Development headers for Glide 3.x
25Group: Development/Libraries
26Requires: %{name} = %{version}
27
28%description devel
29This package includes the headers files, documentation, and test files
30necessary for developing applications that use the 3Dfx Interactive
31Voodoo Banshe or Voodoo3 cards.
32
82296548
JR
33%package static
34Summary: Static library Glide 3.x
35Group: Development/Libraries
36Requires: %{name} = %{version}
f621645c 37
82296548
JR
38%description static
39This package includes the static Glide3 library.
40
41%prep
8c36d1ec
AM
42%setup -q -n glide3x-%{snapdate}
43%patch0 -p1
952774e5 44
f621645c 45%build
8c36d1ec
AM
46rm -f missing
47aclocal
48automake -a -c
49autoconf
50%configure \
51 --enable-fx-dri-build \
52 --enable-fx-glide-hw=h3 \
53 --enable-fx-debug=no
54
55%{__make} -f makefile.autoconf all
f621645c
JR
56
57%install
58rm -rf $RPM_BUILD_ROOT
82296548
JR
59install -d $RPM_BUILD_ROOT%{_examplesdir}/glide3/tests
60
8c36d1ec 61%{__make} -f makefile.autoconf install \
82296548
JR
62 DESTDIR=$RPM_BUILD_ROOT
63
8c36d1ec
AM
64ln -s libglide3.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libglide3x_V3.so
65ln -s libglide3.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libglide3x.so
f621645c
JR
66
67# Install the examples and their source, no binaries
8c36d1ec
AM
68install h3/glide3/tests/makefile.distrib $RPM_BUILD_ROOT%{_examplesdir}/glide3/tests/makefile
69install h3/glide3/tests/*.3df $RPM_BUILD_ROOT%{_examplesdir}/glide3/tests
70install h3/glide3/tests/test??.c $RPM_BUILD_ROOT%{_examplesdir}/glide3/tests
71install h3/glide3/tests/tldata.inc $RPM_BUILD_ROOT%{_examplesdir}/glide3/tests
72install h3/glide3/tests/tlib.[ch] $RPM_BUILD_ROOT%{_examplesdir}/glide3/tests
f621645c 73
f621645c
JR
74gzip -9nf glide_license.txt
75
76%clean
77rm -rf $RPM_BUILD_ROOT
78
79%post -p /sbin/ldconfig
80%postun -p /sbin/ldconfig
81
82%files
83%defattr(644,root,root,755)
84%doc glide_license.txt.gz
82296548 85%attr(755,root,root) %{_libdir}/libglide3.so.*.*.*
f621645c
JR
86%attr(755,root,root) %{_libdir}/libglide3x.so
87%attr(755,root,root) %{_libdir}/libglide3x_V3.so
f621645c
JR
88
89%files devel
90%defattr(644,root,root,755)
82296548 91#%doc docs/*.pdf
8c36d1ec
AM
92%{_examplesdir}/glide3
93%attr(755,root,root) %{_libdir}/lib*.la
94%attr(755,root,root) %{_libdir}/libglide3.so
f621645c 95%{_includedir}/glide3
82296548
JR
96
97%files static
98%defattr(644,root,root,755)
99%{_libdir}/lib*.a
This page took 1.629737 seconds and 4 git commands to generate.