]> git.pld-linux.org Git - packages/ncmpcpp.git/blob - ncmpcpp.spec
f0f7d9c9d953ae593cae12be3127d5537b0a7c69
[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:        6
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:  ncurses-ext-devel
23 BuildRequires:  pkgconfig
24 BuildRequires:  readline-devel
25 BuildRequires:  taglib-devel
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 Ncmpcpp has UI very similar to ncmpc's one, but it provides new useful
30 features such as support for regular expressions in search engine,
31 extended song format, items filtering, last.fm support, ability to
32 sort playlist, local filesystem browser and other minor functions.
33
34 %description -l pl.UTF-8
35 Ncmpcpp posiada bardzo podobny interfejs użytkownika do tego znanego z
36 ncmpc, ale wspiera dodatkowo obsługę wyrażeń regularnych w wewnętrznej
37 wyszukiwarce, rozszerzony format piosenek, filtrowanie pozycji,
38 obsługę last.fm, umożliwia sortowanie playlisty, posiada przeglądarkę
39 plików lokalnych oraz inne drobne udogodnienia.
40
41 %prep
42 %setup -q
43 %patch0 -p1
44
45 %build
46 %{__libtoolize}
47 %{__aclocal}
48 %{__autoconf}
49 %{__autoheader}
50 %{__automake}
51 %configure \
52         BOOST_LIB_SUFFIX="" \
53         --enable-clock \
54         --enable-outputs \
55         --enable-unicode \
56         --enable-visualizer
57 %{__make}
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61
62 %{__make} install \
63         DESTDIR=$RPM_BUILD_ROOT
64
65 # clean up bogus docdir
66 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %files
72 %defattr(644,root,root,755)
73 %doc AUTHORS COPYING NEWS doc/bindings doc/config
74 %attr(755,root,root) %{_bindir}/ncmpcpp
75 %{_mandir}/man1/ncmpcpp.1*
This page took 0.044605 seconds and 2 git commands to generate.