]> git.pld-linux.org Git - packages/ncmpc.git/blob - ncmpc.spec
up to 0.37
[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.37
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:  2a5a0b474cb15dc999f408531e900f82
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 %{__sed} -i -e '1 s,^#!.*bin/env ruby,#!%{__ruby},' lyrics/20-lyricwiki.rb
43
44 %build
45 %meson build \
46         -Dchat_screen=true \
47         -Dcolors=true \
48         -Ddocumentation=enabled \
49         -Dhelp_screen=true \
50         -Dkey_screen=true \
51         -Dlocale=enabled \
52         -Dlyrics_screen=true \
53         -Dmanual=true \
54         -Dmouse=enabled \
55         -Doutputs_screen=true \
56         -Dsearch_screen=true \
57         -Dsong_screen=true \
58         -Dlirc=disabled
59
60 %meson_build -C build
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64
65 %meson_install -j1 -C build
66
67 rm -r $RPM_BUILD_ROOT%{_docdir}/%{name}
68
69 %find_lang ncmpc
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %files -f ncmpc.lang
75 %defattr(644,root,root,755)
76 %doc AUTHORS NEWS README.rst doc/*.sample doc/ncmpc.lirc
77 %attr(755,root,root) %{_bindir}/*
78 %dir %{_libdir}/ncmpc
79 %dir %{_libdir}/ncmpc/lyrics
80 %attr(755,root,root) %{_libdir}/ncmpc/lyrics/*
81 %{_mandir}/man1/ncmpc.*
This page took 0.050936 seconds and 3 git commands to generate.