]> git.pld-linux.org Git - packages/ncmpc.git/blame - ncmpc.spec
- 0.17
[packages/ncmpc.git] / ncmpc.spec
CommitLineData
f295d3d9 1Summary: Curses client for Music Player Daemon
c196bc2a 2Summary(pl.UTF-8): Klient curses dla demona MPD
f295d3d9 3Name: ncmpc
f8b471ae 4Version: 0.17
cc4d213c 5Release: 1
410252c5 6License: GPL v2+
f295d3d9 7Group: Applications/Sound
cc4d213c 8Source0: http://downloads.sourceforge.net/musicpd/%{name}-%{version}.tar.bz2
f8b471ae 9# Source0-md5: 462e848d02d80e912229801d522c4d37
10Patch0: %{name}-tinfo.patch
04857ea8 11URL: http://mpd.wikia.com/wiki/Client:Ncmpc
f295d3d9
JK
12BuildRequires: autoconf
13BuildRequires: automake
23604b6e 14BuildRequires: gettext-devel
f295d3d9 15BuildRequires: glib2-devel
31d2e323 16BuildRequires: libmpdclient-devel
410252c5 17BuildRequires: libtool
f295d3d9 18BuildRequires: ncurses-ext-devel
23604b6e 19BuildRequires: pkgconfig
20BuildRequires: rpm-pythonprov
2f364c12 21Suggests: mpd
f295d3d9
JK
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25ncmpc is a curses client for the Music Player Daemon (MPD). ncmpc
26connects to a MPD running on a machine on the local network, and
27controls this with an interface inspired by cplay. If ncmpc is used
28with lirc and irpty it can be used to manage playlists and control MPD
29with a remote control.
30
5d1922e7 31%description -l pl.UTF-8
ede089b0 32ncmpc to klient curses dla demona MPD (Music Player Daemon). ncmpc
2f364c12
ZU
33łączy się z MPD działającym na maszynie w sieci lokalnej i steruje nim
34przy użyciu interfejsu zainspirowanego programem cplay. Jeśli ncmpc
35jest używany z lircem lub irpty, można go używać do zarządzania
36playlistami i sterowania MPD za pomocą pilota.
ede089b0 37
f295d3d9
JK
38%prep
39%setup -q
f8b471ae 40%patch0 -p1
f295d3d9
JK
41
42%build
f295d3d9 43%{__libtoolize}
582bf34c 44%{__aclocal} -I m4
f295d3d9
JK
45%{__autoconf}
46%{__autoheader}
47%{__automake}
48
49%configure \
31d2e323
KK
50 CPPFLAGS="-I/usr/include/ncurses" \
51 --enable-lyrics-screen \
52 --with-lyrics-plugin-dir=%{_libdir}/ncmpc/lyrics
f295d3d9
JK
53%{__make}
54
55%install
56rm -rf $RPM_BUILD_ROOT
57
58%{__make} install \
59 DESTDIR=$RPM_BUILD_ROOT
60
61rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
62
63%find_lang ncmpc
64
65%clean
66rm -rf $RPM_BUILD_ROOT
67
68%files -f ncmpc.lang
69%defattr(644,root,root,755)
8e5dac1f 70%doc AUTHORS NEWS README doc/*.sample doc/ncmpc.lirc
f295d3d9 71%attr(755,root,root) %{_bindir}/*
31d2e323
KK
72%dir %{_libdir}/ncmpc
73%dir %{_libdir}/ncmpc/lyrics
74%attr(755,root,root) %{_libdir}/ncmpc/lyrics/*
8e5dac1f 75%{_mandir}/man1/ncmpc.*
This page took 0.05111 seconds and 4 git commands to generate.