]> git.pld-linux.org Git - packages/ncmpc.git/blob - ncmpc.spec
- 0.17
[packages/ncmpc.git] / ncmpc.spec
1 Summary:        Curses client for Music Player Daemon
2 Summary(pl.UTF-8):      Klient curses dla demona MPD
3 Name:           ncmpc
4 Version:        0.17
5 Release:        1
6 License:        GPL v2+
7 Group:          Applications/Sound
8 Source0:        http://downloads.sourceforge.net/musicpd/%{name}-%{version}.tar.bz2
9 # Source0-md5:  462e848d02d80e912229801d522c4d37
10 Patch0:         %{name}-tinfo.patch
11 URL:            http://mpd.wikia.com/wiki/Client:Ncmpc
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  gettext-devel
15 BuildRequires:  glib2-devel
16 BuildRequires:  libmpdclient-devel
17 BuildRequires:  libtool
18 BuildRequires:  ncurses-ext-devel
19 BuildRequires:  pkgconfig
20 BuildRequires:  rpm-pythonprov
21 Suggests:       mpd
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
31 %description -l pl.UTF-8
32 ncmpc to klient curses dla demona MPD (Music Player Daemon). ncmpc
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.
37
38 %prep
39 %setup -q
40 %patch0 -p1
41
42 %build
43 %{__libtoolize}
44 %{__aclocal} -I m4
45 %{__autoconf}
46 %{__autoheader}
47 %{__automake}
48
49 %configure \
50         CPPFLAGS="-I/usr/include/ncurses" \
51         --enable-lyrics-screen \
52         --with-lyrics-plugin-dir=%{_libdir}/ncmpc/lyrics
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)
70 %doc AUTHORS NEWS README doc/*.sample doc/ncmpc.lirc
71 %attr(755,root,root) %{_bindir}/*
72 %dir %{_libdir}/ncmpc
73 %dir %{_libdir}/ncmpc/lyrics
74 %attr(755,root,root) %{_libdir}/ncmpc/lyrics/*
75 %{_mandir}/man1/ncmpc.*
This page took 0.142925 seconds and 3 git commands to generate.