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