]> git.pld-linux.org Git - packages/ncmpc.git/blob - ncmpc.spec
up to 0.28
[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.28
5 Release:        1
6 License:        GPL v2+
7 Group:          Applications/Sound
8 Source0:        http://www.musicpd.org/download/ncmpc/0/%{name}-%{version}.tar.xz
9 # Source0-md5:  1fdfb8b5d72434fb48ebc4fbc5ac89c7
10 URL:            http://mpd.wikia.com/wiki/Client:Ncmpc
11 BuildRequires:  gettext-tools
12 BuildRequires:  glib2-devel >= 1:2.30
13 BuildRequires:  libmpdclient-devel >= 2.9
14 BuildRequires:  meson
15 BuildRequires:  ncurses-devel
16 BuildRequires:  ninja
17 BuildRequires:  pkgconfig
18 BuildRequires:  rpmbuild(macros) >= 1.725
19 Requires:       glib2 >= 1:2.30
20 Requires:       libmpdclient >= 2.9
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
41 %build
42 %meson build \
43         -Dartist_screen=true \
44         -Dchat_screen=true \
45         -Dcolors=auto \
46         -Dhelp_screen=true \
47         -Dkey_screen=true \
48         -Dlocale=true \
49         -Dlyrics_screen=true \
50         -Dmouse=true \
51         -Doutputs_screen=true \
52         -Dsearch_screen=true \
53         -Dsong_screen=true \
54         -Dlirc=false
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 DESTDIR=$RPM_BUILD_ROOT \
60 %ninja -C build install
61
62 rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
63
64 %find_lang ncmpc
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files -f ncmpc.lang
70 %defattr(644,root,root,755)
71 %doc AUTHORS NEWS README.rst doc/*.sample doc/ncmpc.lirc
72 %attr(755,root,root) %{_bindir}/*
73 %dir %{_libdir}/ncmpc
74 %dir %{_libdir}/ncmpc/lyrics
75 %attr(755,root,root) %{_libdir}/ncmpc/lyrics/*
76 %{_mandir}/man1/ncmpc.*
This page took 0.274538 seconds and 4 git commands to generate.