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