/[packages]/cauldron/npapi-vlc/current/SPECS/npapi-vlc.spec
ViewVC logotype

Contents of /cauldron/npapi-vlc/current/SPECS/npapi-vlc.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 389214 - (show annotations) (download)
Thu Jan 17 21:30:27 2013 UTC (11 years, 3 months ago) by pterjan
File size: 2151 byte(s)
oops
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 http://bugs.mageia.org/ .
17
18 Name: npapi-vlc
19 Version: 2.0.0
20 Release: %mkrel 3
21 Summary: VLC video and audio plugin for browsers
22 License: GPLv2+
23 Group: Video
24 Url: http://www.videolan.org/
25 Source0: http://download.videolan.org/pub/videolan/vlc/%{version}/npapi-vlc-%{version}.tar.xz
26 Patch0: npapi-vlc-2.0.0-no_return.patch
27 BuildRoot: %{_tmppath}/%{name}-%{version}-build
28 BuildRequires: gcc-c++
29 BuildRequires: pkgconfig
30 BuildRequires: xz
31 BuildRequires: cairo-devel
32 BuildRequires: pkgconfig(gdk-pixbuf-2.0)
33 BuildRequires: gtk2-devel
34 BuildRequires: glib2-devel
35 BuildRequires: glib2-devel
36 BuildRequires: gtk2-devel
37 BuildRequires: vlc-devel >= 1.1.0
38 BuildRequires: xulrunner-devel
39 BuildRequires: pkgconfig(x11)
40 # openSUSE 12.1 was the latest version using vlc-mozillaplugin
41 Provides: vlc-mozillaplugin = %{version}
42 Obsoletes: vlc-mozillaplugin < 2.0.0
43 Enhances: browser(npapi)
44
45 %description
46 This plugin allows one to watch standalone or embedded video or
47 audio files, inside web browsers.
48
49 %prep
50 %setup -q
51 %patch0
52
53 %build
54 %configure --disable-silent-rules
55 %make
56
57 %install
58 %define plug_dir %{_libdir}/mozilla/plugins
59 make install DESTDIR=%{buildroot} npvlcdir=%{plug_dir}
60 rm %{buildroot}%{plug_dir}/libvlcplugin.la
61
62 %files
63 %defattr(0644,root,root,0755)
64 %doc AUTHORS ChangeLog COPYING NEWS README
65 %{plug_dir}/libvlcplugin.so
66

  ViewVC Help
Powered by ViewVC 1.1.30