]> git.pld-linux.org Git - packages/moc.git/blob - moc.spec
911af135cdbd9dc929ff2bb72a6475398960b74b
[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:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  curl-devel
16 BuildRequires:  flac-devel
17 BuildRequires:  libao-devel
18 BuildRequires:  libid3tag-devel
19 BuildRequires:  libltdl-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)
30
31 %description
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 libsndfile. It has 
35 all functions one may expect from simple audio player. Now it supports
36 net streams (shoutcast, icecast, regular HTTP, FTP) also.
37
38 %description -l pl
39 MOC to konsolowy odtwarzacz audio z prostym interfejsem budz±cym
40 skojarzenia z playmp3list. Obs³uguje formaty MP3, Ogg, FLAC, 
41 Musepack, Speex, WAV oraz inne mniej popularne formaty wspierane przez
42 bibliotekê libsndfile. Ma wszystkie funkcje, których mo¿na spodziewaæ
43 siê w prostym odtwarzaczu audio. Teraz tak¿e obs³uguje strumienie
44 sieciowe (shoutcast, icecast, HTTP, FTP).
45
46 %prep
47 %setup -q
48
49 %build
50 CFLAGS="-I/usr/include/ncurses %{rpmcflags}"
51
52 %{__aclocal} -I m4
53 %{__autoconf}
54 %{__automake}
55 %configure \
56         --disable-debug 
57
58 %{__make}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62 install -d $RPM_BUILD_ROOT
63
64 %{__make} install \
65         DESTDIR=$RPM_BUILD_ROOT
66
67 rm $RPM_BUILD_ROOT%{_docdir}/%{name}/*
68 rm -f $RPM_BUILD_ROOT%{_libdir}/moc/decoder_plugins/lib*.la
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %files
74 %defattr(644,root,root,755)
75 %doc ChangeLog README TODO NEWS AUTHORS THANKS *.example
76 %attr(755,root,root) %{_bindir}/*
77 %dir %{_libdir}/moc
78 %dir %{_libdir}/moc/decoder_plugins
79 %attr(755,root,root) %{_libdir}/moc/decoder_plugins/lib*.so
80 %{_datadir}/%{name}
81 %{_mandir}/man8/mocp*
This page took 0.072871 seconds and 3 git commands to generate.