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