17 |
|
|
18 |
Name: npapi-vlc |
Name: npapi-vlc |
19 |
Version: 2.0.0 |
Version: 2.0.0 |
20 |
Release: %mkrel 3 |
Release: %mkrel 4 |
21 |
Summary: VLC video and audio plugin for browsers |
Summary: VLC video and audio plugin for browsers |
22 |
License: GPLv2+ |
License: GPLv2+ |
23 |
Group: Video |
Group: Video |
24 |
Url: http://www.videolan.org/ |
Url: http://www.videolan.org/ |
25 |
Source0: http://download.videolan.org/pub/videolan/vlc/%{version}/npapi-vlc-%{version}.tar.xz |
Source0: http://download.videolan.org/pub/videolan/vlc/%{version}/npapi-vlc-%{version}.tar.xz |
26 |
Patch0: npapi-vlc-2.0.0-no_return.patch |
Patch0: npapi-vlc-2.0.0-no_return.patch |
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
|
BuildRequires: gcc-c++ |
|
|
BuildRequires: pkgconfig |
|
27 |
BuildRequires: xz |
BuildRequires: xz |
28 |
BuildRequires: cairo-devel |
BuildRequires: cairo-devel |
29 |
BuildRequires: pkgconfig(gdk-pixbuf-2.0) |
BuildRequires: pkgconfig(gdk-pixbuf-2.0) |
34 |
BuildRequires: vlc-devel >= 1.1.0 |
BuildRequires: vlc-devel >= 1.1.0 |
35 |
BuildRequires: xulrunner-devel |
BuildRequires: xulrunner-devel |
36 |
BuildRequires: pkgconfig(x11) |
BuildRequires: pkgconfig(x11) |
|
# openSUSE 12.1 was the latest version using vlc-mozillaplugin |
|
|
Provides: vlc-mozillaplugin = %{version} |
|
|
Obsoletes: vlc-mozillaplugin < 2.0.0 |
|
|
Enhances: browser(npapi) |
|
37 |
|
|
38 |
%description |
%description |
39 |
This plugin allows one to watch standalone or embedded video or |
This plugin allows one to watch standalone or embedded video or |
40 |
audio files, inside web browsers. |
audio files, inside web browsers. |
41 |
|
|
42 |
|
|
43 |
%prep |
%prep |
44 |
%setup -q |
%setup -q |
45 |
%patch0 |
%patch0 |
50 |
|
|
51 |
%install |
%install |
52 |
%define plug_dir %{_libdir}/mozilla/plugins |
%define plug_dir %{_libdir}/mozilla/plugins |
53 |
make install DESTDIR=%{buildroot} npvlcdir=%{plug_dir} |
%makeinstall_std npvlcdir=%{plug_dir} |
54 |
rm %{buildroot}%{plug_dir}/libvlcplugin.la |
rm -f %{buildroot}%{plug_dir}/libvlcplugin.la |
55 |
|
|
56 |
%files |
%files |
|
%defattr(0644,root,root,0755) |
|
57 |
%doc AUTHORS ChangeLog COPYING NEWS README |
%doc AUTHORS ChangeLog COPYING NEWS README |
58 |
%{plug_dir}/libvlcplugin.so |
%{plug_dir}/libvlcplugin.so |
|
|
|