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