2 # I know, console<->terminal
3 Summary: Console audio player with simple ncurses interface
4 Summary(pl): Konsolowy odtwarzacz audio z prostym interfejsem ncurses
9 Group: Applications/Sound
10 Source0: ftp://ftp.daper.net/pub/soft/moc/stable/%{name}-%{version}.tar.bz2
11 # Source0-md5: 3d5d152c28f6e40162058fc1566c8109
12 URL: http://moc.daper.net/
13 BuildRequires: autoconf
14 BuildRequires: autogen
15 BuildRequires: automake
16 BuildRequires: curl-devel
17 BuildRequires: flac-devel
18 BuildRequires: libao-devel
19 BuildRequires: libid3tag-devel
20 BuildRequires: libmad-devel
21 BuildRequires: libmpcdec-devel >= 1.2
22 BuildRequires: libsamplerate-devel
23 BuildRequires: libsndfile-devel
24 BuildRequires: libvorbis-devel
25 BuildRequires: ncurses-devel
26 BuildRequires: pkgconfig
27 BuildRequires: taglib-devel >= 1.3.1
28 BuildRequires: zlib-devel
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 MOC is a console audio player with simple ncurses interface in
33 playmp3list style. It supports MP3, Ogg, FLAC, Musepack, Speex, WAV
34 and other less popular formats supported by libsndfiles. It has
35 all functions one may expect from simple audio player. Now it serves
36 streams net (shoutcast, icecast, regular HTTP, FTP) also.
39 MOC to konsolowy odtwarzacz audio z prostym interfejsem budz±cym
40 skojarzenia z playmp3list. Obs³uguje formaty MP3, Oggg, FLAC,
41 Musepack, Speex, WAV oraz inne mniej popularne formaty wspierane przez
42 bibliotekê libsndfiles. Ma wszystkie funkcje, których spodziewa³by¶
43 siê w prostym odtwarzaczu audio. Teraz tak¿e obs³uguje potoki sieciowe
44 (shoutcast, icecast, HTTP, FTP).
50 CFLAGS="-I/usr/include/ncurses %{rpmcflags}"
55 %configure --disable-debug
60 rm -rf $RPM_BUILD_ROOT
61 install -d $RPM_BUILD_ROOT
64 DESTDIR=$RPM_BUILD_ROOT
66 rm $RPM_BUILD_ROOT%{_docdir}/%{name}/*
67 rm -f $RPM_BUILD_ROOT%{_libdir}/moc/decoder_plugins/lib*.la
70 rm -rf $RPM_BUILD_ROOT
73 %defattr(644,root,root,755)
74 %doc ChangeLog README TODO NEWS AUTHORS THANKS *.example
75 %attr(755,root,root) %{_bindir}/*
78 %{_libdir}/moc/decoder_plugins/lib*.so