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