]> git.pld-linux.org Git - packages/gxine.git/blob - gxine.spec
- updated to 0.5.4
[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.4
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:  05003ea98fb7e953bdee6582a7f7e4c5
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)
28
29 %define         mozilladir      /usr/%{_lib}/mozilla/plugins
30
31 %description
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.
37
38 %description -l de
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
45
46 %description -l pl
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
52 dla xine-ui.
53
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}
59
60 %description -n mozilla-plugin-gxine
61 gxine as Mozilla plugin.
62
63 %description -n mozilla-plugin-gxine -l pl
64 gxine jako wtyczka Mozilli.
65
66 %prep
67 %setup -q
68 %patch0 -p1
69 %patch1 -p1
70
71 %build
72 %{__libtoolize}
73 %{__aclocal} -I m4
74 %{__autoconf}
75 %{__autoheader}
76 %{__automake}
77 %configure \
78         %{!?with_lirc:--disable-lirc} \
79         --disable-static \
80         --with-plugindir=%{mozilladir}
81
82 %{__make}
83
84 %install
85 rm -rf $RPM_BUILD_ROOT
86
87 %{__make} install \
88         DESTDIR=$RPM_BUILD_ROOT \
89         Applicationsdir=%{_desktopdir}
90
91 rm -f $RPM_BUILD_ROOT%{mozilladir}/*.la
92
93 %find_lang %{name} --all-name
94
95 %clean
96 rm -rf $RPM_BUILD_ROOT
97
98 %files -f %{name}.lang
99 %defattr(644,root,root,755)
100 %doc AUTHORS ChangeLog README TODO
101 %attr(755,root,root) %{_bindir}/gxine*
102 %{_datadir}/gxine
103 %dir %{_sysconfdir}/gxine
104 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gxine/*
105 %{_desktopdir}/gxine.desktop
106 %{_iconsdir}/hicolor/*/*/*.png
107 %{_pixmapsdir}/gxine.png
108 %{_mandir}/man1/*
109 %lang(de) %{_mandir}/de/man1/*
110
111 %files -n mozilla-plugin-gxine
112 %defattr(644,root,root,755)
113 %attr(755,root,root) %{mozilladir}/gxineplugin.so
This page took 0.189339 seconds and 4 git commands to generate.