]>
Commit | Line | Data |
---|---|---|
ce33b6ae | 1 | Summary: ncurses mpd client inspired by ncmpc |
2 | Summary(pl.UTF-8): klient mpd wzorowany na ncmpc | |
3 | Name: ncmpcpp | |
b506e98c | 4 | Version: 0.8.2 |
f02b7d9f | 5 | Release: 5 |
ce33b6ae | 6 | License: GPL v2 |
7 | Group: Applications | |
148b39fd | 8 | Source0: http://ncmpcpp.rybczak.net/stable/%{name}-%{version}.tar.bz2 |
b506e98c | 9 | # Source0-md5: af161ee347d92e7077c42ea8ad4865ec |
edd8ca0a | 10 | Patch0: gcc10.patch |
148b39fd | 11 | URL: http://ncmpcpp.rybczak.net |
895707a0 | 12 | BuildRequires: autoconf >= 2.59 |
ce33b6ae | 13 | BuildRequires: automake |
895707a0 | 14 | BuildRequires: boost-devel |
ce33b6ae | 15 | BuildRequires: curl-devel |
53110d17 | 16 | BuildRequires: fftw3-devel |
895707a0 JP |
17 | BuildRequires: gcc-c++ >= 6:4.6 |
18 | BuildRequires: libmpdclient-devel >= 2.8 | |
77f69750 | 19 | BuildRequires: libstdc++-devel |
ce33b6ae | 20 | BuildRequires: libtool |
21 | BuildRequires: ncurses-devel | |
dbd1bbcb | 22 | BuildRequires: pkgconfig |
895707a0 | 23 | BuildRequires: readline-devel |
77f69750 | 24 | BuildRequires: taglib-devel |
ce33b6ae | 25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
26 | ||
27 | %description | |
28 | Ncmpcpp has UI very similar to ncmpc's one, but it provides new useful | |
29 | features such as support for regular expressions in search engine, | |
30 | extended song format, items filtering, last.fm support, ability to | |
31 | sort playlist, local filesystem browser and other minor functions. | |
32 | ||
33 | %description -l pl.UTF-8 | |
34 | Ncmpcpp posiada bardzo podobny interfejs użytkownika do tego znanego z | |
35 | ncmpc, ale wspiera dodatkowo obsługę wyrażeń regularnych w wewnętrznej | |
36 | wyszukiwarce, rozszerzony format piosenek, filtrowanie pozycji, | |
37 | obsługę last.fm, umożliwia sortowanie playlisty, posiada przeglądarkę | |
38 | plików lokalnych oraz inne drobne udogodnienia. | |
39 | ||
40 | %prep | |
41 | %setup -q | |
edd8ca0a | 42 | %patch0 -p1 |
ce33b6ae | 43 | |
44 | %build | |
45 | %{__libtoolize} | |
46 | %{__aclocal} | |
47 | %{__autoconf} | |
48 | %{__autoheader} | |
49 | %{__automake} | |
ee3302b7 | 50 | %configure \ |
895707a0 JP |
51 | BOOST_LIB_SUFFIX="" \ |
52 | --enable-clock \ | |
53 | --enable-outputs \ | |
54 | --enable-unicode \ | |
55 | --enable-visualizer | |
ce33b6ae | 56 | %{__make} |
57 | ||
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %{__make} install \ | |
62 | DESTDIR=$RPM_BUILD_ROOT | |
63 | ||
64 | # clean up bogus docdir | |
65 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name} | |
66 | ||
67 | %clean | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %files | |
71 | %defattr(644,root,root,755) | |
895707a0 | 72 | %doc AUTHORS COPYING NEWS doc/bindings doc/config |
ce33b6ae | 73 | %attr(755,root,root) %{_bindir}/ncmpcpp |
74 | %{_mandir}/man1/ncmpcpp.1* |