]> git.pld-linux.org Git - packages/xine-ui.git/blob - xine-ui.spec
- updated to 0.99.14
[packages/xine-ui.git] / xine-ui.spec
1 #
2 # Conditional build:
3 %bcond_without  aalib           # aaxine UI
4 %bcond_with     caca            # cacaxine UI
5 %bcond_without  lirc            # lirc support
6 %bcond_without  nvtv            # nvtv support
7 %bcond_with     directfb        # dfbxine UI [disabled in sources at the moment]
8 %bcond_with     vdr             # vdr special keys support
9 #
10 %ifnarch alpha %{arm} %{ix86} ia64 sh %{x8664}
11 %undefine       with_nvtv
12 %endif
13 %define xine_ver 1:1.1.0
14 Summary:        A Free Video Player
15 Summary(ko.UTF-8):      공개 동영상 플레이어
16 Summary(pl.UTF-8):      Odtwarzacz video
17 Summary(pt_BR.UTF-8):   Xine, um player de video
18 Summary(zh_CN.UTF-8):   一个免费的视频播放器(界面)
19 Name:           xine-ui
20 Version:        0.99.14
21 Release:        1
22 License:        GPL v2+
23 Group:          X11/Applications/Multimedia
24 Source0:        https://downloads.sourceforge.net/xine/%{name}-%{version}.tar.xz
25 # Source0-md5:  86a4db9050405a91fcc33b7ad85274f5
26 Source1:        xine_logo.png
27 Patch0:         %{name}-ncurses.patch
28 Patch1:         %{name}-nolibs.patch
29 Patch2:         %{name}-pl.po.patch
30 Patch3:         %{name}-build.patch
31 Patch4:         %{name}-desktop.patch
32 URL:            http://www.xine-project.org/
33 %{?with_directfb:BuildRequires: DirectFB-devel >= 0.9.10}
34 %{?with_aalib:BuildRequires:    aalib-devel >= 1.2.0}
35 BuildRequires:  autoconf >= 2.59
36 BuildRequires:  automake >= 1:1.8.1
37 BuildRequires:  bison
38 BuildRequires:  curl-devel >= 7.10.2
39 BuildRequires:  gettext-tools >= 0.19.8
40 %{?with_caca:BuildRequires:     libcaca-devel >= 0.99-0.beta19}
41 %{?with_nvtv:BuildRequires:     libnvtvsimple-devel >= 0.4.6}
42 BuildRequires:  libjpeg-devel
43 BuildRequires:  libpng-devel    >= 2:1.4.0
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:  tar >= 1:1.24
50 BuildRequires:  xine-lib-devel >= %{xine_ver}
51 BuildRequires:  xorg-lib-libX11-devel
52 BuildRequires:  xorg-lib-libXScrnSaver-devel
53 BuildRequires:  xorg-lib-libXext-devel
54 BuildRequires:  xorg-lib-libXft-devel
55 BuildRequires:  xorg-lib-libXinerama-devel
56 BuildRequires:  xorg-lib-libXt-devel
57 BuildRequires:  xorg-lib-libXtst-devel
58 BuildRequires:  xorg-lib-libXv-devel
59 BuildRequires:  xorg-lib-libXxf86vm-devel
60 BuildRequires:  xz
61 Requires:       xine-lib >= %{xine_ver}
62 Requires:       xine-plugin-audio >= %{xine_ver}
63 Obsoletes:      xine < 1
64 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
65
66 %description
67 xine is a free gpl-licensed video player for Unix-like systems. We
68 support mpeg-2 and mpeg-1 system (audio + video multiplexed) streams,
69 eventually mpeg-4 and other formats might be added.
70
71 xine plays the video and audio data of mpeg-2 videos and synchronizes
72 the playback of both. Depending on the properties of the mpeg stream,
73 playback will need more or less processor power, 100% frame rate has
74 been seen on a 400 MHz P II system.
75
76 %description -l fr.UTF-8
77 xine est un lecteur vidéo libre sous license GPL pour les systèmes de
78 type Unix. Nous supportons les flux mpeg-2 et mpeg-1 (audio + vidéo
79 multiplexés), éventuellement le mpeg-4 et d'autres formats peuvent
80 êtres ajoutés.
81
82 xine joue les données vidéo et audio de vidéo mpeg-2 et synchronise la
83 lecture des deux. En fonction des propriétes du flux mpeg, la lecture
84 aura besoin de plus ou moins de puissance du processeur, 100% de
85 restitution de trame a été vus sur un système PII 400MHz.
86
87 %description -l ko.UTF-8
88 xine 는 GPL라이선스를 따르는 UNIX용 공개 동영상 플레이어입니다. 이
89 플레이어는 mpeg-2 와 mpeg 1 스트림을 지원하며, 현재는 지원하지 않지만
90 나중에는 mpeg-4 와 다른 형식의 동영상도 지원할 예정입니다.
91
92 %description -l pl.UTF-8
93 xine jest wolnodostępnym odtwarzaczem filmów dla systemów uniksowych.
94 Obsługuje strumienie MPEG-2 i MPEG-1 (przeplatany dźwięk i obraz),
95 może być dodana obsługa MPEG-4 i innych formatów.
96
97 %description -l pt_BR.UTF-8
98 O xine é um video player GPL para sistemas unix. Lê arquivos MPEG-2 e
99 MPEG-1, além de AVIs MS MPEG4 / OpenDivX.
100
101 O xine lê o conteúdo vídeo e áudio e sincroniza-os em tempo-real. As
102 necessidades de processador dependem das propriedades de cada arquivo.
103
104 %package aa
105 Summary:        XINE - Ascii Art player
106 Summary(pl.UTF-8):      XINE - odtwarzacz Ascii Art
107 Summary(pt_BR.UTF-8):   XINE - Player em Ascii Art (aalib)
108 Group:          Applications/Multimedia
109 Requires:       xine-lib >= %{xine_ver}
110 Requires:       xine-output-video-aa >= %{xine_ver}
111 Requires:       xine-plugin-audio >= %{xine_ver}
112
113 %description aa
114 Video player using ASCII Art library.
115
116 %description aa -l pl.UTF-8
117 Odtwarzacz filmów używający biblioteki ASCII Art.
118
119 %description aa -l pt_BR.UTF-8
120 Interface para o xine utilizando aalib (ASCII Art Library).
121
122 %package caca
123 Summary:        XINE - Color ASCII Art player
124 Summary(pl.UTF-8):      XINE - odtwarzacz kolorowy ASCII Art
125 Group:          Applications/Multimedia
126 Requires:       xine-lib >= %{xine_ver}
127 Requires:       xine-output-video-caca >= %{xine_ver}
128 Requires:       xine-plugin-audio >= %{xine_ver}
129
130 %description caca
131 Video player using Colour ASCII Art library.
132
133 %description caca -l pl.UTF-8
134 Odtwarzacz filmów używający biblioteki CACA.
135
136 %package dfb
137 Summary:        XINE - player for DirectFB
138 Summary(pl.UTF-8):      XINE - odtwarzacz dla DirectFB
139 Group:          Applications/Multimedia
140 Requires:       xine-lib >= %{xine_ver}
141 Requires:       xine-output-video-directfb >= %{xine_ver}
142 Requires:       xine-plugin-audio >= %{xine_ver}
143
144 %description dfb
145 Video player using DirectFB library.
146
147 %description dfb -l pl.UTF-8
148 Odtwarzacz filmów używający biblioteki DirectFB.
149
150 %prep
151 %setup -q
152 %patch0 -p1
153 %patch1 -p1
154 %patch2 -p1
155 %patch3 -p1
156 %patch4 -p1
157
158 %{__rm} po/stamp-po
159
160 %build
161 %{__aclocal} -I m4
162 %{__autoconf}
163 %{__autoheader}
164 %{__automake}
165 %configure \
166         %{!?with_lirc:--disable-lirc} \
167         %{!?with_nvtv:--disable-nvtvsimple} \
168         --disable-silent-rules \
169         %{?with_vdr:--enable-vdr-keys} \
170         %{!?with_aalib:--without-aalib} \
171         %{!?with_caca:--without-caca}
172
173 %{__make}
174
175 %install
176 rm -rf $RPM_BUILD_ROOT
177 install -d $RPM_BUILD_ROOT%{_datadir}/xine/skins
178
179 %{__make} install \
180         DESTDIR=$RPM_BUILD_ROOT \
181         docdir=$RPM_BUILD_ROOT%{_datadir}/doc/xine
182
183 install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/xine/skins
184
185 cp src/xitk/xine-toolkit/README doc/README.xitk
186 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/{xine-ui,xitk}
187
188 %find_lang %{name} --all-name
189
190 %clean
191 rm -rf $RPM_BUILD_ROOT
192
193 %files -f %{name}.lang
194 %defattr(644,root,root,755)
195 %doc ChangeLog doc/{README.config_en,README.en.*,README.xitk}
196 %lang(cs) %doc doc/{README.cs.*,README_cs}
197 %lang(de) %doc doc/README_de
198 %lang(es) %doc doc/README_es
199 %lang(fi) %doc doc/README_fi
200 %lang(fr) %doc doc/README_fr
201 %lang(it) %doc doc/README_it
202 %lang(pl) %doc doc/README_pl
203 %lang(uk) %doc doc/README_uk
204 %attr(755,root,root) %{_bindir}/fbxine
205 %attr(755,root,root) %{_bindir}/xine
206 %attr(755,root,root) %{_bindir}/xine-bugreport
207 %attr(755,root,root) %{_bindir}/xine-check
208 %attr(755,root,root) %{_bindir}/xine-remote
209 %dir %{_datadir}/xine
210 %{_datadir}/xine/oxine
211 %{_datadir}/xine/skins
212 %{_datadir}/xine/visuals
213 %{_mandir}/man1/xine*.1*
214 %lang(de) %{_mandir}/de/man1/xine*.1*
215 %lang(es) %{_mandir}/es/man1/xine*.1*
216 %lang(fr) %{_mandir}/fr/man1/xine*.1*
217 %lang(nl) %{_mandir}/nl/man1/xine*.1*
218 %lang(pl) %{_mandir}/pl/man1/xine*.1*
219 %{_datadir}/mime/packages/xine-ui.xml
220 %{_desktopdir}/xine.desktop
221 %{_iconsdir}/hicolor/*/apps/xine.png
222 %{_iconsdir}/hicolor/scalable/apps/xine.svgz
223 %{_pixmapsdir}/xine.xpm
224 %{_pixmapsdir}/xine_32.xpm
225
226 %if %{with aalib}
227 %files aa
228 %defattr(644,root,root,755)
229 %attr(755,root,root) %{_bindir}/aaxine
230 %{_mandir}/man1/aaxine.1*
231 %lang(de) %{_mandir}/de/man1/aaxine.1*
232 %lang(es) %{_mandir}/es/man1/aaxine.1*
233 %lang(nl) %{_mandir}/nl/man1/aaxine.1*
234 %lang(pl) %{_mandir}/pl/man1/aaxine.1*
235 %endif
236
237 %if %{with caca}
238 %files caca
239 %defattr(644,root,root,755)
240 %attr(755,root,root) %{_bindir}/cacaxine
241 %endif
242
243 %if %{with directfb}
244 %files dfb
245 %defattr(644,root,root,755)
246 %attr(755,root,root) %{_bindir}/dfbxine
247 %endif
This page took 0.095958 seconds and 3 git commands to generate.