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