1 |
# |
2 |
# spec file for package npapi-vlc |
3 |
# |
4 |
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. |
5 |
# |
6 |
# All modifications and additions to the file contributed by third parties |
7 |
# remain the property of their copyright owners, unless otherwise agreed |
8 |
# upon. The license for this file, and modifications and additions to the |
9 |
# file, is the same license as for the pristine package itself (unless the |
10 |
# license for the pristine package is not an Open Source License, in which |
11 |
# case the license is the MIT License). An "Open Source License" is a |
12 |
# license that conforms to the Open Source Definition (Version 1.9) |
13 |
# published by the Open Source Initiative. |
14 |
|
15 |
# Please submit bugfixes or comments via http://bugs.opensuse.org/ |
16 |
# |
17 |
|
18 |
|
19 |
Name: npapi-vlc |
20 |
Version: 2.0.0 |
21 |
Release: 3.2 |
22 |
Summary: Enables VLC inside browsers |
23 |
License: GPL-2.0+ |
24 |
Group: Productivity/Multimedia/Video/Players |
25 |
Url: http://www.videolan.org/ |
26 |
Source0: http://download.videolan.org/pub/videolan/vlc/%{version}/npapi-vlc-%{version}.tar.xz |
27 |
Patch0: npapi-vlc-2.0.0-no_return.patch |
28 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
29 |
BuildRequires: gcc-c++ |
30 |
BuildRequires: pkg-config |
31 |
BuildRequires: xz |
32 |
BuildRequires: cairo-devel |
33 |
BuildRequires: gdk-pixbuf-devel |
34 |
BuildRequires: gtk2-devel |
35 |
BuildRequires: glib2-devel |
36 |
BuildRequires: glib2-devel |
37 |
BuildRequires: gtk2-devel |
38 |
BuildRequires: vlc-devel >= 1.1.0 |
39 |
BuildRequires: mozilla-xulrunner192-devel |
40 |
BuildRequires: xorg-x11-libX11-devel |
41 |
# openSUSE 12.1 was the latest version using vlc-mozillaplugin |
42 |
Provides: vlc-mozillaplugin = %{version} |
43 |
Obsoletes: vlc-mozillaplugin < 2.0.0 |
44 |
Enhances: browser(npapi) |
45 |
|
46 |
%description |
47 |
With this plugin you enable video content withing browsers. |
48 |
|
49 |
%prep |
50 |
%setup -q |
51 |
%patch0 |
52 |
|
53 |
%build |
54 |
%configure --disable-silent-rules |
55 |
make %{?_smp_mflags} |
56 |
|
57 |
%install |
58 |
make install DESTDIR=%{?buildroot} npvlcdir=%{_libdir}/browser-plugins/ |
59 |
rm %{buildroot}%{_libdir}/browser-plugins/libvlcplugin.la |
60 |
|
61 |
%files |
62 |
%defattr(0644,root,root,0755) |
63 |
%doc AUTHORS ChangeLog COPYING NEWS README |
64 |
%{_libdir}/browser-plugins/libvlcplugin.so |
65 |
|