]> git.pld-linux.org Git - packages/ncmpc.git/blame - ncmpc.spec
up to 0.44
[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
3dbf03be 4Version: 0.44
74410feb 5Release: 1
410252c5 6License: GPL v2+
f295d3d9 7Group: Applications/Sound
b2b81a42 8Source0: http://www.musicpd.org/download/ncmpc/0/%{name}-%{version}.tar.xz
3dbf03be 9# Source0-md5: deb26e595c84f9cd91b4952dce17116b
04857ea8 10URL: http://mpd.wikia.com/wiki/Client:Ncmpc
258719a3 11BuildRequires: boost-devel >= 1.62
52587546 12BuildRequires: gcc-c++ >= 6:5
b826a6bc 13BuildRequires: gettext-tools
9b19c0b7 14BuildRequires: libmpdclient-devel >= 2.17
2e627c60 15BuildRequires: meson >= 0.47
b2b81a42 16BuildRequires: ncurses-devel
759661ff 17BuildRequires: ninja
258719a3 18BuildRequires: pcre-devel
23604b6e 19BuildRequires: pkgconfig
e7075d8b 20BuildRequires: rpmbuild(macros) >= 1.736
74410feb 21BuildRequires: sphinx-pdg
4bf653fb
JP
22BuildRequires: tar >= 1:1.22
23BuildRequires: xz
9b19c0b7 24Requires: libmpdclient >= 2.17
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
0d03fc06 44
f295d3d9 45%build
759661ff 46%meson build \
759661ff 47 -Dchat_screen=true \
aa48b908 48 -Dcolors=true \
2e627c60 49 -Ddocumentation=enabled \
759661ff
JP
50 -Dhelp_screen=true \
51 -Dkey_screen=true \
2e627c60 52 -Dlocale=enabled \
759661ff 53 -Dlyrics_screen=true \
74410feb 54 -Dmanual=true \
2e627c60 55 -Dmouse=enabled \
759661ff
JP
56 -Doutputs_screen=true \
57 -Dsearch_screen=true \
58 -Dsong_screen=true \
2e627c60 59 -Dlirc=disabled
f295d3d9 60
e7075d8b 61%ninja_build -C build
d1001001 62
f295d3d9
JK
63%install
64rm -rf $RPM_BUILD_ROOT
65
e7075d8b 66%ninja_install -j1 -C build
f295d3d9 67
d1001001 68rm -r $RPM_BUILD_ROOT%{_docdir}/%{name}
f295d3d9 69
9b19c0b7
JP
70%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ie
71
f295d3d9
JK
72%find_lang ncmpc
73
74%clean
75rm -rf $RPM_BUILD_ROOT
76
77%files -f ncmpc.lang
78%defattr(644,root,root,755)
759661ff 79%doc AUTHORS NEWS README.rst doc/*.sample doc/ncmpc.lirc
f295d3d9 80%attr(755,root,root) %{_bindir}/*
31d2e323
KK
81%dir %{_libdir}/ncmpc
82%dir %{_libdir}/ncmpc/lyrics
83%attr(755,root,root) %{_libdir}/ncmpc/lyrics/*
8e5dac1f 84%{_mandir}/man1/ncmpc.*
This page took 0.584469 seconds and 4 git commands to generate.