]>
Commit | Line | Data |
---|---|---|
f295d3d9 | 1 | Summary: Curses client for Music Player Daemon |
c196bc2a | 2 | Summary(pl.UTF-8): Klient curses dla demona MPD |
f295d3d9 | 3 | Name: ncmpc |
f8b471ae | 4 | Version: 0.17 |
cc4d213c | 5 | Release: 1 |
410252c5 | 6 | License: GPL v2+ |
f295d3d9 | 7 | Group: Applications/Sound |
cc4d213c | 8 | Source0: http://downloads.sourceforge.net/musicpd/%{name}-%{version}.tar.bz2 |
f8b471ae | 9 | # Source0-md5: 462e848d02d80e912229801d522c4d37 |
10 | Patch0: %{name}-tinfo.patch | |
04857ea8 | 11 | URL: http://mpd.wikia.com/wiki/Client:Ncmpc |
f295d3d9 JK |
12 | BuildRequires: autoconf |
13 | BuildRequires: automake | |
23604b6e | 14 | BuildRequires: gettext-devel |
f295d3d9 | 15 | BuildRequires: glib2-devel |
31d2e323 | 16 | BuildRequires: libmpdclient-devel |
410252c5 | 17 | BuildRequires: libtool |
f295d3d9 | 18 | BuildRequires: ncurses-ext-devel |
23604b6e | 19 | BuildRequires: pkgconfig |
20 | BuildRequires: rpm-pythonprov | |
2f364c12 | 21 | Suggests: mpd |
f295d3d9 JK |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
24 | %description | |
25 | ncmpc is a curses client for the Music Player Daemon (MPD). ncmpc | |
26 | connects to a MPD running on a machine on the local network, and | |
27 | controls this with an interface inspired by cplay. If ncmpc is used | |
28 | with lirc and irpty it can be used to manage playlists and control MPD | |
29 | with a remote control. | |
30 | ||
5d1922e7 | 31 | %description -l pl.UTF-8 |
ede089b0 | 32 | ncmpc to klient curses dla demona MPD (Music Player Daemon). ncmpc |
2f364c12 ZU |
33 | łączy się z MPD działającym na maszynie w sieci lokalnej i steruje nim |
34 | przy użyciu interfejsu zainspirowanego programem cplay. Jeśli ncmpc | |
35 | jest używany z lircem lub irpty, można go używać do zarządzania | |
36 | playlistami i sterowania MPD za pomocą pilota. | |
ede089b0 | 37 | |
f295d3d9 JK |
38 | %prep |
39 | %setup -q | |
f8b471ae | 40 | %patch0 -p1 |
f295d3d9 JK |
41 | |
42 | %build | |
f295d3d9 | 43 | %{__libtoolize} |
582bf34c | 44 | %{__aclocal} -I m4 |
f295d3d9 JK |
45 | %{__autoconf} |
46 | %{__autoheader} | |
47 | %{__automake} | |
48 | ||
49 | %configure \ | |
31d2e323 KK |
50 | CPPFLAGS="-I/usr/include/ncurses" \ |
51 | --enable-lyrics-screen \ | |
52 | --with-lyrics-plugin-dir=%{_libdir}/ncmpc/lyrics | |
f295d3d9 JK |
53 | %{__make} |
54 | ||
55 | %install | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %{__make} install \ | |
59 | DESTDIR=$RPM_BUILD_ROOT | |
60 | ||
61 | rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name} | |
62 | ||
63 | %find_lang ncmpc | |
64 | ||
65 | %clean | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
68 | %files -f ncmpc.lang | |
69 | %defattr(644,root,root,755) | |
8e5dac1f | 70 | %doc AUTHORS NEWS README doc/*.sample doc/ncmpc.lirc |
f295d3d9 | 71 | %attr(755,root,root) %{_bindir}/* |
31d2e323 KK |
72 | %dir %{_libdir}/ncmpc |
73 | %dir %{_libdir}/ncmpc/lyrics | |
74 | %attr(755,root,root) %{_libdir}/ncmpc/lyrics/* | |
8e5dac1f | 75 | %{_mandir}/man1/ncmpc.* |