%define name mozplugger %define version 1.7.3 %define release 1 Summary: A generic mozilla plug-in Name: %{name} Version: %{version} Release: %{release} Source0: http://mozdev.mirrors.nyphp.org/mozplugger/%{name}-%{version}.tar.gz License: GPL Group: Networking/WWW BuildRoot: %{_tmppath}/%{name}-buildroot Requires: m4 URL: http://mozplugger.mozdev.org/ %description MozPlugger is a generic Mozilla plug-in that allows the use of standard Linux programs as plug-ins for media types on the Internet. %pre if [ ! -d /usr/lib/mozilla ]; then ln -s /usr/lib/mozilla-* /usr/lib/mozilla fi %prep %setup -q %build make linux %install make install root=$RPM_BUILD_ROOT %clean rm -rf %{buildroot} %files %defattr(-,root,root) %config /etc/mozpluggerrc %{_bindir}/* /usr/lib/mozilla/plugins/mozplugger.so %{_mandir}/man7/mozplugger.7* %changelog * Mon Dec 20 2004 Louis Bavoil - removed dependency with Mozilla. * Mon Feb 2 2004 MATSUURA Takanori - rebuilt from spec file in mozplugger-1.5.0.tar.gz - mozpluggerrc is packed as config file. - added URL to spec file # end of file