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