]> git.pld-linux.org Git - packages/ncmpc.git/blob - ncmpc.spec
- adapterized
[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.16
5 Release:        2
6 License:        GPL v2+
7 Group:          Applications/Sound
8 Source0:        http://dl.sourceforge.net/musicpd/%{name}-%{version}.tar.bz2
9 # Source0-md5:  63b6bf666b6326c87abdea5f900a4fc3
10 URL:            http://mpd.wikia.com/wiki/Client:Ncmpc
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  glib2-devel
14 BuildRequires:  libmpdclient-devel
15 BuildRequires:  libtool
16 BuildRequires:  ncurses-ext-devel
17 Suggests:       mpd
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 ncmpc is a curses client for the Music Player Daemon (MPD). ncmpc
22 connects to a MPD running on a machine on the local network, and
23 controls this with an interface inspired by cplay. If ncmpc is used
24 with lirc and irpty it can be used to manage playlists and control MPD
25 with a remote control.
26
27 %description -l pl.UTF-8
28 ncmpc to klient curses dla demona MPD (Music Player Daemon). ncmpc
29 łączy się z MPD działającym na maszynie w sieci lokalnej i steruje nim
30 przy użyciu interfejsu zainspirowanego programem cplay. Jeśli ncmpc
31 jest używany z lircem lub irpty, można go używać do zarządzania
32 playlistami i sterowania MPD za pomocą pilota.
33
34 %prep
35 %setup -q
36
37 %build
38 %{__libtoolize}
39 %{__aclocal} -I m4
40 %{__autoconf}
41 %{__autoheader}
42 %{__automake}
43
44 %configure \
45         CPPFLAGS="-I/usr/include/ncurses" \
46         --enable-lyrics-screen \
47         --with-lyrics-plugin-dir=%{_libdir}/ncmpc/lyrics
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
57
58 %find_lang ncmpc
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files -f ncmpc.lang
64 %defattr(644,root,root,755)
65 %doc AUTHORS NEWS README doc/*.sample doc/ncmpc.lirc
66 %attr(755,root,root) %{_bindir}/*
67 %dir %{_libdir}/ncmpc
68 %dir %{_libdir}/ncmpc/lyrics
69 %attr(755,root,root) %{_libdir}/ncmpc/lyrics/*
70 %{_mandir}/man1/ncmpc.*
This page took 0.064923 seconds and 4 git commands to generate.