Name : mplayerplug-in Version : 3.21 Release : 1%{?dist} License : GPL Summary : MPlayer Plugin for Netscape/Mozilla/Firefox Group : Browser/Plugin URL : http://mplayerplug-in.sourceforge.net/ Vendor : Kevin DeKorte Packager : Thomas Chung BuildRoot : %{_tmppath}/%{name}-%{version}-buildroot Source : %{name}-%{version}.tar.gz Patch : plugin-setup.patch Requires : mplayer > 0.90 BuildRequires : XFree86-devel >= 4.3.0, gtk2-devel >= 2.2.4, mozilla-devel >= 1.6 AutoReq : no AutoProv : no %description mplayerplug-in is a Mozilla/Firefox browser plugin to allow playing embedded movies on web pages. %prep rm -rf %{buildroot} ####################################################################### # setup macro # -a num : Only unpack source number after changing to the directory # -b num : Only unpack source number before changing to the directory # -c : Create directory before unpacking. # -D : Do not delete the directory before unpacking # -n name : Name the directory as name # -q : Run quiety with minimum output # -T : Disable the automatic unpacking of the archives. ####################################################################### %setup -n %{name} -q # use gendiff to create a patch # gendiff %patch0 ############################################ # {_sourcedir} : /usr/src/redhat/SOURCES # {_builddir} : /usr/src/redhat/BUILD # {_tmppath} : /var/tmp # {_libdir} : /usr/lib # {_bindir} : /usr/bin # {_datadir} : /usr/share # {_mandir} : /usr/share/man # {_sysconfdir} : /etc # {buildroot} # {name} # {version} # {release} # rpm --showrc for more info ############################################# %build %configure --disable-rm %{__make} %{?_smp_mflags} %install %{__make} install DESTDIR="%{buildroot}" %find_lang %{name} %clean rm -rf %{buildroot} %files ########################################################### # defattr sets the default attributes for all files # config(noreplace) will save new config file as .rpmnew # config will save old config file as .rpmsave ########################################################### %defattr (-,root,root) %doc ChangeLog INSTALL README TODO %{_libdir}/mozilla/plugins/mplayerplug-in* %config %{_sysconfdir}/mplayerplug-in.conf %config %{_sysconfdir}/mplayerplug-in.types %{_datadir}/locale/*/LC_MESSAGES/mplayerplug-in.mo %changelog * Sun Feb 12 2006 Thomas Chung 3.21-1 - Version 3.21 - disable rm using --disable-rm - disable ogg, smil using plugin-setup.patch * Fri Feb 03 2006 Thomas Chung 3.20-1 - Version 3.20 - disable rm using --disable-rm - disable ogg, smil using plugin-setup.patch * Wed Dec 07 2005 Thomas Chung 3.17-1 - Version 3.17 - disable rm using --disable-rm - disable ogg, smil using plugin-setup.patch * Mon Nov 28 2005 Thomas Chung 3.16-1 - Version 3.16 - disable rm using --disable-rm - disable ogg, smil using plugin-setup.patch * Fri Nov 04 2005 Thomas Chung 3.15-1 - Version 3.15 - disable rm using --disable-rm - disable ogg, smil using plugin-setup.patch * Tue Sep 13 2005 Thomas Chung 3.11-1 - Version 3.11 - disable rm using --disable-rm - disable ogg, smil using plugin-setup.patch * Mon Sep 12 2005 Thomas Chung 3.10-1 - Version 3.10 - disable rm using --disable-rm - disable ogg, smil using plugin-setup.patch * Fri Aug 05 2005 Thomas Chung 3.05-1 - Version 3.05 - disable rm using --disable-rm - disable ogg, smil using plugin-setup.patch * Thu Jul 21 2005 Thomas Chung 3.01-1 - Version 3.01 - disable rm, ogg, smil * Mon Jul 18 2005 Thomas Chung 3.00-1 - Version 3.00 - Set enable_ogg = 0 and enable_smil = 0 in Source/plugin-setup.cpp - Fix mozilla/plugins/mplayerplug-in files - Fix RM function to disable smil mimetypes * Tue Jul 05 2005 Thomas Chung 2.85-1 - Use {dist} tag * Fri Jun 17 2005 Thomas Chung 2.85-0 - mplayerplug-in 2.85 - patch to set enable_ogg = 0 and enable_smil = 0 in Source/plugin-setup.cpp * Wed Mar 23 2005 Thomas Chung 2.80-3 - set enable_ogg = 0 in Source/plugin-setup.cpp * Thu Feb 17 2005 Thomas Chung 2.80-2 - set enable_smil = 0 in Source/plugin-setup.cpp * Tue Feb 15 2005 Thomas Chung 2.80-1 - Add mplayerplug-in.mo - Remove mozilla dependency * Tue Feb 15 2005 Thomas Chung 2.80-0 - Update for version 2.80 * Tue Dec 14 2004 Thomas Chung 2.75-0 - Update for version 2.75 - Set enable-smil=0 in mplayerplug-in.conf * Sun Oct 10 2004 Thomas Chung 2.70-1 - Disable MIMEType application/smil in plugin-setup.cpp * Sun Sep 26 2004 Thomas Chung 2.70-0 - Add Plugin for Firefox - See /usr/share/doc/mplayerplug-in-2.70/ChangeLog