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