]>
Commit | Line | Data |
---|---|---|
e98f50d4 | 1 | # Conditional build: |
2 | # --without aa | |
a50678bb | 3 | # --without lirc |
796226cc | 4 | |
2dcc5099 | 5 | Summary: A Free Video Player |
e37241af JR |
6 | Summary(pl.UTF-8): Odtwarzacz video |
7 | Summary(ko.UTF-8): 공개 동영상 플레이어 | |
796226cc | 8 | Name: xine-ui |
179ee0fc JK |
9 | Version: 0.9.8 |
10 | Release: 1 | |
796226cc PG |
11 | License: GPL |
12 | Group: X11/Applications/Multimedia | |
796226cc PG |
13 | Source0: http://xine.sourceforge.net/files/%{name}-%{version}.tar.gz |
14 | Source1: xine.desktop | |
57d28d8f | 15 | Source2: xine_logo.png |
28500682 | 16 | Patch0: %{name}-DESTDIR.patch |
796226cc PG |
17 | URL: http://xine.sourceforge.net |
18 | BuildRequires: autoconf | |
19 | BuildRequires: automake | |
20 | BuildRequires: libtool | |
82e92d93 | 21 | BuildRequires: sed |
a043d0ab | 22 | BuildRequires: xine-lib-devel >= %{version} |
e1b6ea67 | 23 | %{!?_without_aa:BuildRequires: aalib-devel} |
24 | %{!?_without_aa:BuildRequires: aalib-progs} | |
25 | %{!?_without_aa:BuildRequires: slang-devel} | |
26 | %{!?_without_aa:BuildRequires: gpm-devel} | |
a50678bb | 27 | %{!?_without_lirc:BuildRequires: lirc-devel} |
796226cc PG |
28 | BuildRequires: libpng-devel |
29 | Obsoletes: xine | |
30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
31 | ||
32 | %define _prefix /usr/X11R6 | |
33 | %define _mandir %{_prefix}/man | |
f7d431b9 | 34 | %define _abindir /usr/bin |
796226cc PG |
35 | |
36 | %description | |
37 | xine is a free gpl-licensed video player for unix-like systems. We | |
38 | support mpeg-2 and mpeg-1 system (audio + video multiplexed) streams, | |
39 | eventually mpeg-4 and other formats might be added. | |
40 | ||
41 | xine plays the video and audio data of mpeg-2 videos and synchronizes | |
42 | the playback of both. Depending on the properties of the mpeg stream, | |
43 | playback will need more or less processor power, 100% frame rate has | |
44 | been seen on a 400 MHz P II system. | |
45 | ||
e37241af JR |
46 | %description -l fr.UTF-8 |
47 | xine est un lecteur vidéo libre sous license GPL pour les systèmes de | |
48 | type unix. Nous supportons les flux mpeg-2 et mpeg-1 (audio + vidéo | |
49 | multiplexés), éventuellement le mpeg-4 et d'autres formats peuvent | |
50 | êtres ajoutés. | |
796226cc | 51 | |
e37241af JR |
52 | xine joue les données vidéo et audio de vidéo mpeg-2 et synchronise la |
53 | lecture des deux. En fonction des propriétes du flux mpeg, la lecture | |
796226cc | 54 | aura besoin de plus ou moins de puissance du processeur, 100% de |
e37241af | 55 | restitution de trame a été vus sur un système PII 400MHz. |
796226cc | 56 | |
e37241af JR |
57 | %description -l ko.UTF-8 |
58 | xine 는 GPL라이선스를 따르는 UNIX용 공개 동영상 플레이어입니다. 이 | |
59 | 플레이어는 mpeg-2 와 mpeg 1 스트림을 지원하며, 현재는 지원하지 않지만 | |
60 | 나중에는 mpeg-4 와 다른 형식의 동영상도 지원할 예정입니다. | |
796226cc | 61 | |
e37241af JR |
62 | %description -l pl.UTF-8 |
63 | xine jest wolnodostępnym odtwarzaczem filmów dla systemów uniksowych. | |
64 | Obsługuje strumienie MPEG-2 i MPEG-1 (przeplatany dźwięk i obraz), | |
65 | może być dodana obsługa MPEG-4 i innych formatów. | |
796226cc | 66 | |
01b24efa | 67 | %package aa |
2dcc5099 | 68 | Summary: XINE - Ascii Art player |
e37241af | 69 | Summary(pl.UTF-8): XINE - odtwarzacz Ascii Art |
01b24efa | 70 | Group: Applications/Graphics |
e1b6ea67 | 71 | Requires: xine-lib-aa >= %{version} |
796226cc | 72 | |
01b24efa | 73 | %description aa |
74 | Video player using Ascii Art library. | |
796226cc | 75 | |
e37241af JR |
76 | %description aa -l pl.UTF-8 |
77 | Odtwarzacz filmów używający biblioteki Ascii Art. | |
5a7b9f94 | 78 | |
796226cc | 79 | %prep |
0e0bb6d4 | 80 | %setup -q -n xine-ui-%{version} |
28500682 | 81 | %patch0 -p1 |
796226cc PG |
82 | |
83 | %build | |
0e0bb6d4 | 84 | aclocal |
85 | autoconf | |
86 | automake -a -c | |
87 | autoheader | |
88 | %configure \ | |
e1b6ea67 | 89 | --disable-orbit \ |
a50678bb | 90 | %{?_without_lirc: --disable-lirc} \ |
91 | %{!?_without_lirc: --enable-lirc} | |
82e92d93 | 92 | |
796226cc PG |
93 | %{__make} |
94 | ||
95 | %install | |
96 | rm -rf $RPM_BUILD_ROOT | |
82e92d93 | 97 | install -d $RPM_BUILD_ROOT/{%{_applnkdir}/Multimedia,%{_datadir}/xine/skins} |
796226cc | 98 | |
2dcc5099 | 99 | %{__make} install \ |
100 | DESTDIR=$RPM_BUILD_ROOT \ | |
101 | docdir=$RPM_BUILD_ROOT%{_datadir}/doc/xine | |
796226cc PG |
102 | |
103 | install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Multimedia/xine.desktop | |
2dcc5099 | 104 | install %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/xine/skins |
796226cc | 105 | |
2dcc5099 | 106 | %{!?_without_aa:install -d $RPM_BUILD_ROOT%{_abindir}} |
107 | %{!?_without_aa:install $RPM_BUILD_ROOT%{_bindir}/aaxine $RPM_BUILD_ROOT%{_abindir}} | |
f7d431b9 | 108 | |
ae5dcc9b | 109 | gzip -9nf doc/{FAQ,README}* ChangeLog |
110 | ||
796226cc PG |
111 | %clean |
112 | rm -rf $RPM_BUILD_ROOT | |
113 | ||
114 | %files | |
115 | %defattr(644,root,root,755) | |
2e8029dd | 116 | %doc doc/{README_en,README.{dxr3,divx4,syncfb,xinerc},FAQ_en}.gz *.gz |
ae5dcc9b | 117 | %lang(pl) %doc doc/{README,README.dxr3,FAQ}_pl.gz |
118 | %lang(it) %doc doc/{README,FAQ}_it.gz | |
119 | %lang(es) %doc doc/{README,FAQ}_es.gz | |
120 | %lang(fr) %doc doc/FAQ_fr.gz | |
2dcc5099 | 121 | %attr(755,root,root) %{_bindir}/xine |
122 | %{_datadir}/idl/xine.idl | |
123 | %{_datadir}/xine/skins | |
2e8029dd JK |
124 | %{_mandir}/man1/*.1* |
125 | %lang(fr) %{_mandir}/fr/man1/*.1* | |
126 | %lang(es) %{_mandir}/es/man1/*.1* | |
127 | %lang(pl) %{_mandir}/pl/man1/*.1* | |
796226cc PG |
128 | %{_applnkdir}/Multimedia/xine.desktop |
129 | ||
6e0cee1e PG |
130 | %{!?_without_aa:%files aa} |
131 | %{!?_without_aa:%defattr(644,root,root,755)} | |
f7d431b9 | 132 | %{!?_without_aa:%attr(755,root,root) %{_abindir}/aaxine} |