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