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