]> git.pld-linux.org Git - packages/xine-ui.git/blame - xine-ui.spec
- converted to UTF-8
[packages/xine-ui.git] / xine-ui.spec
CommitLineData
e98f50d4 1# Conditional build:
2# --without aa
a50678bb 3# --without lirc
796226cc 4
2dcc5099 5Summary: A Free Video Player
e37241af
JR
6Summary(pl.UTF-8): Odtwarzacz video
7Summary(ko.UTF-8): 공개 동영상 플레이어
796226cc 8Name: xine-ui
179ee0fc
JK
9Version: 0.9.8
10Release: 1
796226cc
PG
11License: GPL
12Group: X11/Applications/Multimedia
796226cc
PG
13Source0: http://xine.sourceforge.net/files/%{name}-%{version}.tar.gz
14Source1: xine.desktop
57d28d8f 15Source2: xine_logo.png
28500682 16Patch0: %{name}-DESTDIR.patch
796226cc
PG
17URL: http://xine.sourceforge.net
18BuildRequires: autoconf
19BuildRequires: automake
20BuildRequires: libtool
82e92d93 21BuildRequires: sed
a043d0ab 22BuildRequires: 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
28BuildRequires: libpng-devel
29Obsoletes: xine
30BuildRoot: %{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
37xine is a free gpl-licensed video player for unix-like systems. We
38support mpeg-2 and mpeg-1 system (audio + video multiplexed) streams,
39eventually mpeg-4 and other formats might be added.
40
41xine plays the video and audio data of mpeg-2 videos and synchronizes
42the playback of both. Depending on the properties of the mpeg stream,
43playback will need more or less processor power, 100% frame rate has
44been seen on a 400 MHz P II system.
45
e37241af
JR
46%description -l fr.UTF-8
47xine est un lecteur vidéo libre sous license GPL pour les systèmes de
48type unix. Nous supportons les flux mpeg-2 et mpeg-1 (audio + vidéo
49multiplexés), éventuellement le mpeg-4 et d'autres formats peuvent
50êtres ajoutés.
796226cc 51
e37241af
JR
52xine joue les données vidéo et audio de vidéo mpeg-2 et synchronise la
53lecture des deux. En fonction des propriétes du flux mpeg, la lecture
796226cc 54aura besoin de plus ou moins de puissance du processeur, 100% de
e37241af 55restitution de trame a été vus sur un système PII 400MHz.
796226cc 56
e37241af
JR
57%description -l ko.UTF-8
58xine 는 GPL라이선스를 따르는 UNIX용 공개 동영상 플레이어입니다. 이
59플레이어는 mpeg-2 와 mpeg 1 스트림을 지원하며, 현재는 지원하지 않지만
60나중에는 mpeg-4 와 다른 형식의 동영상도 지원할 예정입니다.
796226cc 61
e37241af
JR
62%description -l pl.UTF-8
63xine jest wolnodostępnym odtwarzaczem filmów dla systemów uniksowych.
64Obsługuje strumienie MPEG-2 i MPEG-1 (przeplatany dźwięk i obraz),
65może być dodana obsługa MPEG-4 i innych formatów.
796226cc 66
01b24efa 67%package aa
2dcc5099 68Summary: XINE - Ascii Art player
e37241af 69Summary(pl.UTF-8): XINE - odtwarzacz Ascii Art
01b24efa 70Group: Applications/Graphics
e1b6ea67 71Requires: xine-lib-aa >= %{version}
796226cc 72
01b24efa 73%description aa
74Video player using Ascii Art library.
796226cc 75
e37241af
JR
76%description aa -l pl.UTF-8
77Odtwarzacz 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 84aclocal
85autoconf
86automake -a -c
87autoheader
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
96rm -rf $RPM_BUILD_ROOT
82e92d93 97install -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
103install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Multimedia/xine.desktop
2dcc5099 104install %{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 109gzip -9nf doc/{FAQ,README}* ChangeLog
110
796226cc
PG
111%clean
112rm -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}
This page took 0.090615 seconds and 4 git commands to generate.