2017-08-06 17:24:06 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package ncmpcpp
|
|
|
|
|
#
|
2021-01-18 12:56:08 +00:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2017-08-06 17:24:06 +00:00
|
|
|
#
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
2017-08-06 17:41:48 +00:00
|
|
|
|
2020-11-17 00:46:07 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-08-06 17:24:06 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: ncmpcpp
|
2021-03-02 18:40:14 +00:00
|
|
|
Version: 0.9.2
|
2017-08-06 17:41:48 +00:00
|
|
|
Release: 0
|
2017-08-06 17:24:06 +00:00
|
|
|
Summary: Music Player Daemon Client
|
2018-04-11 21:15:10 +00:00
|
|
|
License: GPL-2.0-only
|
2017-08-06 17:24:06 +00:00
|
|
|
Group: Productivity/Multimedia/Sound/Players
|
2017-10-20 18:54:40 +00:00
|
|
|
URL: https://rybczak.net/ncmpcpp
|
2021-01-18 12:56:08 +00:00
|
|
|
Source: https://github.com/ncmpcpp/ncmpcpp/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
2024-03-24 07:53:15 +00:00
|
|
|
# PATCH-FIX-UPSTREAM
|
|
|
|
|
Patch0: 0001-Fix-compilation-with-taglib-2.0.patch
|
2017-08-06 17:24:06 +00:00
|
|
|
BuildRequires: autoconf
|
|
|
|
|
BuildRequires: automake
|
|
|
|
|
BuildRequires: curl-devel
|
|
|
|
|
BuildRequires: fftw-devel
|
2018-04-11 21:15:10 +00:00
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: gcc-c++
|
2017-08-06 17:41:48 +00:00
|
|
|
BuildRequires: libboost_filesystem-devel
|
|
|
|
|
BuildRequires: libboost_headers-devel
|
|
|
|
|
BuildRequires: libboost_locale-devel
|
|
|
|
|
BuildRequires: libboost_program_options-devel
|
|
|
|
|
BuildRequires: libboost_regex-devel
|
|
|
|
|
BuildRequires: libboost_system-devel
|
|
|
|
|
BuildRequires: libboost_thread-devel
|
2018-04-11 21:15:10 +00:00
|
|
|
BuildRequires: libtag-devel
|
|
|
|
|
BuildRequires: libtool
|
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
|
BuildRequires: pkgconfig(libmpdclient)
|
|
|
|
|
BuildRequires: pkgconfig(ncursesw)
|
2021-01-18 12:56:08 +00:00
|
|
|
BuildRequires: pkgconfig(readline)
|
2018-04-11 21:15:10 +00:00
|
|
|
Requires: mpd > 0.16
|
2017-08-06 17:24:06 +00:00
|
|
|
|
|
|
|
|
%description
|
2017-12-28 15:51:50 +00:00
|
|
|
ncmpcpp is an ncurses client for MPD (Music Player Daemon), inspired
|
|
|
|
|
by ncmpc. It features a tag editor, playlist editor, search engine,
|
|
|
|
|
media library, music visualizer, a last.fm artist database
|
|
|
|
|
information fetcher and an alternative user interface.
|
2017-08-06 17:24:06 +00:00
|
|
|
|
|
|
|
|
%prep
|
2024-03-24 07:53:15 +00:00
|
|
|
%autosetup -p1
|
2017-08-06 17:24:06 +00:00
|
|
|
|
|
|
|
|
%build
|
2017-08-06 17:41:48 +00:00
|
|
|
autoreconf -fiv
|
|
|
|
|
%configure \
|
|
|
|
|
--enable-clock \
|
2021-09-26 21:08:22 +00:00
|
|
|
--enable-outputs \
|
2017-08-06 17:41:48 +00:00
|
|
|
--enable-visualizer
|
2021-01-18 12:56:08 +00:00
|
|
|
%make_build
|
2017-08-06 17:24:06 +00:00
|
|
|
|
|
|
|
|
%install
|
2017-08-06 17:41:48 +00:00
|
|
|
%make_install
|
2024-03-24 07:53:15 +00:00
|
|
|
rm -r "%{buildroot}%{_datadir}/doc"
|
2017-08-06 17:24:06 +00:00
|
|
|
|
|
|
|
|
%files
|
2018-04-11 21:15:10 +00:00
|
|
|
%license COPYING
|
2021-01-18 12:56:08 +00:00
|
|
|
%doc AUTHORS CHANGELOG.md doc/config doc/bindings
|
2018-04-11 21:15:10 +00:00
|
|
|
%{_bindir}/%{name}
|
|
|
|
|
%{_mandir}/man1/%{name}.1%{?ext_man}
|
2017-08-06 17:24:06 +00:00
|
|
|
|
|
|
|
|
%changelog
|