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