]> git.pld-linux.org Git - packages/gxine.git/blob - gxine.spec
- up to 0.5.8
[packages/gxine.git] / gxine.spec
1 #
2 # Conditional build:
3 %bcond_without  lirc    # without LIRC support
4 #
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
8 Name:           gxine
9 Version:        0.5.8
10 Release:        1
11 License:        GPL
12 Group:          X11/Applications/Multimedia
13 Source0:        http://dl.sourceforge.net/xine/%{name}-%{version}.tar.bz2
14 # Source0-md5:  e6bc2be9c6b3a13a101d462b2034b035
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.6.0
21 BuildRequires:  js-devel
22 BuildRequires:  libtool
23 BuildRequires:  xorg-lib-libXaw-devel
24 %{?with_lirc:BuildRequires:     lirc-devel}
25 BuildRequires:  pkgconfig
26 BuildRequires:  xine-lib-devel >= 1:1.0
27 Requires:       xine-lib >= 1:1.0
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %define         mozilladir      /usr/%{_lib}/mozilla/plugins
31
32 %description
33 xine is a fully-featured free audio/video player for unix-like systems
34 which uses libxine for audio/video decoding and playback. For more
35 informations on what formats are supported, please refer to the
36 libxine documentation. gxine is a GTK+ based GUI for this
37 xine-libraries alternat to xine-ui.
38
39 %description -l de
40 xine ist ein freies Audio- und Video-Abspielprogramm für unixartige
41 Systeme mit umfassenden Funktionen. Zur Audio- und Videodekodierung
42 und Wiedergabe werden die xine-Bibliotheken aus libxine verwendet.
43 Weitere Informationen über die unterstützten Formate entnehmen Sie in
44 der Dokumentation zu libxine. gxine ist eine GTK+ basierende grafische
45 Oberfläche für diese xine-Bibliotheken, alternativ zur xine-ui
46
47 %description -l pl
48 xine to w pe³ni funkcjonalny wolnodostêpny odtwarzacz filmów dla
49 systemów uniksowych, korzystaj±cy z libxine do dekodowania i
50 odtwarzania d¼wiêku i obrazu. Wiêcej informacji o obs³ugiwanych
51 formatach mo¿na znale¼æ w dokumentacji libxine. gxine to graficzny
52 interfejs u¿ytkownika do tych bibliotek, oparty na GTK+, alternatywny
53 dla xine-ui.
54
55 %package -n mozilla-plugin-gxine
56 Summary:        gxine as Mozilla plugin
57 Summary(pl):    gxine jako wtyczka Mozilli
58 Group:          X11/Applications/Multimedia
59 Requires:       %{name} = %{version}-%{release}
60
61 %description -n mozilla-plugin-gxine
62 gxine as Mozilla plugin.
63
64 %description -n mozilla-plugin-gxine -l pl
65 gxine jako wtyczka Mozilli.
66
67 %prep
68 %setup -q
69 %patch0 -p1
70 %patch1 -p1
71
72 %build
73 %{__libtoolize}
74 %{__aclocal} -I m4
75 %{__autoconf}
76 %{__autoheader}
77 %{__automake}
78 %configure \
79         %{!?with_lirc:--disable-lirc} \
80         --disable-static \
81         --with-plugindir=%{mozilladir} \
82         --with-spidermonkey=/usr/include/js
83
84 %{__make}
85
86 %install
87 rm -rf $RPM_BUILD_ROOT
88
89 %{__make} install \
90         DESTDIR=$RPM_BUILD_ROOT \
91         Applicationsdir=%{_desktopdir}
92
93 rm -f $RPM_BUILD_ROOT%{mozilladir}/*.la
94
95 %find_lang %{name} --all-name
96
97 %clean
98 rm -rf $RPM_BUILD_ROOT
99
100 %files -f %{name}.lang
101 %defattr(644,root,root,755)
102 %doc AUTHORS ChangeLog README TODO
103 %attr(755,root,root) %{_bindir}/gxine*
104 %{_datadir}/gxine
105 %dir %{_sysconfdir}/gxine
106 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gxine/*
107 %{_desktopdir}/gxine.desktop
108 %{_iconsdir}/hicolor/*/*/*.png
109 %{_pixmapsdir}/gxine.png
110 %{_mandir}/man1/*
111 %lang(de) %{_mandir}/de/man1/*
112
113 %files -n mozilla-plugin-gxine
114 %defattr(644,root,root,755)
115 %attr(755,root,root) %{mozilladir}/gxineplugin.so
This page took 0.223593 seconds and 4 git commands to generate.