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