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