]> git.pld-linux.org Git - packages/moc.git/blob - moc.spec
- ALSA support - BR: alsa-lib-devel
[packages/moc.git] / moc.spec
1
2 # I know, console<->terminal
3 Summary:        Console audio player with simple ncurses interface
4 Summary(pl):    Konsolowy odtwarzacz audio z prostym interfejsem ncurses
5 Name:           moc
6 Version:        2.3.0
7 Release:        1
8 License:        GPL
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:  alsa-lib-devel
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  curl-devel
17 BuildRequires:  flac-devel
18 BuildRequires:  libao-devel
19 BuildRequires:  libid3tag-devel
20 BuildRequires:  libltdl-devel
21 BuildRequires:  libmad-devel
22 BuildRequires:  libmpcdec-devel >= 1.2
23 BuildRequires:  libsamplerate-devel
24 BuildRequires:  libsndfile-devel
25 BuildRequires:  libvorbis-devel
26 BuildRequires:  ncurses-devel
27 BuildRequires:  pkgconfig
28 BuildRequires:  taglib-devel >= 1.3.1
29 BuildRequires:  zlib-devel
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 MOC is a console audio player with simple ncurses interface in
34 playmp3list style. It supports MP3, Ogg, FLAC, Musepack, Speex, WAV
35 and other less popular formats supported by libsndfile. It has 
36 all functions one may expect from simple audio player. Now it supports
37 net streams (shoutcast, icecast, regular HTTP, FTP) also.
38
39 %description -l pl
40 MOC to konsolowy odtwarzacz audio z prostym interfejsem budz±cym
41 skojarzenia z playmp3list. Obs³uguje formaty MP3, Ogg, FLAC, 
42 Musepack, Speex, WAV oraz inne mniej popularne formaty wspierane przez
43 bibliotekê libsndfile. Ma wszystkie funkcje, których mo¿na spodziewaæ
44 siê w prostym odtwarzaczu audio. Teraz tak¿e obs³uguje strumienie
45 sieciowe (shoutcast, icecast, HTTP, FTP).
46
47 %prep
48 %setup -q
49
50 %build
51 CFLAGS="-I/usr/include/ncurses %{rpmcflags}"
52
53 %{__aclocal} -I m4
54 %{__autoconf}
55 %{__automake}
56 %configure \
57         --disable-debug 
58
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63 install -d $RPM_BUILD_ROOT
64
65 %{__make} install \
66         DESTDIR=$RPM_BUILD_ROOT
67
68 rm $RPM_BUILD_ROOT%{_docdir}/%{name}/*
69 rm -f $RPM_BUILD_ROOT%{_libdir}/moc/decoder_plugins/lib*.la
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %files
75 %defattr(644,root,root,755)
76 %doc ChangeLog README TODO NEWS AUTHORS THANKS *.example
77 %attr(755,root,root) %{_bindir}/*
78 %dir %{_libdir}/moc
79 %dir %{_libdir}/moc/decoder_plugins
80 %attr(755,root,root) %{_libdir}/moc/decoder_plugins/lib*.so
81 %{_datadir}/%{name}
82 %{_mandir}/man8/mocp*
This page took 0.265602 seconds and 4 git commands to generate.