Compare commits

...
Sign in to create a new pull request.

3 commits

Author SHA1 Message Date
Guido Aulisi
f6b20c5b6e Add BR for C compiler too
See https://fedoraproject.org/wiki/Packaging:C_and_C%2B%2B
2018-02-19 11:16:42 +00:00
Guido Aulisi
db98c61a37 Add BR for C++ compiler
See https://fedoraproject.org/wiki/Packaging:C_and_C%2B%2B
2018-02-19 07:58:00 +00:00
Alexandre Moine
232fd2210b Fix RHBGZ #1476525 2017-08-01 19:52:24 +02:00

View file

@ -1,6 +1,6 @@
Name: amsynth
Version: 1.8.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: A classic synthesizer with dual oscillators
License: GPLv2+
@ -9,6 +9,9 @@ Source0: https://github.com/nixxcode/%{name}/releases/download/release-%{
Patch0: amsynth.fixConstString.patch
Patch1: amsynth.fixMetainfo.patch
# https://fedoraproject.org/wiki/Packaging:C_and_C%2B%2B
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: gtk2-devel
BuildRequires: jack-audio-connection-kit-devel lash-devel libsndfile-devel libsndfile-utils
BuildRequires: mesa-libGL-devel mesa-libEGL-devel
@ -58,7 +61,7 @@ Obsoletes: dssi-amsynth-plugins
Amsynth plugin for the dssi audio API
%package -n vst-amsynth-plugin
Summary: Amsynth lv2 plugin
Summary: Amsynth vst plugin
Requires: %{name}-data = %{version}-%{release}
Obsoletes: vst-amsynth-plugins
@ -72,12 +75,8 @@ Amsynth plugin for the vst protocl
%patch1 -p1
%build
# Build in C++11 mode as glibmm headers use C++11 features. This can be dropped
# when GCC in Fedora switches to C++11 by default (with GCC 6, most likely).
export CXXFLAGS="%{optflags} -std=c++11"
%configure --with-jack --with-alsa --with-jack --with-sndfile --with-lash --with-dssi --prefix=/usr
make %{?_smp_mflags}
%make_build
%install
@ -131,6 +130,10 @@ fi
%changelog
* Tue Aug 01 2017 Alexandre Moine <nobrakal@cthugha.org> - 1.8.0-2
- Fix RHBGZ #1476525
- Spec cleanup
* Mon Jun 26 2017 Alexandre Moine <nobrakal@cthugha.org> - 1.8.0-1
- New upstream release
- Drop dependency on gtkmm