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