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