]> git.pld-linux.org Git - packages/ncmpc.git/blob - ncmpc.spec
up to 0.34
[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.34
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:  f691da11a9fc45ef79fde86bdc1cf7f9
10 URL:            http://mpd.wikia.com/wiki/Client:Ncmpc
11 BuildRequires:  boost-devel
12 BuildRequires:  gcc-c++ >= 6:5
13 BuildRequires:  gettext-tools
14 BuildRequires:  libmpdclient-devel >= 2.9
15 BuildRequires:  meson >= 0.47
16 BuildRequires:  ncurses-devel
17 BuildRequires:  ninja
18 BuildRequires:  pkgconfig
19 BuildRequires:  rpmbuild(macros) >= 1.727
20 BuildRequires:  sphinx-pdg
21 Requires:       libmpdclient >= 2.9
22 Suggests:       mpd
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 ncmpc is a curses client for the Music Player Daemon (MPD). ncmpc
27 connects to a MPD running on a machine on the local network, and
28 controls this with an interface inspired by cplay. If ncmpc is used
29 with lirc and irpty it can be used to manage playlists and control MPD
30 with a remote control.
31
32 %description -l pl.UTF-8
33 ncmpc to klient curses dla demona MPD (Music Player Daemon). ncmpc
34 łączy się z MPD działającym na maszynie w sieci lokalnej i steruje nim
35 przy użyciu interfejsu zainspirowanego programem cplay. Jeśli ncmpc
36 jest używany z lircem lub irpty, można go używać do zarządzania
37 playlistami i sterowania MPD za pomocą pilota.
38
39 %prep
40 %setup -q
41
42 %build
43 %meson build \
44         -Dchat_screen=true \
45         -Dcolors=true \
46         -Ddocumentation=enabled \
47         -Dhelp_screen=true \
48         -Dkey_screen=true \
49         -Dlocale=enabled \
50         -Dlyrics_screen=true \
51         -Dmanual=true \
52         -Dmouse=enabled \
53         -Doutputs_screen=true \
54         -Dsearch_screen=true \
55         -Dsong_screen=true \
56         -Dlirc=disabled
57
58 %meson_build -C build
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62
63 %meson_install -j1 -C build
64
65 rm -r $RPM_BUILD_ROOT%{_docdir}/%{name}
66
67 %find_lang ncmpc
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files -f ncmpc.lang
73 %defattr(644,root,root,755)
74 %doc AUTHORS NEWS README.rst doc/*.sample doc/ncmpc.lirc
75 %attr(755,root,root) %{_bindir}/*
76 %dir %{_libdir}/ncmpc
77 %dir %{_libdir}/ncmpc/lyrics
78 %attr(755,root,root) %{_libdir}/ncmpc/lyrics/*
79 %{_mandir}/man1/ncmpc.*
This page took 0.075032 seconds and 3 git commands to generate.