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