3 %bcond_without aalib # without aaxine UI
4 %bcond_without caca # without cacaxine UI
5 %bcond_without lirc # without lirc support
6 %bcond_without nvtv # without nvtv support
7 %bcond_with directfb # with dfbxine UI [disabled in sources at the moment]
8 %bcond_with vdr # with vdr support
10 %ifnarch alpha arm %{ix86} ia64 sh %{x8664}
13 %define xine_ver 1:1.0
14 Summary: A Free Video Player
15 Summary(ko): °ø°³ µ¿¿µ»ó Ç÷¹À̾î
16 Summary(pl): Odtwarzacz video
17 Summary(pt_BR): Xine, um player de video
18 Summary(zh_CN): Ò»¸öÃâ·ÑµÄÊÓƵ²¥·ÅÆ÷(½çÃæ)
23 Group: X11/Applications/Multimedia
24 Source0: http://dl.sourceforge.net/xine/%{name}-%{version}.tar.gz
25 # Source0-md5: 90ea1f76747e9788a30a73e7f4a76cf6
28 Source3: xine_logo.png
29 Patch0: %{name}-ncurses.patch
30 Patch1: %{name}-nolibs.patch
31 Patch2: %{name}-pl.po.patch
32 Patch3: %{name}-curl.patch
33 Patch4: %{name}-vdr.patch
34 URL: http://xine.sourceforge.net/
35 %{?with_directfb:BuildRequires: DirectFB-devel >= 0.9.10}
36 %{?with_aalib:BuildRequires: aalib-devel >= 1.2.0}
37 BuildRequires: autoconf >= 2.53
38 BuildRequires: automake >= 1:1.8.1
40 BuildRequires: curl-devel >= 7.10.2
41 BuildRequires: gettext-devel
42 %{?with_caca:BuildRequires: libcaca-devel >= 0.3}
43 %{?with_nvtv:BuildRequires: libnvtvsimple-devel >= 0.4.6}
44 BuildRequires: libpng-devel
45 BuildRequires: libtool
46 %{?with_lirc:BuildRequires: lirc-devel}
47 BuildRequires: ncurses-devel
48 BuildRequires: pkgconfig
49 BuildRequires: readline-devel >= 4.2a
50 BuildRequires: rpmbuild(macros) >= 1.213
51 BuildRequires: xine-lib-devel >= %{xine_ver}
52 BuildRequires: xorg-lib-libXft-devel
53 %{!?with_nvtv:BuildConflicts: libnvtvsimple-devel}
54 Requires: xine-lib >= %{xine_ver}
55 Requires: xine-plugin-audio >= %{xine_ver}
57 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
60 xine is a free gpl-licensed video player for unix-like systems. We
61 support mpeg-2 and mpeg-1 system (audio + video multiplexed) streams,
62 eventually mpeg-4 and other formats might be added.
64 xine plays the video and audio data of mpeg-2 videos and synchronizes
65 the playback of both. Depending on the properties of the mpeg stream,
66 playback will need more or less processor power, 100% frame rate has
67 been seen on a 400 MHz P II system.
70 xine est un lecteur vidéo libre sous license GPL pour les systèmes de
71 type unix. Nous supportons les flux mpeg-2 et mpeg-1 (audio + vidéo
72 multiplexés), éventuellement le mpeg-4 et d'autres formats peuvent
75 xine joue les données vidéo et audio de vidéo mpeg-2 et synchronise la
76 lecture des deux. En fonction des propriétes du flux mpeg, la lecture
77 aura besoin de plus ou moins de puissance du processeur, 100% de
78 restitution de trame a été vus sur un système PII 400MHz.
81 xine ´Â GPL¶óÀ̼±½º¸¦ µû¸£´Â UNIX¿ë °ø°³ µ¿¿µ»ó Ç÷¹À̾îÀÔ´Ï´Ù. ÀÌ
82 Ç÷¹À̾î´Â mpeg-2 ¿Í mpeg 1 ½ºÆ®¸²À» Áö¿øÇϸç, ÇöÀç´Â Áö¿øÇÏÁö ¾ÊÁö¸¸
83 ³ªÁß¿¡´Â mpeg-4 ¿Í ´Ù¸¥ Çü½ÄÀÇ µ¿¿µ»óµµ Áö¿øÇÒ ¿¹Á¤ÀÔ´Ï´Ù.
86 xine jest wolnodostêpnym odtwarzaczem filmów dla systemów uniksowych.
87 Obs³uguje strumienie MPEG-2 i MPEG-1 (przeplatany d¼wiêk i obraz),
88 mo¿e byæ dodana obs³uga MPEG-4 i innych formatów.
91 O xine é um video player GPL para sistemas unix. Lê arquivos MPEG-2 e
92 MPEG-1, além de AVIs MS MPEG4 / OpenDivX.
94 O xine lê o conteúdo vídeo e áudio e sincroniza-os em tempo-real. As
95 necessidades de processador dependem das propriedades de cada arquivo.
98 Summary: XINE - Ascii Art player
99 Summary(pl): XINE - odtwarzacz Ascii Art
100 Summary(pt_BR): XINE - Player em Ascii Art (aalib)
101 Group: Applications/Multimedia
102 Requires: xine-lib >= %{xine_ver}
103 Requires: xine-output-video-aa >= %{xine_ver}
104 Requires: xine-plugin-audio >= %{xine_ver}
107 Video player using Ascii Art library.
109 %description aa -l pl
110 Odtwarzacz filmów u¿ywaj±cy biblioteki Ascii Art.
112 %description aa -l pt_BR
113 Interface para o xine utilizando aalib (Ascii Art Library).
116 Summary: XINE - Color AsCii Art player
117 Summary(pl): XINE - odtwarzacz kolorowy Ascii Art
118 Group: Applications/Multimedia
119 Requires: xine-lib >= %{xine_ver}
120 Requires: xine-output-video-caca >= %{xine_ver}
121 Requires: xine-plugin-audio >= %{xine_ver}
124 Video player using Colour AsCii Art library.
126 %description caca -l pl
127 Odtwarzacz filmów u¿ywaj±cy biblioteki CACA.
130 Summary: XINE - player for DirectFB
131 Summary(pl): XINE - odtwarzacz dla DirectFB
132 Group: Applications/Multimedia
133 Requires: xine-lib >= %{xine_ver}
134 Requires: xine-output-video-directfb >= %{xine_ver}
135 Requires: xine-plugin-audio >= %{xine_ver}
138 Video player using DirectFB library.
140 %description dfb -l pl
141 Odtwarzacz filmów u¿ywaj±cy biblioteki DirectFB.
149 %{?with_vdr:%patch4 -p1}
160 %{!?with_lirc: --disable-lirc} \
161 %{?with_lirc: --enable-lirc} \
162 %{?with_vdr: --enable-vdr-keys}
167 rm -rf $RPM_BUILD_ROOT
168 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_datadir}/xine/skins}
171 DESTDIR=$RPM_BUILD_ROOT \
172 docdir=$RPM_BUILD_ROOT%{_datadir}/doc/xine
174 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
175 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
176 install %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/xine/skins
178 cp src/xitk/xine-toolkit/README doc/README.xitk
180 %find_lang %{name} --all-name
183 rm -rf $RPM_BUILD_ROOT
185 %files -f %{name}.lang
186 %defattr(644,root,root,755)
187 %doc doc/{README_en,README.*} ChangeLog
188 %lang(cs) %doc doc/README_cs
189 %lang(de) %doc doc/README_de
190 %lang(es) %doc doc/README_es
191 %lang(fi) %doc doc/README_fi
192 %lang(fr) %doc doc/README_fr
193 %lang(it) %doc doc/README_it
194 %lang(pl) %doc doc/README_pl
195 %lang(uk) %doc doc/README_uk
196 #%attr(755,root,root) %{_bindir}/fbxine
197 %attr(755,root,root) %{_bindir}/xine
198 %attr(755,root,root) %{_bindir}/xine-bugreport
199 %attr(755,root,root) %{_bindir}/xine-check
200 %attr(755,root,root) %{_bindir}/xine-remote
201 %{_datadir}/xine/desktop
202 %{_datadir}/xine/oxine
203 %{_datadir}/xine/skins
204 %{_datadir}/xine/visuals
205 %{_mandir}/man1/xine*.1*
206 %lang(de) %{_mandir}/de/man1/xine*.1*
207 %lang(es) %{_mandir}/es/man1/xine*.1*
208 %lang(fr) %{_mandir}/fr/man1/xine*.1*
209 %lang(pl) %{_mandir}/pl/man1/xine*.1*
210 %{_desktopdir}/xine.desktop
213 #%%{_datadir}/idl/xine.idl
214 #%attr(755,root,root) %{_bindir}/xine-remote
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*
227 %defattr(644,root,root,755)
228 %attr(755,root,root) %{_bindir}/cacaxine
233 %defattr(644,root,root,755)
234 %attr(755,root,root) %{_bindir}/dfbxine