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