File plebtracker.spec of Package plebtracker

# spec file for package plebtracker
#
# Copyright (c) 2020 Fabio Pesari
#
# 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:          plebtracker
Version:       git.master.2018.06.06
Release:       0
Summary:       Ncurses-based music tracker
License:       MIT
Group:         Productivity/Multimedia/Sound
URL:           https://github.com/danfrz/PLEBTracker
Source0:       PLEBTracker-master.zip
Patch0:        fix-ncurses.patch       
BuildRoot:     %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++
BuildRequires: unzip
BuildRequires: ncurses-devel
BuildRequires: fftw3-devel
Requires:      alsa-utils
Requires:      inotify-tools

%description
PLEBTracker is a linux console based audio tracker program 
inspired by goattracker and milkytracker. 

%prep
%setup -q -n PLEBTracker-master
%autopatch -p1

%build
cd Tracker/src/
%make_build
cd ../..
cd Interpreter/src
%make_build

%install
mkdir -p %{buildroot}%{_bindir}
install -m 755 Tracker/src/pleb* %{buildroot}%{_bindir}
install -m 755 Interpreter/src/pleb* %{buildroot}%{_bindir}

%files
%doc README.md
%license LICENSE
%{_bindir}/pleb*

%changelog
openSUSE Build Service is sponsored by