SPECS: mplayer.spec - -vidix subpackage - corrected deps and scrip...

glen glen at pld-linux.org
Sat Dec 9 15:08:35 CET 2006


Author: glen                         Date: Sat Dec  9 14:08:35 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- -vidix subpackage
- corrected deps and scriptlets

---- Files affected:
SPECS:
   mplayer.spec (1.356 -> 1.357) 

---- Diffs:

================================================================
Index: SPECS/mplayer.spec
diff -u SPECS/mplayer.spec:1.356 SPECS/mplayer.spec:1.357
--- SPECS/mplayer.spec:1.356	Sat Dec  9 14:46:17 2006
+++ SPECS/mplayer.spec	Sat Dec  9 15:08:30 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
@@ -300,6 +300,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
@@ -505,16 +533,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*
@@ -555,10 +584,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/*
@@ -576,12 +601,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.357  2006/12/09 14:08:30  glen
+- -vidix subpackage
+- corrected deps and scriptlets
+
 Revision 1.356  2006/12/09 13:46:17  glen
 - added on2flixenglinux patches
 
================================================================

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



More information about the pld-cvs-commit mailing list