SPECS (AC-branch): mplayer.spec - -vidix subpackage - corrected de...

glen glen at pld-linux.org
Sat Dec 9 15:06:50 CET 2006


Author: glen                         Date: Sat Dec  9 14:06:50 2006 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- -vidix subpackage
- corrected deps and scriptlets

---- Files affected:
SPECS:
   mplayer.spec (1.354.2.1 -> 1.354.2.2) 

---- Diffs:

================================================================
Index: SPECS/mplayer.spec
diff -u SPECS/mplayer.spec:1.354.2.1 SPECS/mplayer.spec:1.354.2.2
--- SPECS/mplayer.spec:1.354.2.1	Sat Dec  9 14:45:31 2006
+++ SPECS/mplayer.spec	Sat Dec  9 15:06:45 2006
@@ -73,7 +73,7 @@
 %define		snap		%{nil}
 
 %define		_rc	rc1
-%define		_rel	1.2
+%define		_rel	1.3
 Summary:	MPlayer - THE Movie Player for UN*X
 Summary(de):	MPlayer ist ein unter der freien GPL-Lizenz stehender Media-Player
 Summary(es):	Otro reproductor de películas
@@ -180,7 +180,6 @@
 %{?with_xmms:BuildRequires:	xmms-libs}
 %{?with_xvid:BuildRequires:	xvid-devel >= 1:0.9.0}
 BuildRequires:	zlib-devel
-Requires(post,postun):	/sbin/ldconfig
 Requires:	%{name}-common = %{epoch}:%{version}-%{release}
 Requires:	OpenGL
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -294,6 +293,34 @@
 %description -n mencoder -l pl
 MEncoder to koder filmów dla Linuksa będący częścią pakietu MPlayer.
 
+%package vidix
+Summary:	VIDeo Interface for *nIX
+Group:		Applications/Multimedia
+Requires:	mplayer-common = %{epoch}:%{version}-%{release}
+
+%description vidix
+VIDIX is the abbreviation for VIDeo Interface for *niX. VIDIX was
+designed and introduced as an interface for fast user-space drivers
+providing DGA everywhere where it's possible (unlike X11). I hope that
+these drivers will be as portable as X11 (not only on *nix).
+- What is it: It's a portable successor of mga_vid technology, but
+  it's located in user-space.
+- Unlike X11 it provides DGA everywhere it's possible
+- Unlike v4l it provides interface for video playback
+- Unlike linux's drivers it uses the math library
+
+This package contains drivers for:
+- 3DLabs GLINT R3/Permedia3
+- ATI Mach64
+- ATI Radeon
+- ATI Rage128
+- Matrox Gxxx series (using BES and CRTC2)
+- nVidia chips (experimental)
+- SiS chips (experimental)
+- S3 Savage chips (experimental)
+- Trident Cyberblade i1
+- VIA CLE266
+
 %prep
 %setup -q -n %{sname}-%{version}%{_rc} -a3 -a6 -a9
 cp -f etc/codecs.conf etc/codecs.win32.conf
@@ -498,16 +525,17 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
+%post -n gmplayer
 umask 022
-/sbin/ldconfig
 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
 
-%postun
+%postun -n gmplayer
 umask 022
-/sbin/ldconfig
 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
 
+%post vidix -p /sbin/ldconfig
+%postun vidix -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/mplayer*
@@ -548,10 +576,6 @@
 %lang(zh_CN) %doc DOCS/zh
 %doc AUTHORS ChangeLog README
 
-%ifarch %{ix86}
-%attr(755,root,root) %{_libdir}/libdha.so.*.*
-%attr(755,root,root) %{_libdir}/mplayer
-%endif
 %dir %{_sysconfdir}/%{name}
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/*.conf
 %{_mandir}/man1/*
@@ -569,12 +593,35 @@
 %dir %{_datadir}/%{name}
 %{_datadir}/%{name}/font*
 
+%ifarch %{ix86}
+%files vidix
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libdha.so.*.*
+%dir %{_libdir}/mplayer
+%dir %{_libdir}/mplayer/vidix
+%attr(755,root,root) %{_libdir}/mplayer/vidix/cyberblade_vid.so
+%attr(755,root,root) %{_libdir}/mplayer/vidix/mach64_vid.so
+%attr(755,root,root) %{_libdir}/mplayer/vidix/mga_crtc2_vid.so
+%attr(755,root,root) %{_libdir}/mplayer/vidix/mga_vid.so
+%attr(755,root,root) %{_libdir}/mplayer/vidix/nvidia_vid.so
+%attr(755,root,root) %{_libdir}/mplayer/vidix/pm3_vid.so
+%attr(755,root,root) %{_libdir}/mplayer/vidix/radeon_vid.so
+%attr(755,root,root) %{_libdir}/mplayer/vidix/rage128_vid.so
+%attr(755,root,root) %{_libdir}/mplayer/vidix/savage_vid.so
+%attr(755,root,root) %{_libdir}/mplayer/vidix/sis_vid.so
+%attr(755,root,root) %{_libdir}/mplayer/vidix/unichrome_vid.so
+%endif
+
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.354.2.2  2006/12/09 14:06:45  glen
+- -vidix subpackage
+- corrected deps and scriptlets
+
 Revision 1.354.2.1  2006/12/09 13:45:31  glen
 - added on2flixenglinux patches
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mplayer.spec?r1=1.354.2.1&r2=1.354.2.2&f=u



More information about the pld-cvs-commit mailing list