66 lines
1.9 KiB
RPMSpec
66 lines
1.9 KiB
RPMSpec
|
Name: mozplugger
|
||
|
Version: 2.1.3
|
||
|
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: http://mozplugger.mozdev.org/
|
||
|
Source: http://mozplugger.mozdev.org/files/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
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%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.
|
||
|
|
||
|
%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
|
||
|
%{_libdir}/mozilla/plugins/mozplugger.so
|
||
|
%{_mandir}/man7/mozplugger.7*
|
||
|
%doc COPYING
|
||
|
#ChangeLog README
|
||
|
|
||
|
%changelog
|
||
|
* 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
|