File: mozplugger.spec

package info (click to toggle)
mozplugger 1.10.2-2
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 416 kB
  • ctags: 1,269
  • sloc: ansic: 4,849; makefile: 178
file content (65 lines) | stat: -rw-r--r-- 1,448 bytes parent folder | download
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 1.10.2
%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