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