]> git.pld-linux.org Git - packages/Glide_V3-DRI.git/blobdiff - Glide_V3-DRI.spec
- rel 15
[packages/Glide_V3-DRI.git] / Glide_V3-DRI.spec
index 711a9664c00a45e50560ab9653f39ec92305d001..5a2db18bb9350ab1e40f78108609a8fc8620d537 100644 (file)
@@ -1,57 +1,55 @@
 %define snapdate 20010309
 %define snapdate 20010309
+%define        rel     15
 Summary:       Glide runtime for 3Dfx Voodoo Banshee and Voodoo3 boards
 Summary:       Glide runtime for 3Dfx Voodoo Banshee and Voodoo3 boards
-Summary(pl):   Biblioteki Glide dla kart 3Dfx Voodoo Banshee oraz Voodoo3
+Summary(ko.UTF-8):     3Dfx 부두 벤쉬/3 비디오카드용 Glide 런타임 라이브러리
+Summary(pl.UTF-8):     Biblioteki Glide dla kart 3Dfx Voodoo Banshee oraz Voodoo3
 Name:          Glide_V3-DRI
 Version:       3.10.0
 Name:          Glide_V3-DRI
 Version:       3.10.0
-Release:       0.%{snapdate}.5
+Release:       0.%{snapdate}.%{rel}
 Epoch:         1
 License:       3dfx Glide General Public License, 3Dfx Interactive Inc.
 Epoch:         1
 License:       3dfx Glide General Public License, 3Dfx Interactive Inc.
-Vendor:                3dfx Interactive Inc.
 Group:         X11/Libraries
 Group:         X11/Libraries
-Group(de):     X11/Libraries
-Group(es):     X11/Bibliotecas
-Group(fr):     X11/Librairies
-Group(pl):     X11/Biblioteki
-Group(pt_BR):  X11/Bibliotecas
-Group(ru):     X11/âÉÂÌÉÏÔÅËÉ
-Group(uk):     X11/â¦Â̦ÏÔÅËÉ
 Source0:       cvs://anonymous@cvs.glide.sourceforge.net:/cvsroot/glide/glide3x-%{snapdate}.tar.gz
 Source0:       cvs://anonymous@cvs.glide.sourceforge.net:/cvsroot/glide/glide3x-%{snapdate}.tar.gz
+# Source0-md5: 42a8e093221b2360ec96191ae0e13ce0
 Patch0:                glide-ia64.patch
 Patch1:                glide-ac-workaround.patch
 Patch2:                glide-h3.patch
 Patch3:                glide-h5.patch
 Patch0:                glide-ia64.patch
 Patch1:                glide-ac-workaround.patch
 Patch2:                glide-h3.patch
 Patch3:                glide-h5.patch
-Icon:          3dfx.gif
+Patch4:                glide-am16.patch
+Patch5:                glide-gcc33.patch
+Patch6:                glide-ioctl.patch
+Patch7:                glide-morearchs.patch
+Patch8:                glide-gcc34.patch
+Patch9:        glide-no_redefine_macro.patch
 URL:           http://glide.sourceforge.net/
 URL:           http://glide.sourceforge.net/
-BuildRequires: XFree86-devel
-BuildRequires: automake
 BuildRequires: autoconf
 BuildRequires: autoconf
+BuildRequires: automake
 BuildRequires: libtool
 BuildRequires: libtool
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+BuildRequires: xorg-lib-libX11-devel
+BuildRequires: xorg-lib-libXau-devel
+BuildRequires: xorg-lib-libXdmcp-devel
+BuildRequires: xorg-lib-libXext-devel
+BuildRequires: xorg-lib-libXxf86dga-devel
+BuildRequires: xorg-lib-libXxf86vm-devel
 Provides:      Glide3-DRI
 Obsoletes:     Glide_V5-DRI
 Provides:      Glide3-DRI
 Obsoletes:     Glide_V5-DRI
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 
-%description 
+%description
 This library allows the user to use a 3dfx Interactive Voodoo Banshee
 or Voodoo3 card under Linux with DRI support. The source support DRI
 or non-DRI versions of Glide.
 
 This library allows the user to use a 3dfx Interactive Voodoo Banshee
 or Voodoo3 card under Linux with DRI support. The source support DRI
 or non-DRI versions of Glide.
 
-%description -l pl
-Ta biblioteka pozwala u¿ytkownikowi na u¿ywanie kart 3dfx Interactive
+%description -l pl.UTF-8
+Ta biblioteka pozwala użytkownikowi na używanie kart 3dfx Interactive
 Voodoo Banshee lub Voodoo3 pod Linuksem z DRI. Ta wersja zawiera
 wsparcie dla wersji Glide z DRI i bez DRI.
 
 %package devel
 Summary:       Development headers for Glide 3.x
 Voodoo Banshee lub Voodoo3 pod Linuksem z DRI. Ta wersja zawiera
 wsparcie dla wersji Glide z DRI i bez DRI.
 
 %package devel
 Summary:       Development headers for Glide 3.x
