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