]>
Commit | Line | Data |
---|---|---|
11025191 | 1 | Summary: XINE browser plugin |
f286c12c | 2 | Summary(pl.UTF-8): Wtyczka XINE dla przeglądarek WWW |
11025191 | 3 | Name: browser-plugin-xine |
0ec59030 | 4 | Version: 1.0.2 |
11025191 JB |
5 | Release: 1 |
6 | License: GPL v2+ | |
7 | Group: X11/Applications/Multimedia | |
8 | Source0: http://dl.sourceforge.net/xine/xine-plugin-%{version}.tar.bz2 | |
0ec59030 | 9 | # Source0-md5: dde79a4d12270cbe0c71a0c1afa41111 |
98e49c6a | 10 | BuildRequires: libstdc++-devel |
11025191 JB |
11 | BuildRequires: pkgconfig |
12 | BuildRequires: rpmbuild(macros) >= 1.357 | |
7bf86df2 | 13 | BuildRequires: xine-lib-devel >= 2:1.1.0 |
11025191 JB |
14 | BuildRequires: xorg-lib-libX11-devel |
15 | Requires: browser-plugins >= 2.0 | |
16 | Requires: browser-plugins(%{_target_base_arch}) | |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | # directory where you store the plugin | |
20 | %define _plugindir %{_libdir}/browser-plugins | |
21 | ||
22 | %description | |
23 | This is a very simple Netscape/Mozilla browser plugin using the XINE | |
24 | engine to display multimedia streams. | |
25 | ||
26 | Features: | |
27 | - embedded display on browser window | |
28 | - streaming playback directly from XINE engine | |
29 | - playback control using keyboard | |
30 | - relative paths supported | |
31 | - on screen display of buffering and stream information | |
32 | - playlists and references support | |
33 | - loop and repeat mode | |
34 | - multiple instances within the same page | |
35 | - JavaScript support | |
36 | ||
6e4eeb28 JR |
37 | %description -l pl.UTF-8 |
38 | Bardzo prosta wtyczka dla przeglądarek Netscape/Mozilla używająca | |
39 | silnika XINE do wyświetlania strumieni multimedialnych. | |
11025191 | 40 | |
6e4eeb28 JR |
41 | Możliwości: |
42 | - wyświetlanie osadzone w okienku przeglądarki | |
43 | - odtwarzanie strumieni bezpośrednio z silnika XINE | |
44 | - sterowanie odtwarzaniem przy użyciu klawiatury | |
45 | - obsługa względnych ścieżek | |
46 | - wyświetlanie na ekranie (OSD) informacji o buforowaniu i strumieniu | |
47 | - obsługa playlist i własnych ustawień | |
48 | - tryb pętli i powtarzania | |
11025191 | 49 | - wiele instancji na tej samej stronie |
6e4eeb28 | 50 | - obsługa JavaScriptu |
11025191 JB |
51 | |
52 | %prep | |
53 | %setup -q -n xine-plugin-%{version} | |
54 | ||
55 | %build | |
56 | %configure \ | |
57 | --with-plugindir=%{_plugindir} | |
58 | ||
59 | %install | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %{__make} install \ | |
63 | DESTDIR=$RPM_BUILD_ROOT | |
64 | ||
65 | rm -f $RPM_BUILD_ROOT%{_plugindir}/*.la | |
66 | ||
67 | %clean | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %post | |
71 | %update_browser_plugins | |
72 | ||
73 | %postun | |
74 | if [ "$1" = "0" ]; then | |
75 | %update_browser_plugins | |
76 | fi | |
77 | ||
78 | %files | |
79 | %defattr(644,root,root,755) | |
80 | %doc AUTHORS README TODO | |
81 | %attr(755,root,root) %{_plugindir}/xineplugin.so | |
82 | %{_plugindir}/xine-logo.ogg |