-Summary(pl):   Pliki nag³ówkowe Glide 3.x
+Summary(pl.UTF-8):     Pliki nagłówkowe Glide 3.x
 Group:         X11/Development/Libraries
 Group:         X11/Development/Libraries
-Group(de):     X11/Entwicklung/Libraries
-Group(es):     X11/Desarrollo/Bibliotecas
-Group(fr):     X11/Development/Librairies
-Group(pl):     X11/Programowanie/Biblioteki
-Group(pt_BR):  X11/Desenvolvimento/Bibliotecas
-Group(ru):     X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
-Group(uk):     X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
-Requires:      %{name} = %{version}
+Requires:      %{name} = %{epoch}:%{version}-%{release}
 Provides:      Glide3-DRI-devel
 Obsoletes:     Glide_V5-DRI-devel
 
 Provides:      Glide3-DRI-devel
 Obsoletes:     Glide_V5-DRI-devel
 
@@ -60,23 +58,16 @@ This package includes the headers files, documentation, and test files
 necessary for developing applications that use the 3Dfx Interactive
 Voodoo Banshee or Voodoo3 cards.
 
 necessary for developing applications that use the 3Dfx Interactive
 Voodoo Banshee or Voodoo3 cards.
 
-%description devel -l pl
-Ten pakiet zawiera pliki nag³ówkowe, dokumentacje, oraz pliki tekstowe
-wymagane przez aplikacje deweloperskie, które u¿ywaj± kart 3Dfx
+%description devel -l pl.UTF-8
+Ten pakiet zawiera pliki nagłówkowe, dokumentacje, oraz pliki tekstowe
+wymagane przez aplikacje deweloperskie, które używają kart 3Dfx
 Interactive Voodoo Banshe lub Voodoo3.
 
 %package static
 Summary:       Static library Glide 3.x
 Interactive Voodoo Banshe lub Voodoo3.
 
 %package static
 Summary:       Static library Glide 3.x
-Summary(pl):   Statyczne biblioteki Glide 3.x
+Summary(pl.UTF-8):     Statyczne biblioteki Glide 3.x
 Group:         X11/Development/Libraries
 Group:         X11/Development/Libraries
-Group(de):     X11/Entwicklung/Libraries
-Group(es):     X11/Desarrollo/Bibliotecas
-Group(fr):     X11/Development/Librairies
-Group(pl):     X11/Programowanie/Biblioteki
-Group(pt_BR):  X11/Desenvolvimento/Bibliotecas
-Group(ru):     X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
-Group(uk):     X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
-Requires:      %{name}-devel = %{version}
+Requires:      %{name}-devel = %{epoch}:%{version}-%{release}
 Provides:      Glide3-DRI-static
 Obsoletes:     Glide_V5-DRI-static
 
 Provides:      Glide3-DRI-static
 Obsoletes:     Glide_V5-DRI-static
 
@@ -84,7 +75,7 @@ Obsoletes:    Glide_V5-DRI-static
 This package includes the static Glide3 library for Voodoo Banshee or
 Voodoo3 cards.
 
 This package includes the static Glide3 library for Voodoo Banshee or
 Voodoo3 cards.
 
-%description static -l pl
+%description static -l pl.UTF-8
 Ten pakiet zawiera statyczne biblioteki Glide3 dla kart Voodoo Banshee
 lub Voodoo3.
 
 Ten pakiet zawiera statyczne biblioteki Glide3 dla kart Voodoo Banshee
 lub Voodoo3.
 
@@ -94,66 +85,76 @@ lub Voodoo3.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1
+%patch8 -p1
+%patch9 -p1
 
 %build
 
 %build
-rm -f missing
-libtoolize --copy --force
-aclocal
-autoconf
-automake -a -c -i
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake} -i
 %configure \
        --enable-fx-dri-build \
        --enable-fx-glide-hw=h3 \
        --enable-fx-debug=no \
 %configure \
        --enable-fx-dri-build \
        --enable-fx-glide-hw=h3 \
        --enable-fx-debug=no \
-%ifarch i586 i686
+%ifarch i586 i686 athlon pentium3 pentium4
        --enable-amd3d
 %endif
 
 %{__make} -f makefile.autoconf all \
        GLIDE_DEBUG_GCFLAGS="%{rpmcflags} -fno-expensive-optimizations %{!?debug:-fomit-frame-pointer -ffast-math}" \
        --enable-amd3d
 %endif
 
 %{__make} -f makefile.autoconf all \
        GLIDE_DEBUG_GCFLAGS="%{rpmcflags} -fno-expensive-optimizations %{!?debug:-fomit-frame-pointer -ffast-math}" \
