]> git.pld-linux.org Git - packages/gxine.git/blob - gxine.spec
- updated to 0.5.907
[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.UTF-8):      GTK+ basierende grafische Oberfläche für die xine-Bibliotheken
7 Summary(pl.UTF-8):      Oparty na GTK+ graficzny interfejs do bibliotek XINE
8 Name:           gxine
9 Version:        0.5.907
10 Release:        1
11 License:        GPL v2+
12 Group:          X11/Applications/Multimedia
13 Source0:        http://downloads.sourceforge.net/xine/%{name}-%{version}.tar.bz2
14 # Source0-md5:  6675dba9d51f45efe4edfa65ee38b6cb
15 Patch0:         %{name}-desktop.patch
16 Patch1:         %{name}-plugindir.patch
17 Patch2:         %{name}-link.patch
18 Patch3:         glib.patch
19 URL:            http://www.xine-project.org/
20 BuildRequires:  autoconf >= 2.59
21 BuildRequires:  automake >= 1:1.9
22 BuildRequires:  dbus-glib-devel >= 0.35
23 BuildRequires:  glib2-devel >= 1:2.10.0
24 BuildRequires:  gtk+2-devel >= 2:2.8.0
25 BuildRequires:  js-devel
26 BuildRequires:  libtool
27 BuildRequires:  libxcb-devel >= 1.0
28 %{?with_lirc:BuildRequires:     lirc-devel}
29 BuildRequires:  nspr-devel
30 BuildRequires:  pango-devel >= 1:1.12.0
31 BuildRequires:  pkgconfig
32 BuildRequires:  rpmbuild(macros) >= 1.357
33 BuildRequires:  udev-glib-devel
34 BuildRequires:  xine-lib-devel >= 2:1.1.8
35 BuildRequires:  xorg-lib-libXaw-devel
36 BuildRequires:  xorg-lib-libXext-devel
37 BuildRequires:  xorg-lib-libXinerama-devel
38 BuildRequires:  xorg-lib-libXrandr-devel
39 BuildRequires:  xorg-lib-libXtst-devel
40 Requires:       glib2 >= 1:2.10.0
41 Requires:       gtk+2 >= 2:2.8.0
42 Requires:       pango >= 1:1.12.0
43 Requires:       xine-lib >= 2:1.1.8
44 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
45
46 %description
47 xine is a fully-featured free audio/video player for unix-like systems
48 which uses libxine for audio/video decoding and playback. For more
49 informations on what formats are supported, please refer to the
50 libxine documentation. gxine is a GTK+ based GUI for this
51 xine-libraries alternat to xine-ui.
52
53 %description -l de.UTF-8
54 xine ist ein freies Audio- und Video-Abspielprogramm für unixartige
55 Systeme mit umfassenden Funktionen. Zur Audio- und Videodekodierung
56 und Wiedergabe werden die xine-Bibliotheken aus libxine verwendet.
57 Weitere Informationen über die unterstützten Formate entnehmen Sie in
58 der Dokumentation zu libxine. gxine ist eine GTK+ basierende grafische
59 Oberfläche für diese xine-Bibliotheken, alternativ zur xine-ui
60
61 %description -l pl.UTF-8
62 xine to w pełni funkcjonalny wolnodostępny odtwarzacz filmów dla
63 systemów uniksowych, korzystający z libxine do dekodowania i
64 odtwarzania dźwięku i obrazu. Więcej informacji o obsługiwanych
65 formatach można znaleźć w dokumentacji libxine. gxine to graficzny
66 interfejs użytkownika do tych bibliotek, oparty na GTK+, alternatywny
67 dla xine-ui.
68
69 %package -n browser-plugin-gxine
70 Summary:        gxine as browser plugin
71 Summary(pl.UTF-8):      gxine jako wtyczka przeglądarki
72 Group:          X11/Applications/Multimedia
73 Requires(post,postun):  browser-plugins >= 2.0
74 Requires:       %{name} = %{version}-%{release}
75 Requires:       browser-plugins(%{_target_base_arch})
76 Obsoletes:      mozilla-plugin-gxine
77
78 %description -n browser-plugin-gxine
79 gxine as browser plugin.
80
81 %description -n browser-plugin-gxine -l pl.UTF-8
82 gxine jako wtyczka przeglądarki.
83
84 %prep
85 %setup -q
86 %patch0 -p1
87 %patch1 -p1
88 %patch2 -p1
89 %patch3 -p1
90
91 %build
92 %{__gettextize}
93 %{__libtoolize}
94 %{__aclocal} -I m4
95 %{__autoconf}
96 %{__autoheader}
97 %{__automake}
98 %configure \
99         GSSCMD=/usr/bin/gnome-screensaver-command \
100         XSSCMD=/usr/bin/xscreensaver \
101         %{!?with_lirc:--disable-lirc} \
102         --with-gudev \
103         --with-plugindir=%{_browserpluginsdir} \
104         --with-spidermonkey=/usr/include/js
105
106 %{__make}
107
108 %install
109 rm -rf $RPM_BUILD_ROOT
110
111 %{__make} install \
112         MKDIR_P="mkdir -p" \
113         DESTDIR=$RPM_BUILD_ROOT
114
115 %{__rm} $RPM_BUILD_ROOT%{_browserpluginsdir}/*.la
116
117 %find_lang %{name} --all-name
118
119 %clean
120 rm -rf $RPM_BUILD_ROOT
121
122 %post -n browser-plugin-gxine
123 %update_browser_plugins
124
125 %postun -n browser-plugin-gxine
126 if [ "$1" = "0" ]; then
127         %update_browser_plugins
128 fi
129
130 %files -f %{name}.lang
131 %defattr(644,root,root,755)
132 %doc AUTHORS BUGS ChangeLog README TODO
133 %lang(cs) %doc README.cs
134 %lang(de) %doc README.de
135 %attr(755,root,root) %{_bindir}/gxine
136 %attr(755,root,root) %{_bindir}/gxine_client
137 %{_datadir}/gxine
138 %dir %{_sysconfdir}/gxine
139 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gxine/gtkrc
140 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gxine/startup
141 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gxine/*.xml
142 %{_desktopdir}/gxine.desktop
143 %{_iconsdir}/hicolor/*/apps/gxine.png
144 %{_pixmapsdir}/gxine.png
145 %{_mandir}/man1/gxine.1*
146 %{_mandir}/man1/gxine_client.1*
147 %lang(de) %{_mandir}/de/man1/gxine.1*
148 %lang(de) %{_mandir}/de/man1/gxine_client.1*
149 %lang(es) %{_mandir}/es/man1/gxine.1*
150 %lang(es) %{_mandir}/es/man1/gxine_client.1*
151
152 %files -n browser-plugin-gxine
153 %defattr(644,root,root,755)
154 %attr(755,root,root) %{_browserpluginsdir}/gxineplugin.so
This page took 0.084627 seconds and 4 git commands to generate.