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