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