]> git.pld-linux.org Git - packages/browser-plugin-vlc.git/blame - npapi-vlc.spec
- pl, cleanup, completed BRs
[packages/browser-plugin-vlc.git] / npapi-vlc.spec
CommitLineData
0e3ceb10 1# TODO: rename to browser-plugin-vlc?
b92e7c04
AM
2%define snap 20131028
3Summary: NPAPI plugin for libvlc
0e3ceb10 4Summary(pl.UTF-8): Wtyczka NPAPI do libvlc
b92e7c04
AM
5Name: npapi-vlc
6Version: 2.1.0
7Release: 0.%{snap}.1
0e3ceb10 8License: GPL v2+
b92e7c04 9Group: Applications/Networking
b92e7c04
AM
10Source0: %{name}-%{snap}.tar.bz2
11# Source0-md5: beb2922f9c18b5f531f26cfb441741f0
0e3ceb10
JB
12URL: http://git.videolan.org/?p=npapi-vlc.git;a=summary
13BuildRequires: autoconf >= 2.50
14BuildRequires: automake
15BuildRequires: gtk+2-devel >= 2.0
16BuildRequires: libstdc++-devel
17BuildRequires: libtool >= 2:2
18BuildRequires: libxcb-devel
19BuildRequires: pkgconfig
b92e7c04 20BuildRequires: vlc-devel >= 2.1.0
0e3ceb10
JB
21BuildRequires: xorg-lib-libX11-devel
22BuildRequires: xulrunner-devel >= 1.9.2
b92e7c04
AM
23Requires: browser-plugins >= 2.0
24Requires: browser-plugins(%{_target_base_arch})
25Obsoletes: browser-plugin-vlc
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29NPAPI plugin for libvlc.
30
0e3ceb10
JB
31%description -l pl.UTF-8
32Wtyczka NPAPI do libvlc.
33
b92e7c04
AM
34%prep
35%setup -q -n %{name}
36
37%build
38%{__libtoolize}
0e3ceb10 39%{__aclocal} -I m4
b92e7c04 40%{__autoconf}
0e3ceb10 41%{__autoheader}
b92e7c04
AM
42%{__automake}
43%configure \
0e3ceb10
JB
44 --disable-silent-rules \
45 --with-mozilla-pkg=mozilla-plugin
b92e7c04
AM
46%{__make}
47
48
49%install
50rm -rf $RPM_BUILD_ROOT
51
52%{__make} install \
53 npvlcdir=%{_browserpluginsdir} \
54 DESTDIR=$RPM_BUILD_ROOT
55
0e3ceb10 56%{__rm} $RPM_BUILD_ROOT%{_browserpluginsdir}/libvlcplugin.la
b92e7c04
AM
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%post
62%update_browser_plugins
63
64%postun
65if [ "$1" = 0 ]; then
66 %update_browser_plugins
67fi
68
69%files
70%defattr(644,root,root,755)
0e3ceb10 71%doc AUTHORS ChangeLog NEWS README
b92e7c04 72%attr(755,root,root) %{_browserpluginsdir}/libvlcplugin.so
This page took 0.066026 seconds and 4 git commands to generate.