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 |
# Adapted to Mageia Linux Cauldron - file bugs for this package |
16 |
# on https://bugs.mageia.org/ . |
17 |
|
18 |
Name: npapi-vlc |
19 |
Version: 2.2.0 |
20 |
Release: %mkrel 2 |
21 |
Summary: VLC video and audio plugin for browsers |
22 |
License: GPLv2+ |
23 |
Group: Video/Utilities |
24 |
Url: https://www.videolan.org/ |
25 |
Source0: https://download.videolan.org/pub/videolan/vlc-webplugins/%{version}/npapi-vlc-%{version}.tar.xz |
26 |
BuildRequires: xz |
27 |
BuildRequires: pkgconfig(cairo) |
28 |
BuildRequires: pkgconfig(gdk-pixbuf-2.0) |
29 |
BuildRequires: gtk2-devel |
30 |
BuildRequires: glib2-devel |
31 |
BuildRequires: glib2-devel |
32 |
BuildRequires: gtk2-devel |
33 |
BuildRequires: vlc-devel >= 1.1.0 |
34 |
BuildRequires: pkgconfig(mozilla-plugin) |
35 |
BuildRequires: pkgconfig(x11) |
36 |
|
37 |
%description |
38 |
This plugin allows one to watch standalone or embedded video or |
39 |
audio files, inside web browsers. |
40 |
|
41 |
|
42 |
%prep |
43 |
%setup -q |
44 |
|
45 |
%build |
46 |
export CPPFLAGS="$CPPFLAGS -std=c++11" |
47 |
%configure --disable-silent-rules |
48 |
%make |
49 |
|
50 |
%install |
51 |
%make_install |
52 |
rm -f %{buildroot}%{_libdir}/mozilla/plugins/libvlcplugin.la |
53 |
|
54 |
%files |
55 |
%doc AUTHORS ChangeLog COPYING NEWS README |
56 |
%{_libdir}/mozilla/plugins/libvlcplugin.so |