/[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 262682 - (show annotations) (download)
Fri Jun 22 19:58:25 2012 UTC (11 years, 10 months ago) by shlomif
File size: 2099 byte(s)
Correct release
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 1
21 Summary: Enables VLC inside 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: libx11-devel
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 With this plugin you enable video content withing browsers.
47
48 %prep
49 %setup -q
50 %patch0
51
52 %build
53 %configure --disable-silent-rules
54 %make
55
56 %install
57 %define plug_dir %{_libdir}/mozilla/plugins
58 make install DESTDIR=%{buildroot} npvlcdir=%{plug_dir}
59 rm %{buildroot}%{plug_dir}/libvlcplugin.la
60
61 %files
62 %defattr(0644,root,root,0755)
63 %doc AUTHORS ChangeLog COPYING NEWS README
64 %{plug_dir}/libvlcplugin.so
65

  ViewVC Help
Powered by ViewVC 1.1.30