]> git.pld-linux.org Git - packages/moc.git/blob - moc.spec
ff7386d1d1169c88968b66603aeb0152b04f9e17
[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.0.0
7 Release:        0.1
8 License:        GPL
9 Group:          Applications/Sound
10 Source0:        ftp://ftp.daper.net/pub/soft/moc/stable/%{name}-%{version}.tar.gz
11 # Source0-md5:  546989539f3b3dcc679cd6a070784932
12 Patch0:         %{name}-ncurses.patch
13 URL:            http://moc.daper.net/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  libao-devel
17 BuildRequires:  libmad-devel
18 BuildRequires:  libvorbis-devel
19 BuildRequires:  ncurses-devel
20 BuildRequires:  zlib-devel
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 MOC is a console audio player with simple ncurses interface in
25 playmp3list style. It supports MP3, Ogg and WAV formats. It has all
26 functions one may expect from simple audio player
27
28 %description -l pl
29 MOC to konsolowy odtwarzacz audio z prostym interfejsem budz±cym
30 skojarzenia z playmp3list. Obs³uguje formaty MP3, Ogg oraz WAV. Ma
31 wszystkie funkcje, których spodziewa³by¶ siê w prostym odtwarzaczu
32 audio.
33
34 %prep
35 %setup -q
36 %patch0 -p1
37
38 %build
39 CFLAGS="-I/usr/include/ncurses %{rpmcflags}"
40
41 %{__aclocal}
42 %{__autoconf}
43 %{__automake}
44 %configure \
45         --disable-version-checker
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc ChangeLog README TODO NEWS AUTHORS
61 %attr(755,root,root) %{_bindir}/*
This page took 0.200555 seconds and 2 git commands to generate.