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