]> git.pld-linux.org Git - packages/ncmpc.git/blob - ncmpc.spec
87e226127c17a3c618bd2f283744eb83d91a9bc0
[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.31
5 Release:        2
6 License:        GPL v2+
7 Group:          Applications/Sound
8 Source0:        http://www.musicpd.org/download/ncmpc/0/%{name}-%{version}.tar.xz
9 # Source0-md5:  4b1a1e1937b2a1f4e9b2b493122067c9
10 URL:            http://mpd.wikia.com/wiki/Client:Ncmpc
11 BuildRequires:  gcc-c++ >= 6:5
12 BuildRequires:  gettext-tools
13 BuildRequires:  glib2-devel >= 1:2.30
14 BuildRequires:  libmpdclient-devel >= 2.9
15 BuildRequires:  meson
16 BuildRequires:  ncurses-devel
17 BuildRequires:  ninja
18 BuildRequires:  pkgconfig
19 BuildRequires:  rpmbuild(macros) >= 1.727
20 Requires:       glib2 >= 1:2.30
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 %build
43 %meson build \
44         -Dartist_screen=true \
45         -Dchat_screen=true \
46         -Dcolors=true \
47         -Dhelp_screen=true \
48         -Dkey_screen=true \
49         -Dlocale=true \
50         -Dlyrics_screen=true \
51         -Dmouse=true \
52         -Doutputs_screen=true \
53         -Dsearch_screen=true \
54         -Dsong_screen=true \
55         -Dlirc=false
56
57 %meson_build -C build
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61
62 %meson_install -j1 -C build
63
64 rm -r $RPM_BUILD_ROOT%{_docdir}/%{name}
65
66 %find_lang ncmpc
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %files -f ncmpc.lang
72 %defattr(644,root,root,755)
73 %doc AUTHORS NEWS README.rst doc/*.sample doc/ncmpc.lirc
74 %attr(755,root,root) %{_bindir}/*
75 %dir %{_libdir}/ncmpc
76 %dir %{_libdir}/ncmpc/lyrics
77 %attr(755,root,root) %{_libdir}/ncmpc/lyrics/*
78 %{_mandir}/man1/ncmpc.*
This page took 0.096086 seconds and 3 git commands to generate.