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