]> git.pld-linux.org Git - packages/xine-ui.git/blame - xine-ui.spec
- up to 0.99.5
[packages/xine-ui.git] / xine-ui.spec
CommitLineData
6296ad9f 1#
e98f50d4 2# Conditional build:
d69d22bb 3%bcond_without aalib # without aaxine UI
7c11d1e7 4%bcond_without caca # without cacaxine UI
d69d22bb 5%bcond_without lirc # without lirc support
e49d4aba 6%bcond_without nvtv # without nvtv support
d69d22bb 7%bcond_with directfb # with dfbxine UI [disabled in sources at the moment]
503bc2ae 8%bcond_with vdr # with vdr support
6296ad9f 9#
9aa0c46e 10%ifnarch alpha arm %{ix86} ia64 sh %{x8664}
e49d4aba
JB
11%undefine with_nvtv
12%endif
d69d22bb 13%define xine_ver 1:1.0
2dcc5099 14Summary: A Free Video Player
c7af9d5d
ER
15Summary(ko.UTF-8): 공개 동영상 플레이어
16Summary(pl.UTF-8): Odtwarzacz video
17Summary(pt_BR.UTF-8): Xine, um player de video
18Summary(zh_CN.UTF-8): 一个免费的视频播放器(界面)
796226cc 19Name: xine-ui
a4421097 20Version: 0.99.5
21Release: 0.1
796226cc
PG
22License: GPL
23Group: X11/Applications/Multimedia
03c1cbf4 24Source0: http://dl.sourceforge.net/xine/%{name}-%{version}.tar.gz
a4421097 25# Source0-md5: e643cd1fcad4d98a5ae4eb877ce5087b
796226cc 26Source1: xine.desktop
5be1a25a 27Source2: xine.png
28Source3: xine_logo.png
6296ad9f
JB
29Patch0: %{name}-ncurses.patch
30Patch1: %{name}-nolibs.patch
7c11d1e7
JB
31Patch2: %{name}-pl.po.patch
32Patch3: %{name}-curl.patch
441e248c
JB
33Patch4: %{name}-caca.patch
34#PatchX: %{name}-vdr.patch
6296ad9f 35URL: http://xine.sourceforge.net/
d69d22bb
JB
36%{?with_directfb:BuildRequires: DirectFB-devel >= 0.9.10}
37%{?with_aalib:BuildRequires: aalib-devel >= 1.2.0}
6296ad9f 38BuildRequires: autoconf >= 2.53
c454a20f 39BuildRequires: automake >= 1:1.8.1
94d3efde 40BuildRequires: bison
7c11d1e7 41BuildRequires: curl-devel >= 7.10.2
94d3efde 42BuildRequires: gettext-devel
a4421097 43%{?with_caca:BuildRequires: libcaca-devel >= 0.9}
e49d4aba 44%{?with_nvtv:BuildRequires: libnvtvsimple-devel >= 0.4.6}
94d3efde 45BuildRequires: libpng-devel
796226cc 46BuildRequires: libtool
d69d22bb 47%{?with_lirc:BuildRequires: lirc-devel}
97f9434c 48BuildRequires: ncurses-devel
97f9434c 49BuildRequires: pkgconfig
9ab02642 50BuildRequires: readline-devel >= 4.2a
9aa0c46e 51BuildRequires: rpmbuild(macros) >= 1.213
d69d22bb 52BuildRequires: xine-lib-devel >= %{xine_ver}
4541f15e 53BuildRequires: xorg-lib-libXft-devel
e49d4aba 54%{!?with_nvtv:BuildConflicts: libnvtvsimple-devel}
d69d22bb
JB
55Requires: xine-lib >= %{xine_ver}
56Requires: xine-plugin-audio >= %{xine_ver}
796226cc
PG
57Obsoletes: xine
58BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
59
796226cc
PG
60%description
61xine is a free gpl-licensed video player for unix-like systems. We
62support mpeg-2 and mpeg-1 system (audio + video multiplexed) streams,
63eventually mpeg-4 and other formats might be added.
64
65xine plays the video and audio data of mpeg-2 videos and synchronizes
66the playback of both. Depending on the properties of the mpeg stream,
67playback will need more or less processor power, 100% frame rate has
68been seen on a 400 MHz P II system.
69
632099cb
JR
70%description -l fr.UTF-8
71xine est un lecteur vidéo libre sous license GPL pour les systèmes de
72type unix. Nous supportons les flux mpeg-2 et mpeg-1 (audio + vidéo
73multiplexés), éventuellement le mpeg-4 et d'autres formats peuvent
74êtres ajoutés.
796226cc 75
632099cb
JR
76xine joue les données vidéo et audio de vidéo mpeg-2 et synchronise la
77lecture des deux. En fonction des propriétes du flux mpeg, la lecture
796226cc 78aura besoin de plus ou moins de puissance du processeur, 100% de
632099cb 79restitution de trame a été vus sur un système PII 400MHz.
796226cc 80
632099cb
JR
81%description -l ko.UTF-8
82xine 는 GPL라이선스를 따르는 UNIX용 공개 동영상 플레이어입니다. 이
83플레이어는 mpeg-2 와 mpeg 1 스트림을 지원하며, 현재는 지원하지 않지만
84나중에는 mpeg-4 와 다른 형식의 동영상도 지원할 예정입니다.
796226cc 85
632099cb
JR
86%description -l pl.UTF-8
87xine jest wolnodostępnym odtwarzaczem filmów dla systemów uniksowych.
88Obsługuje strumienie MPEG-2 i MPEG-1 (przeplatany dźwięk i obraz),
89może być dodana obsługa MPEG-4 i innych formatów.
796226cc 90
632099cb
JR
91%description -l pt_BR.UTF-8
92O xine é um video player GPL para sistemas unix. Lê arquivos MPEG-2 e
93MPEG-1, além de AVIs MS MPEG4 / OpenDivX.
d90e3a32 94
632099cb 95O xine lê o conteúdo vídeo e áudio e sincroniza-os em tempo-real. As
d90e3a32 96necessidades de processador dependem das propriedades de cada arquivo.
97
01b24efa 98%package aa
2dcc5099 99Summary: XINE - Ascii Art player
c7af9d5d
ER
100Summary(pl.UTF-8): XINE - odtwarzacz Ascii Art
101Summary(pt_BR.UTF-8): XINE - Player em Ascii Art (aalib)
c366d8c0 102Group: Applications/Multimedia
d69d22bb
JB
103Requires: xine-lib >= %{xine_ver}
104Requires: xine-output-video-aa >= %{xine_ver}
105Requires: xine-plugin-audio >= %{xine_ver}
796226cc 106
01b24efa 107%description aa
108Video player using Ascii Art library.
796226cc 109
632099cb
JR
110%description aa -l pl.UTF-8
111Odtwarzacz filmów używający biblioteki Ascii Art.
5a7b9f94 112
632099cb 113%description aa -l pt_BR.UTF-8
d90e3a32 114Interface para o xine utilizando aalib (Ascii Art Library).
115
7c11d1e7
JB
116%package caca
117Summary: XINE - Color AsCii Art player
c7af9d5d 118Summary(pl.UTF-8): XINE - odtwarzacz kolorowy Ascii Art
7c11d1e7
JB
119Group: Applications/Multimedia
120Requires: xine-lib >= %{xine_ver}
121Requires: xine-output-video-caca >= %{xine_ver}
122Requires: xine-plugin-audio >= %{xine_ver}
123
124%description caca
125Video player using Colour AsCii Art library.
126
632099cb
JR
127%description caca -l pl.UTF-8
128Odtwarzacz filmów używający biblioteki CACA.
7c11d1e7 129
7f33fb2e 130%package dfb
131Summary: XINE - player for DirectFB
c7af9d5d 132Summary(pl.UTF-8): XINE - odtwarzacz dla DirectFB
c366d8c0 133Group: Applications/Multimedia
d69d22bb
JB
134Requires: xine-lib >= %{xine_ver}
135Requires: xine-output-video-directfb >= %{xine_ver}
136Requires: xine-plugin-audio >= %{xine_ver}
7f33fb2e 137
138%description dfb
139Video player using DirectFB library.
140
632099cb
JR
141%description dfb -l pl.UTF-8
142Odtwarzacz filmów używający biblioteki DirectFB.
7f33fb2e 143
796226cc 144%prep
6296ad9f 145%setup -q
a4421097 146#%patch0 -p0
6296ad9f 147%patch1 -p1
a4421097 148#%patch2 -p1
9ab02642 149%patch3 -p1
a4421097 150#%patch4 -p1
441e248c 151#%{?with_vdr:%patchX -p1}
796226cc
PG
152
153%build
29004da5 154%{__libtoolize}
329b9339 155%{__aclocal} -I m4
973f1c80 156%{__autoconf}
90e01190 157%{__automake}
6562995b 158%{__autoheader}
0e0bb6d4 159%configure \
e1b6ea67 160 --disable-orbit \
2a41fb2d 161 --disable-corba \
a4421097 162 --with-ncurses \
d69d22bb 163%{!?with_lirc: --disable-lirc} \
2ba34d6b 164%{?with_lirc: --enable-lirc} \
a4421097 165%{?with_vdr: --enable-vdr-keys} \
166 --with%{!?with_aalib:out}-aalib
82e92d93 167
796226cc
PG
168%{__make}
169
170%install
171rm -rf $RPM_BUILD_ROOT
f5d61ecd 172install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_datadir}/xine/skins}
796226cc 173
2dcc5099 174%{__make} install \
175 DESTDIR=$RPM_BUILD_ROOT \
176 docdir=$RPM_BUILD_ROOT%{_datadir}/doc/xine
796226cc 177
f5d61ecd 178install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
5be1a25a 179install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
180install %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/xine/skins
796226cc 181
71e119af 182cp src/xitk/xine-toolkit/README doc/README.xitk
183
d8ab0302 184%find_lang %{name} --all-name
f7d431b9 185
796226cc
PG
186%clean
187rm -rf $RPM_BUILD_ROOT
188
d8ab0302 189%files -f %{name}.lang
796226cc 190%defattr(644,root,root,755)
7c7ad477 191%doc doc/{README_en,README.*} ChangeLog
192%lang(cs) %doc doc/README_cs
193%lang(de) %doc doc/README_de
194%lang(es) %doc doc/README_es
0f0c5b0e 195%lang(fi) %doc doc/README_fi
7c7ad477 196%lang(fr) %doc doc/README_fr
197%lang(it) %doc doc/README_it
198%lang(pl) %doc doc/README_pl
199%lang(uk) %doc doc/README_uk
3d91a250 200#%attr(755,root,root) %{_bindir}/fbxine
2dcc5099 201%attr(755,root,root) %{_bindir}/xine
2a41fb2d
JK
202%attr(755,root,root) %{_bindir}/xine-bugreport
203%attr(755,root,root) %{_bindir}/xine-check
ee96bddf 204%attr(755,root,root) %{_bindir}/xine-remote
ee96bddf 205%{_datadir}/xine/desktop
db057dfb
JB
206%{_datadir}/xine/oxine
207%{_datadir}/xine/skins
7c7ad477 208%{_datadir}/xine/visuals
1be927e2
JB
209%{_mandir}/man1/xine*.1*
210%lang(de) %{_mandir}/de/man1/xine*.1*
211%lang(es) %{_mandir}/es/man1/xine*.1*
212%lang(fr) %{_mandir}/fr/man1/xine*.1*
213%lang(pl) %{_mandir}/pl/man1/xine*.1*
f5d61ecd 214%{_desktopdir}/xine.desktop
5be1a25a 215%{_pixmapsdir}/*
365b8463 216# CORBA files
b16edc52 217#%%{_datadir}/idl/xine.idl
2a41fb2d 218#%attr(755,root,root) %{_bindir}/xine-remote
796226cc 219
d69d22bb 220%if %{with aalib}
1be927e2
JB
221%files aa
222%defattr(644,root,root,755)
223%attr(755,root,root) %{_bindir}/aaxine
224%{_mandir}/man1/aaxine.1*
225%lang(de) %{_mandir}/de/man1/aaxine.1*
226%lang(pl) %{_mandir}/pl/man1/aaxine.1*
227%endif
7f33fb2e 228
7c11d1e7
JB
229%if %{with caca}
230%files caca
231%defattr(644,root,root,755)
232%attr(755,root,root) %{_bindir}/cacaxine
233%endif
234
d69d22bb 235%if %{with directfb}
1be927e2
JB
236%files dfb
237%defattr(644,root,root,755)
238%attr(755,root,root) %{_bindir}/dfbxine
239%endif
This page took 0.074325 seconds and 4 git commands to generate.