-
Notifications
You must be signed in to change notification settings - Fork 0
/
mozplugger.spec
65 lines (56 loc) · 1.41 KB
/
mozplugger.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
%define name mozplugger
%define version 2.1.6
%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
Patch0: Makefile.patch
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
%ifarch x86_64
if [ ! -d /usr/lib64/mozilla ]; then
ln -s /usr/lib64/mozilla-* /usr/lib/mozilla
fi
%else
if [ ! -d /usr/lib/mozilla ]; then
ln -s /usr/lib/mozilla-* /usr/lib/mozilla
fi
%endif
%prep
%setup -q
%patch0 -p1
%build
make linux
%install
make install root=$RPM_BUILD_ROOT
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%config /etc/mozpluggerrc
%{_bindir}/*
%ifarch x86_64
/usr/lib64/mozilla/plugins/mozplugger.so
%else
/usr/lib/mozilla/plugins/mozplugger.so
%endif
%{_mandir}/man7/mozplugger.7*
%changelog
* Mon Feb 20 2006 William Bell <w.bell@physics.gla.ac.uk>
- Modified to allow 64bit version to be built.
* Mon Dec 20 2004 Louis Bavoil <bavoil@sci.utah.edu>
- removed dependency with Mozilla.
* Mon Feb 2 2004 MATSUURA Takanori <t-matsuu@estyle.ne.jp>
- 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