mozplugger/mozplugger.spec

70 lines
2.0 KiB
RPMSpec

Name: mozplugger
Version: 2.1.6
Release: 1mamba
Summary: A plugin allowing external viewers to be launched inside Mozilla
Group: Applications/Networking
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://web.archive.org/web/20190405220309/http://mozplugger.mozdev.org/
Source: https://ftp.mirrorservice.org/sites/downloads.mozdev.org/mozplugger/mozplugger-%{version}.tar.gz
Patch0: mozplugger-1.14.3-xscreensaver-molecule-path.patch
Patch1: mozplugger-2.1.3-Makefile_in-root.patch
License: GPL
BuildRequires: coreutils
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libX11-devel
## AUTOBUILDREQ-END
BuildRequires: libXt-devel
Requires: m4
Requires: sox
%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.
%debug_package
%prep
%setup -q
%patch0 -p0
%patch1 -p1
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
make install libprefix=/%{_lib} root=%{buildroot}
iconv -f iso-8859-1 -t utf-8 < "%{buildroot}%{_mandir}/man7/mozplugger.7" > "%{buildroot}%{_mandir}/man7/mozplugger.7_"
mv "%{buildroot}%{_mandir}/man7/mozplugger.7_" "%{buildroot}%{_mandir}/man7/mozplugger.7"
iconv -f iso-8859-1 -t utf-8 < README > README_
mv README_ README
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/mozpluggerrc
%{_bindir}/mozplugger-controller
%{_bindir}/mozplugger-helper
%{_bindir}/mozplugger-linker
%{_bindir}/mozplugger-update
%{_prefix}/lib/mozilla/plugins/mozplugger.so
%{_mandir}/man7/mozplugger.7*
%doc COPYING
#ChangeLog README
%changelog
* Mon Dec 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.6-1mamba
- update to 2.1.6
* Tue Oct 08 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.3-1mamba
- update to 2.1.3
* Mon Mar 07 2011 gil <puntogil@libero.it> 1.14.3-1mamba
- package created by autospec