-       GLIDE_DEBUG_GDEFS="%{!?debug:-DBIG_OPT} %{?debug:-DGDBG_INFO_ON -DGLIDE_DEBUG}"
+       GLIDE_DEBUG_GDEFS="%{!?debug:-DBIG_OPT} %{?debug:-DGDBG_INFO_ON -DGLIDE_DEBUG}" \
+       LINK_LIBS="-L/usr/X11R6/%{_lib} -lX11 -lXext -lXxf86dga -lXxf86vm -lm"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_examplesdir}/glide3/tests
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/tests
 
 # something is recompiled - use GCFLAGS too
 %{__make} -f makefile.autoconf install \
        GLIDE_DEBUG_GCFLAGS="%{rpmcflags} -fno-expensive-optimizations %{!?debug:-fomit-frame-pointer -ffast-math}" \
        GLIDE_DEBUG_GDEFS="%{!?debug:-DBIG_OPT} %{?debug:-DGDBG_INFO_ON -DGLIDE_DEBUG}" \
 
 # something is recompiled - use GCFLAGS too
 %{__make} -f makefile.autoconf install \
        GLIDE_DEBUG_GCFLAGS="%{rpmcflags} -fno-expensive-optimizations %{!?debug:-fomit-frame-pointer -ffast-math}" \
        GLIDE_DEBUG_GDEFS="%{!?debug:-DBIG_OPT} %{?debug:-DGDBG_INFO_ON -DGLIDE_DEBUG}" \
+       LINK_LIBS="-L/usr/X11R6/%{_lib} -lX11 -lXext -lXxf86dga -lXxf86vm -lm" \
        DESTDIR=$RPM_BUILD_ROOT
 
        DESTDIR=$RPM_BUILD_ROOT
 
+# used by tdfx_dri.so from XFree86
+ln -sf libglide3.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libglide3-v3.so
+# used by ???
 ln -sf libglide3.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libglide3x_V3.so
 ln -sf libglide3.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libglide3x.so
 
 # Install the examples and their source, no binaries
 ln -sf libglide3.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libglide3x_V3.so
 ln -sf libglide3.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libglide3x.so
 
 # Install the examples and their source, no binaries
-install h3/glide3/tests/makefile.distrib $RPM_BUILD_ROOT%{_examplesdir}/glide3/tests/makefile
-install h3/glide3/tests/*.3df $RPM_BUILD_ROOT%{_examplesdir}/glide3/tests
-install h3/glide3/tests/test??.c $RPM_BUILD_ROOT%{_examplesdir}/glide3/tests
-install h3/glide3/tests/tldata.inc $RPM_BUILD_ROOT%{_examplesdir}/glide3/tests
-install h3/glide3/tests/tlib.[ch] $RPM_BUILD_ROOT%{_examplesdir}/glide3/tests
-
-gzip -9nf glide_license.txt
+install h3/glide3/tests/makefile.distrib $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/tests/makefile
+install h3/glide3/tests/*.3df $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/tests
+install h3/glide3/tests/test??.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/tests
+install h3/glide3/tests/tldata.inc $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/tests
+install h3/glide3/tests/tlib.[ch] $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/tests
+gzip -9nf $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/tests/*.3df
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post -p /sbin/ldconfig
+%post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
 %postun -p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
-%doc glide_license.txt.gz
+%doc glide_license.txt
 %attr(755,root,root) %{_libdir}/libglide3.so.*.*.*
 %attr(755,root,root) %{_libdir}/libglide3.so.*.*.*
+%attr(755,root,root) %{_libdir}/libglide3-v3.so
 %attr(755,root,root) %{_libdir}/libglide3x.so
 %attr(755,root,root) %{_libdir}/libglide3x_V3.so
 
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libglide3x.so
 %attr(755,root,root) %{_libdir}/libglide3x_V3.so
 
 %files devel
 %defattr(644,root,root,755)
-%{_examplesdir}/glide3
-%attr(755,root,root) %{_libdir}/lib*.la
 %attr(755,root,root) %{_libdir}/libglide3.so
 %attr(755,root,root) %{_libdir}/libglide3.so
+%{_libdir}/lib*.la
 %{_includedir}/glide3
 %{_includedir}/glide3
+%{_examplesdir}/%{name}-%{version}
 
 %files static
 %defattr(644,root,root,755)
 
 %files static
 %defattr(644,root,root,755)
This page took 0.053605 seconds and 4 git commands to generate.