]>
Commit | Line | Data |
---|---|---|
f295d3d9 JK |
1 | # |
2 | Summary: Curses client for Music Player Daemon | |
3 | Name: ncmpc | |
4 | Version: 0.11.1 | |
5 | Release: 1 | |
6 | License: GPL | |
7 | Group: Applications/Sound | |
8 | Source0: http://hem.bredband.net/kaw/ncmpc/files/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: c90668b12f3676c73913a863482ec405 | |
10 | URL: http://hem.bredband.net/kaw/ncmpc/ | |
11 | BuildRequires: autoconf | |
12 | BuildRequires: automake | |
13 | BuildRequires: gettext-devel | |
14 | BuildRequires: glib2-devel | |
15 | BuildRequires: ncurses-ext-devel | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
19 | ncmpc is a curses client for the Music Player Daemon (MPD). ncmpc | |
20 | connects to a MPD running on a machine on the local network, and | |
21 | controls this with an interface inspired by cplay. If ncmpc is used | |
22 | with lirc and irpty it can be used to manage playlists and control MPD | |
23 | with a remote control. | |
24 | ||
25 | %prep | |
26 | %setup -q | |
27 | ||
28 | %build | |
29 | #%%{__gettextize} | |
30 | %{__libtoolize} | |
31 | %{__aclocal} | |
32 | %{__autoconf} | |
33 | %{__autoheader} | |
34 | %{__automake} | |
35 | ||
36 | %configure \ | |
37 | CPPFLAGS="-I/usr/include/ncurses" | |
38 | %{__make} | |
39 | ||
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | %{__make} install \ | |
44 | DESTDIR=$RPM_BUILD_ROOT | |
45 | ||
46 | rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name} | |
47 | ||
48 | %find_lang ncmpc | |
49 | ||
50 | %clean | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %files -f ncmpc.lang | |
54 | %defattr(644,root,root,755) | |
55 | %doc AUTHORS ChangeLog NEWS README TODO | |
56 | %attr(755,root,root) %{_bindir}/* | |
57 | %{_mandir}/man1/* |