LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File cursynth.spec of Package Cursynth (Project home:themanwhosold)

#
# spec file for package cursynth
#
# Copyright (c) 2015 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/
#


# See also http://en.opensuse.org/openSUSE:Specfile_guidelines

Name:           cursynth
Version:        1.5
Release:        0
Summary:        GNU Terminal Synth
License:        GPL-3.0
Group:          Productivity/Multimedia/Sound/Editors and Convertors 
Url:            http://www.gnu.org/software/cursynth/
Source0:        cursynth-1.5.tar.gz 
BuildRequires:  ncurses-devel
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  gcc-c++
%if 0%{?suse_version}
BuildRequires:  libpulse-devel
BuildRequires:  alsa-devel
%endif
%if 0%{?redhat_version}
BuildRequires:  pulseaudio-libs-devel
BuildRequires:  alsa-lib-devel
%endif
%if 0%{?centos_version}
BuildRequires:  pulseaudio-libs-devel
BuildRequires:  alsa-lib-devel
%endif
%if 0%{?fedora_version}
BuildRequires:  alsa-lib-devel
%endif
BuildRequires:  rpm-devel
BuildRequires:  gettext >= 0.18.3

%description
Cursynth is a polyphonic music synthesizer that runs graphically inside your terminal.
You can play Cursynth as a standalone soft-synth with your computer keyboard or MIDI keyboard.

%prep
%setup -q

%build
autoreconf -i
%configure
make %{?_smp_mflags}

%install
make install DESTDIR=%{buildroot}
%files
%defattr(-,root,root,0755)
%if 0%{?fedora_version}
/usr/bin/cursynth
/usr/share/cursynth/patches/bit_sin.mite
/usr/share/cursynth/patches/bwang.mite
/usr/share/cursynth/patches/default.mite
/usr/share/cursynth/patches/loaded_room.mite
/usr/share/cursynth/patches/test_patch1.mite
/usr/share/cursynth/patches/test_patch2.mite
/usr/share/cursynth/patches/water_wobble.mite
/usr/share/cursynth/patches/whistle.mite
/usr/share/cursynth/patches/whoooo.mite
/usr/share/cursynth/patches/womp.mite
/usr/share/info/cursynth.info.gz
/usr/share/info/dir
%else
/usr/bin/cursynth
/usr/share/cursynth
/usr/share/cursynth/patches
/usr/share/cursynth/patches/bit_sin.mite
/usr/share/cursynth/patches/bwang.mite
/usr/share/cursynth/patches/default.mite
/usr/share/cursynth/patches/loaded_room.mite
/usr/share/cursynth/patches/test_patch1.mite
/usr/share/cursynth/patches/test_patch2.mite
/usr/share/cursynth/patches/water_wobble.mite
/usr/share/cursynth/patches/whistle.mite
/usr/share/cursynth/patches/whoooo.mite
/usr/share/cursynth/patches/womp.mite
/usr/share/info/cursynth.info.gz
%endif
%doc


%changelog
* Fri Apr  3 2015 Markus Oesterle
-