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