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