File FaustLive.spec of Package faustlive
#
# spec file for package faust
#
# Copyright (c) 2018 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: FaustLive
Version: 2.5.18+git.3.196f85f
Release: 0
Summary: Faust prototyping tool with dynamic compilation
License: GPL-2.0
Group: Development/Languages/Other
Url: https://faust.grame.fr/
Source: faustlive-%{version}.tar.xz
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: clang
BuildRequires: faust
BuildRequires: libfaust2
BuildRequires: faust-devel
BuildRequires: pkgconfig
BuildRequires: llvm-devel
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5Network)
BuildRequires: pkgconfig(sndfile)
#BuildRequires: pkgconfig(libqrencode)
BuildRequires: pkgconfig(libmicrohttpd)
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(jack)
BuildRequires: pkgconfig(libcurl)
BuildRequires: update-desktop-files
%description
FaustLive is an advanced self-contained prototyping environment for the Faust
programming language with an ultra-short edit-compile-run cycle. Thanks to its
fully embedded compilation chain, FaustLive is simple to install and doesn't
require any external compiler, development toolchain or SDK to run.
FaustLive is the ideal tool for fast prototyping. Faust programs can be
compiled and run on the fly by simple drag and drop. They can even be edited
and recompiled while running without sound interruption or JACK disconnection.
%package doc
Summary: PDF Documentation for FAUST and FaustLive
BuildArch: noarch
%description doc
This package contains faust-quick-reference.pdf and FaustLive User Manual
%prep
%setup -q -n faustlive-%{version}
%build
cd Build
CMAKEOPT="-DCMAKE_INSTALL_PREFIX=%{_prefix}" %make_build
%install
cd Build
%make_install
%suse_update_desktop_file -r %{name} Education Engineering
%files
%defattr(-,root,root,-)
%doc README.md
%license GPL.txt
%{_bindir}/FaustLive
%dir %{_datadir}/icons/hicolor
%dir %{_datadir}/icons/hicolor/32x32/
%dir %{_datadir}/icons/hicolor/32x32/apps
%{_datadir}/icons/hicolor/32x32/apps/FaustLiveIcon.png
%dir %{_datadir}/icons/hicolor/scalable
%dir %{_datadir}/icons/hicolor/scalable/apps
%{_datadir}/icons/hicolor/scalable/apps/Faustlive.svg
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/Faustlive.xpm
%files doc
%dir %{_datadir}/doc/faustlive
%{_datadir}/doc/faustlive/*.pdf
%changelog