]> git.pld-linux.org Git - packages/ncmpc.git/blob - ncmpc.spec
- updated to 0.24
[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.24
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:  0717193f38446780372f2a8907316362
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-devel
15 BuildRequires:  glib2-devel >= 1:2.14
16 BuildRequires:  libmpdclient-devel >= 2.5
17 BuildRequires:  ncurses-devel
18 BuildRequires:  pkgconfig
19 Suggests:       mpd
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 ncmpc is a curses client for the Music Player Daemon (MPD). ncmpc
24 connects to a MPD running on a machine on the local network, and
25 controls this with an interface inspired by cplay. If ncmpc is used
26 with lirc and irpty it can be used to manage playlists and control MPD
27 with a remote control.
28
29 %description -l pl.UTF-8
30 ncmpc to klient curses dla demona MPD (Music Player Daemon). ncmpc
31 łączy się z MPD działającym na maszynie w sieci lokalnej i steruje nim
32 przy użyciu interfejsu zainspirowanego programem cplay. Jeśli ncmpc
33 jest używany z lircem lub irpty, można go używać do zarządzania
34 playlistami i sterowania MPD za pomocą pilota.
35
36 %prep
37 %setup -q
38 %{__cp} %{SOURCE1} m4
39
40 %build
41 %{__glib_gettextize}
42 %{__aclocal} -I m4
43 %{__autoconf}
44 %{__autoheader}
45 %{__automake}
46
47 %configure \
48         --enable-artist-screen \
49         --enable-chat-screen \
50         --enable-colors \
51         --enable-help-screen \
52         --enable-key-screen \
53         --enable-locale \
54         --enable-lyrics-screen \
55         --enable-mouse \
56         --enable-outputs-screen \
57         --enable-search-screen \
58         --enable-song-screen \
59         --with-lyrics-plugin-dir=%{_libdir}/ncmpc/lyrics
60 %{__make}
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64
65 %{__make} install \
66         DESTDIR=$RPM_BUILD_ROOT
67
68 rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
69
70 %find_lang ncmpc
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %files -f ncmpc.lang
76 %defattr(644,root,root,755)
77 %doc AUTHORS NEWS README doc/*.sample doc/ncmpc.lirc
78 %attr(755,root,root) %{_bindir}/*
79 %dir %{_libdir}/ncmpc
80 %dir %{_libdir}/ncmpc/lyrics
81 %attr(755,root,root) %{_libdir}/ncmpc/lyrics/*
82 %{_mandir}/man1/ncmpc.*
This page took 0.09191 seconds and 3 git commands to generate.