File ChucK.spec of Package ChucK
# spec file for package ChucK
#
# 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: ChucK
Version: 1.4.1.0
Release: 0
Summary: Strongly-timed, concurrent, on-the-fly music programming language
License: GPL-2.0
Group: Productivity/Multimedia/Sound
URL: https://chuck.cs.princeton.edu/
Source0: chuck-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc gcc-c++
BuildRequires: bison
BuildRequires: flex
BuildRequires: alsa-devel
BuildRequires: jack-devel
BuildRequires: libsndfile-devel
BuildRequires: fdupes
%description
ChucK is a general-purpose programming language, intended for
real-time audio synthesis and graphics/multimedia programming. It
introduces a truly concurrent programming model that embeds timing
directly in the program flow. Other potentially useful features include
the ability to write/change programs on-the-fly.
It is suited for audio/multimedia researchers, developers, composers, and
performers.
%prep
%setup -q -n chuck-%{version}
%build
cd src
%make_build linux-alsa
%install
cd src
mkdir -p %{buildroot}%{_bindir}
install -m 755 chuck %{buildroot}%{_bindir}
cd ..
mkdir -p %{buildroot}%{_datadir}/ChucK
cp -ra examples %{buildroot}%{_datadir}/ChucK
%fdupes %{buildroot}%{_datadir}/ChucK
%files
%license COPYING
%doc AUTHORS README DEVELOPER PROGRAMMER QUICKSTART THANKS VERSIONS
%{_bindir}/chuck
%{_datadir}/ChucK
%changelog