File pms.spec of Package pms

#
# spec file for package pms
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           pms
Version:        0.42+git20160131.fcc4704
Release:        0
Summary:        A ncurses-based client for Music Player Daemon (MPD)
License:        GPL-3.0
Group:          Productivity/Multimedia/Sound/Players
Url:            https://ambientsound.github.io/pms/
Source:         %{name}-%{version}.tar.xz
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  gcc-c++
BuildRequires:  glib2-devel
BuildRequires:  intltool
BuildRequires:  libmpdclient-devel >= 2.5
BuildRequires:  ncurses-devel
BuildRequires:  pandoc
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
PMS (Practical Music Search) is a ncurses-based client for MPD.
It has a command line interface much like Vim, and supports custom colors,
layouts and key bindings. PMS aims to be accessible and highly configurable.

%prep
%setup -q
# create configure / init buildsystem
intltoolize --force
aclocal -I m4
autoreconf --force --install --verbose

%build
%configure --enable-regex
make %{?_smp_mflags}

%install
%make_install

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog
%{_bindir}/pms
%{_mandir}/man1/pms.1%{ext_man}

%changelog
openSUSE Build Service is sponsored by