]> git.pld-linux.org Git - packages/ncmpc.git/blob - ncmpc.spec
up to 0.27
[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.27
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:  121c99645fa2ba6dc86db28a46944ebb
10 Source1:        ax_require_defined.m4
11 URL:            http://mpd.wikia.com/wiki/Client:Ncmpc
12 BuildRequires:  autoconf >= 2.60
13 BuildRequires:  automake >= 1:1.11
14 BuildRequires:  gettext-tools
15 BuildRequires:  glib2-devel >= 1:2.30
16 BuildRequires:  libmpdclient-devel >= 2.9
17 BuildRequires:  ncurses-devel
18 BuildRequires:  pkgconfig
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 %{__cp} %{SOURCE1} m4
41
42 %build
43 %{__glib_gettextize}
44 %{__aclocal} -I m4
45 %{__autoconf}
46 %{__autoheader}
47 %{__automake}
48
49 %configure \
50         --enable-artist-screen \
51         --enable-chat-screen \
52         --enable-colors \
53         --enable-help-screen \
54         --enable-key-screen \
55         --enable-locale \
56         --enable-lyrics-screen \
57         --enable-mouse \
58         --enable-outputs-screen \
59         --enable-search-screen \
60         --enable-song-screen \
61         --with-lyrics-plugin-dir=%{_libdir}/ncmpc/lyrics
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 %{__make} install \
68         DESTDIR=$RPM_BUILD_ROOT
69
70 rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
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 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.058347 seconds and 4 git commands to generate.