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