]> git.pld-linux.org Git - packages/xine-ui.git/blob - xine-ui.spec
daf2d975d492013086f88eaf930507a3e2e878c6
[packages/xine-ui.git] / xine-ui.spec
1 #
2 # Conditional build:
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 #
9 %ifnarch alpha arm %{ix86} ia64 sh amd64
10 %undefine       with_nvtv
11 %endif
12 %define xine_ver 1:1.0
13 Summary:        A Free Video Player
14 Summary(ko):    °ø°³ µ¿¿µ»ó Ç÷¹À̾î
15 Summary(pl):    Odtwarzacz video
16 Summary(pt_BR): Xine, um player de video
17 Summary(zh_CN): Ò»¸öÃâ·ÑµÄÊÓƵ²¥·ÅÆ÷(½çÃæ)
18 Name:           xine-ui
19 Version:        0.99.3
20 Release:        1
21 License:        GPL
22 Group:          X11/Applications/Multimedia
23 Source0:        http://dl.sourceforge.net/xine/%{name}-%{version}.tar.gz
24 # Source0-md5:  aa7805a93e511e3d67dc1bf09a71fcdd
25 Source1:        xine.desktop
26 Source2:        xine.png
27 Source3:        xine_logo.png
28 Patch0:         %{name}-ncurses.patch
29 Patch1:         %{name}-nolibs.patch
30 Patch2:         %{name}-pl.po.patch
31 Patch3:         %{name}-curl.patch
32 URL:            http://xine.sourceforge.net/
33 %{?with_directfb:BuildRequires: DirectFB-devel >= 0.9.10}
34 %{?with_aalib:BuildRequires:    aalib-devel >= 1.2.0}
35 BuildRequires:  autoconf >= 2.53
36 BuildRequires:  automake >= 1:1.8.1
37 BuildRequires:  bison
38 BuildRequires:  curl-devel >= 7.10.2
39 BuildRequires:  gettext-devel
40 %{?with_caca:BuildRequires:     libcaca-devel >= 0.3}
41 %{?with_nvtv:BuildRequires:     libnvtvsimple-devel >= 0.4.6}
42 BuildRequires:  libpng-devel
43 BuildRequires:  libtool
44 %{?with_lirc:BuildRequires:     lirc-devel}
45 BuildRequires:  ncurses-devel
46 BuildRequires:  pkgconfig
47 BuildRequires:  readline-devel >= 4.2a
48 BuildRequires:  xft-devel >= 2.0
49 BuildRequires:  xine-lib-devel >= %{xine_ver}
50 %{!?with_nvtv:BuildConflicts:   libnvtvsimple-devel}
51 Requires:       xine-lib >= %{xine_ver}
52 Requires:       xine-plugin-audio >= %{xine_ver}
53 Obsoletes:      xine
54 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
55
56 %description
57 xine is a free gpl-licensed video player for unix-like systems. We
58 support mpeg-2 and mpeg-1 system (audio + video multiplexed) streams,
59 eventually mpeg-4 and other formats might be added.
60
61 xine plays the video and audio data of mpeg-2 videos and synchronizes
62 the playback of both. Depending on the properties of the mpeg stream,
63 playback will need more or less processor power, 100% frame rate has
64 been seen on a 400 MHz P II system.
65
66 %description -l fr
67 xine est un lecteur vidéo libre sous license GPL pour les systèmes de
68 type unix. Nous supportons les flux mpeg-2 et mpeg-1 (audio + vidéo
69 multiplexés), éventuellement le mpeg-4 et d'autres formats peuvent
70 êtres ajoutés.
71
72 xine joue les données vidéo et audio de vidéo mpeg-2 et synchronise la
73 lecture des deux. En fonction des propriétes du flux mpeg, la lecture
74 aura besoin de plus ou moins de puissance du processeur, 100% de
75 restitution de trame a été vus sur un système PII 400MHz.
76
77 %description -l ko
78 xine ´Â GPL¶óÀ̼±½º¸¦ µû¸£´Â UNIX¿ë °ø°³ µ¿¿µ»ó Ç÷¹À̾îÀÔ´Ï´Ù. ÀÌ
79 Ç÷¹À̾î´Â mpeg-2 ¿Í mpeg 1 ½ºÆ®¸²À» Áö¿øÇϸç, ÇöÀç´Â Áö¿øÇÏÁö ¾ÊÁö¸¸
80 ³ªÁß¿¡´Â mpeg-4 ¿Í ´Ù¸¥ Çü½ÄÀÇ µ¿¿µ»óµµ Áö¿øÇÒ ¿¹Á¤ÀÔ´Ï´Ù.
81
82 %description -l pl
83 xine jest wolnodostêpnym odtwarzaczem filmów dla systemów uniksowych.
84 Obs³uguje strumienie MPEG-2 i MPEG-1 (przeplatany d¼wiêk i obraz),
85 mo¿e byæ dodana obs³uga MPEG-4 i innych formatów.
86
87 %description -l pt_BR
88 O xine é um video player GPL para sistemas unix. Lê arquivos MPEG-2 e
89 MPEG-1, além de AVIs MS MPEG4 / OpenDivX.
90
91 O xine lê o conteúdo vídeo e áudio e sincroniza-os em tempo-real. As
92 necessidades de processador dependem das propriedades de cada arquivo.
93
94 %package aa
95 Summary:        XINE - Ascii Art player
96 Summary(pl):    XINE - odtwarzacz Ascii Art
97 Summary(pt_BR): XINE - Player em Ascii Art (aalib)
98 Group:          Applications/Multimedia
99 Requires:       xine-lib >= %{xine_ver}
100 Requires:       xine-output-video-aa >= %{xine_ver}
101 Requires:       xine-plugin-audio >= %{xine_ver}
102
103 %description aa
104 Video player using Ascii Art library.
105
106 %description aa -l pl
107 Odtwarzacz filmów u¿ywaj±cy biblioteki Ascii Art.
108
109 %description aa -l pt_BR
110 Interface para o xine utilizando aalib (Ascii Art Library).
111
112 %package caca
113 Summary:        XINE - Color AsCii Art player
114 Summary(pl):    XINE - odtwarzacz kolorowy Ascii Art
115 Group:          Applications/Multimedia
116 Requires:       xine-lib >= %{xine_ver}
117 Requires:       xine-output-video-caca >= %{xine_ver}
118 Requires:       xine-plugin-audio >= %{xine_ver}
119
120 %description caca
121 Video player using Colour AsCii Art library.
122
123 %description caca -l pl
124 Odtwarzacz filmów u¿ywaj±cy biblioteki CACA.
125
126 %package dfb
127 Summary:        XINE - player for DirectFB
128 Summary(pl):    XINE - odtwarzacz dla DirectFB
129 Group:          Applications/Multimedia
130 Requires:       xine-lib >= %{xine_ver}
131 Requires:       xine-output-video-directfb >= %{xine_ver}
132 Requires:       xine-plugin-audio >= %{xine_ver}
133
134 %description dfb
135 Video player using DirectFB library.
136
137 %description dfb -l pl
138 Odtwarzacz filmów u¿ywaj±cy biblioteki DirectFB.
139
140 %prep
141 %setup -q
142 %patch0 -p0
143 %patch1 -p1
144 %patch2 -p1
145 %patch3 -p1
146
147 %build
148 %{__libtoolize}
149 %{__aclocal} -I m4
150 %{__autoconf}
151 %{__automake}
152 %{__autoheader}
153 %configure \
154         --disable-orbit \
155         --disable-corba \
156 %{!?with_lirc:  --disable-lirc} \
157 %{?with_lirc:   --enable-lirc}
158
159 %{__make}
160
161 %install
162 rm -rf $RPM_BUILD_ROOT
163 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_datadir}/xine/skins}
164
165 %{__make} install \
166         DESTDIR=$RPM_BUILD_ROOT \
167         docdir=$RPM_BUILD_ROOT%{_datadir}/doc/xine
168
169 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
170 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
171 install %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/xine/skins
172
173 cp src/xitk/xine-toolkit/README doc/README.xitk
174
175 %find_lang %{name} --all-name
176
177 %clean
178 rm -rf $RPM_BUILD_ROOT
179
180 %files -f %{name}.lang
181 %defattr(644,root,root,755)
182 %doc doc/{README_en,README.*} ChangeLog
183 %lang(cs) %doc doc/README_cs
184 %lang(de) %doc doc/README_de
185 %lang(es) %doc doc/README_es
186 %lang(fi) %doc doc/README_fi
187 %lang(fr) %doc doc/README_fr
188 %lang(it) %doc doc/README_it
189 %lang(pl) %doc doc/README_pl
190 %lang(uk) %doc doc/README_uk
191 %attr(755,root,root) %{_bindir}/fbxine
192 %attr(755,root,root) %{_bindir}/xine
193 %attr(755,root,root) %{_bindir}/xine-bugreport
194 %attr(755,root,root) %{_bindir}/xine-check
195 %attr(755,root,root) %{_bindir}/xine-remote
196 %{_datadir}/xine/skins
197 %{_datadir}/xine/desktop
198 %{_datadir}/xine/visuals
199 %{_mandir}/man1/xine*.1*
200 %lang(de) %{_mandir}/de/man1/xine*.1*
201 %lang(es) %{_mandir}/es/man1/xine*.1*
202 %lang(fr) %{_mandir}/fr/man1/xine*.1*
203 %lang(pl) %{_mandir}/pl/man1/xine*.1*
204 %{_desktopdir}/xine.desktop
205 %{_pixmapsdir}/*
206 # CORBA files
207 #%%{_datadir}/idl/xine.idl
208 #%attr(755,root,root) %{_bindir}/xine-remote
209
210 %if %{with aalib}
211 %files aa
212 %defattr(644,root,root,755)
213 %attr(755,root,root) %{_bindir}/aaxine
214 %{_mandir}/man1/aaxine.1*
215 %lang(de) %{_mandir}/de/man1/aaxine.1*
216 %lang(pl) %{_mandir}/pl/man1/aaxine.1*
217 %endif
218
219 %if %{with caca}
220 %files caca
221 %defattr(644,root,root,755)
222 %attr(755,root,root) %{_bindir}/cacaxine
223 %endif
224
225 %if %{with directfb}
226 %files dfb
227 %defattr(644,root,root,755)
228 %attr(755,root,root) %{_bindir}/dfbxine
229 %endif
This page took 0.032015 seconds and 2 git commands to generate.