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