]> git.pld-linux.org Git - packages/moc.git/blob - moc.spec
- remove ncurses.patch -- unnecessary in presence of valid CFLAGS
[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 URL:            http://moc.daper.net/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  flac-devel
16 BuildRequires:  libao-devel
17 BuildRequires:  libid3tag-devel
18 BuildRequires:  libmad-devel
19 BuildRequires:  libsndfile-devel
20 BuildRequires:  libvorbis-devel
21 BuildRequires:  ncurses-devel
22 BuildRequires:  pkgconfig
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
40 %build
41 CFLAGS="-I/usr/include/ncurses %{rpmcflags}"
42
43 %{__aclocal} -I m4
44 %{__autoconf}
45 %{__automake}
46 %configure \
47         --disable-version-checker \
48         --disable-debug
49
50 %{__make}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc ChangeLog README TODO NEWS AUTHORS THANKS *.example
65 %attr(755,root,root) %{_bindir}/*
66 %{_datadir}/%{name}
67 %{_mandir}/man8/mocp*
This page took 0.06886 seconds and 4 git commands to generate.