3 %bcond_without lirc # without LIRC support
5 Summary: GTK+ based GUI for xine-libraries
6 Summary(de): GTK+ basierende grafische Oberfläche für die xine-Bibliotheken
7 Summary(pl): Oparty na GTK+ graficzny interfejs do bibliotek XINE
12 Group: X11/Applications/Multimedia
13 Source0: http://dl.sourceforge.net/xine/%{name}-%{version}.tar.gz
14 # Source0-md5: cac5797d59257187cd0d789285f2e990
15 Patch0: %{name}-desktop.patch
16 Patch1: %{name}-plugindir.patch
17 URL: http://xine.sourceforge.net/
18 BuildRequires: autoconf >= 2.50
19 BuildRequires: automake
20 BuildRequires: gtk+2-devel >= 1:2.2.0
21 BuildRequires: js-devel
22 BuildRequires: libtool
23 %{?with_lirc:BuildRequires: lirc-devel}
24 BuildRequires: pkgconfig
25 BuildRequires: xine-lib-devel >= 1:1.0
26 Requires: xine-lib >= 1:1.0
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 %define mozilladir /usr/%{_lib}/mozilla/plugins
32 xine is a fully-featured free audio/video player for unix-like systems
33 which uses libxine for audio/video decoding and playback. For more
34 informations on what formats are supported, please refer to the
35 libxine documentation. gxine is a GTK+ based GUI for this
36 xine-libraries alternat to xine-ui.
39 xine ist ein freies Audio- und Video-Abspielprogramm für unixartige
40 Systeme mit umfassenden Funktionen. Zur Audio- und Videodekodierung
41 und Wiedergabe werden die xine-Bibliotheken aus libxine verwendet.
42 Weitere Informationen über die unterstützten Formate entnehmen Sie in
43 der Dokumentation zu libxine. gxine ist eine GTK+ basierende grafische
44 Oberfläche für diese xine-Bibliotheken, alternativ zur xine-ui
47 xine to w pe³ni funkcjonalny wolnodostêpny odtwarzacz filmów dla
48 systemów uniksowych, korzystaj±cy z libxine do dekodowania i
49 odtwarzania d¼wiêku i obrazu. Wiêcej informacji o obs³ugiwanych
50 formatach mo¿na znale¼æ w dokumentacji libxine. gxine to graficzny
51 interfejs u¿ytkownika do tych bibliotek, oparty na GTK+, alternatywny
54 %package -n mozilla-plugin-gxine
55 Summary: gxine as Mozilla plugin
56 Summary(pl): gxine jako wtyczka Mozilli
57 Group: X11/Applications/Multimedia
58 Requires: %{name} = %{version}-%{release}
60 %description -n mozilla-plugin-gxine
61 gxine as Mozilla plugin.
63 %description -n mozilla-plugin-gxine -l pl
64 gxine jako wtyczka Mozilli.
78 %{!?with_lirc:--disable-lirc} \
80 --with-plugindir=%{mozilladir}
85 rm -rf $RPM_BUILD_ROOT
88 DESTDIR=$RPM_BUILD_ROOT \
89 Applicationsdir=%{_desktopdir}
91 install -D pixmaps/gxine-logo.png $RPM_BUILD_ROOT%{_pixmapsdir}/gxine-logo.png
92 rm -f $RPM_BUILD_ROOT%{mozilladir}/*.la
97 rm -rf $RPM_BUILD_ROOT
99 %files -f %{name}.lang
100 %defattr(644,root,root,755)
101 %doc AUTHORS ChangeLog README TODO
102 %attr(755,root,root) %{_bindir}/gxine*
104 %{_desktopdir}/gxine.desktop
105 %{_pixmapsdir}/gxine-logo.png
107 %lang(de) %{_mandir}/de/man1/*
109 %files -n mozilla-plugin-gxine
110 %defattr(644,root,root,755)
111 %attr(755,root,root) %{mozilladir}/gxineplugin.so