]> git.pld-linux.org Git - packages/moc.git/blob - moc.spec
c20f11661cad5f877e2ca792c32302985e334e47
[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:  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)
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 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.
37
38 %description -l pl
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).
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 --disable-debug 
56
57 %{__make}
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61 install -d $RPM_BUILD_ROOT
62
63 %{__make} install \
64         DESTDIR=$RPM_BUILD_ROOT
65
66 rm $RPM_BUILD_ROOT%{_docdir}/%{name}/*
67 rm -f $RPM_BUILD_ROOT%{_libdir}/moc/decoder_plugins/lib*.la
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files
73 %defattr(644,root,root,755)
74 %doc ChangeLog README TODO NEWS AUTHORS THANKS *.example
75 %attr(755,root,root) %{_bindir}/*
76 %{_datadir}/%{name}
77 %{_mandir}/man8/mocp*
78 %{_libdir}/moc/decoder_plugins/lib*.so
This page took 0.069623 seconds and 3 git commands to generate.