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