]> git.pld-linux.org Git - packages/ncmpcpp.git/blob - ncmpcpp.spec
176c207395edc2833d61fa42630b66e7fdeb1d60
[packages/ncmpcpp.git] / ncmpcpp.spec
1 Summary:        ncurses mpd client inspired by ncmpc
2 Summary(pl.UTF-8):      klient mpd wzorowany na ncmpc
3 Name:           ncmpcpp
4 Version:        0.8.2
5 Release:        4
6 License:        GPL v2
7 Group:          Applications
8 Source0:        http://ncmpcpp.rybczak.net/stable/%{name}-%{version}.tar.bz2
9 # Source0-md5:  af161ee347d92e7077c42ea8ad4865ec
10 Patch0:         gcc10.patch
11 URL:            http://ncmpcpp.rybczak.net
12 BuildRequires:  autoconf >= 2.59
13 BuildRequires:  automake
14 BuildRequires:  boost-devel
15 BuildRequires:  curl-devel
16 BuildRequires:  fftw3-devel
17 BuildRequires:  gcc-c++ >= 6:4.6
18 BuildRequires:  libmpdclient-devel >= 2.8
19 BuildRequires:  libstdc++-devel
20 BuildRequires:  libtool
21 BuildRequires:  ncurses-devel
22 BuildRequires:  pkgconfig
23 BuildRequires:  readline-devel
24 BuildRequires:  taglib-devel
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
42 %patch0 -p1
43
44 %build
45 %{__libtoolize}
46 %{__aclocal}
47 %{__autoconf}
48 %{__autoheader}
49 %{__automake}
50 %configure \
51         BOOST_LIB_SUFFIX="" \
52         --enable-clock \
53         --enable-outputs \
54         --enable-unicode \
55         --enable-visualizer
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)
72 %doc AUTHORS COPYING NEWS doc/bindings doc/config
73 %attr(755,root,root) %{_bindir}/ncmpcpp
74 %{_mandir}/man1/ncmpcpp.1*
This page took 0.02502 seconds and 2 git commands to generate.