df75d63
Summary:        Real-time software synthesizer
df75d63
Name:           zynaddsubfx
3d647d7
Version:        3.0.2
ee42691
Release:        3%{?dist}
1a94462
# Source is a collective work, distributed by
1a94462
License:        GPLv2 and GPLv2+
df75d63
Group:          Applications/Multimedia
df75d63
URL:            http://zynaddsubfx.sourceforge.net
3d647d7
Source0:        http://download.sf.net/sourceforge/zynaddsubfx/zynaddsubfx-%{version}.tar.bz2
3e6c483
# We cannot build this from source since Fedora's texlive is too old
3e6c483
Patch1:         zynaddsubfx-buildflags.patch
3e6c483
df75d63
Requires:       hicolor-icon-theme
1a94462
Requires:       %{name}-common = %{version}-%{release}
df75d63
Igor Gnatenko a13dcb5
BuildRequires:  gcc
Igor Gnatenko a13dcb5
BuildRequires:  gcc-c++
3f2f9a3
BuildRequires:  alsa-lib-devel
3e6c483
BuildRequires:  cmake
3f2f9a3
BuildRequires:  desktop-file-utils
1a94462
BuildRequires:  dssi-devel
3f2f9a3
BuildRequires:  fftw3-devel
3f2f9a3
BuildRequires:  fltk-devel
3f2f9a3
BuildRequires:  fltk-fluid
3f2f9a3
BuildRequires:  ImageMagick
3f2f9a3
BuildRequires:  jack-audio-connection-kit-devel
3f2f9a3
BuildRequires:  lash-devel
3f2f9a3
BuildRequires:  mxml-devel
3e6c483
BuildRequires:  portaudio-devel
3f2f9a3
BuildRequires:  zlib-devel
3d647d7
BuildRequires:  liblo-devel
3d647d7
BuildRequires:  non-ntk-devel
3d647d7
BuildRequires:  libXpm-devel
df75d63
df75d63
%description
df75d63
ZynAddSubFX is an open source software synthesizer capable of making a
fc7ace8
countless number of instrument sounds. It is microtonal, and the instruments
fc7ace8
made by it sounds like those from professional keyboards. The program has
fc7ace8
effects like Reverb, Echo, Chorus, Phaser...
df75d63
1a94462
This package includes the standalone implementation of the synthesizer.
1a94462
1a94462
%package common
1a94462
Summary:        Common files for ZynAddSubFX synthesizers
1a94462
Group:          Applications/Multimedia
1a94462
BuildArch:      noarch
1a94462
1a94462
%description common
1a94462
ZynAddSubFX is an open source software synthesizer capable of making a
1a94462
countless number of instrument sounds. It is microtonal, and the instruments
1a94462
made by it sounds like those from professional keyboards. The program has
1a94462
effects like Reverb, Echo, Chorus, Phaser...
1a94462
1a94462
This package includes the common files needed by the implementations of the
1a94462
synthesizer.
1a94462
1a94462
%package dssi
1a94462
Summary:        Real-time software synthesizer for DSSI
1a94462
Group:          Applications/Multimedia
1a94462
Requires:       %{name}-common = %{version}-%{release}
1a94462
Requires:       dssi
1a94462
1a94462
%description dssi
1a94462
ZynAddSubFX is an open source software synthesizer capable of making a
1a94462
countless number of instrument sounds. It is microtonal, and the instruments
1a94462
made by it sounds like those from professional keyboards. The program has
1a94462
effects like Reverb, Echo, Chorus, Phaser...
1a94462
1a94462
This package includes the DSSI implementation of the synthesizer.
1a94462
3d647d7
%package lv2
3d647d7
Summary:        ${name} LV2 plugins
3d647d7
Group:          Applications/Multimedia
3d647d7
Requires:       %{name}-common = %{version}-%{release}
3d647d7
Requires:       lv2
3d647d7
3d647d7
%description lv2
3d647d7
ZynAddSubFX is an open source software synthesizer capable of making a
3d647d7
countless number of instrument sounds. It is microtonal, and the instruments
3d647d7
made by it sounds like those from professional keyboards. The program has
3d647d7
effects like Reverb, Echo, Chorus, Phaser...
3d647d7
3d647d7
This package includes the LV2 implementation of the synthesizer.
3d647d7
3d647d7
%package vst
3d647d7
Summary:        ${name} VST plugins
3d647d7
Group:          Applications/Multimedia
3d647d7
Requires:       %{name}-common = %{version}-%{release}
3d647d7
3d647d7
%description vst
3d647d7
ZynAddSubFX is an open source software synthesizer capable of making a
3d647d7
countless number of instrument sounds. It is microtonal, and the instruments
3d647d7
made by it sounds like those from professional keyboards. The program has
3d647d7
effects like Reverb, Echo, Chorus, Phaser...
3d647d7
3d647d7
This package includes the VST implementation of the synthesizer.
3d647d7
df75d63
%prep
b753e83
%setup -q
3e6c483
%patch1 -p1 -b .flags
96a8317
1a94462
# Fix encoding
1a94462
for i in AUTHORS.txt ChangeLog; do
1a94462
   iconv -f iso8859-1 -t utf8 $i -o tmpfile
1a94462
   touch -r $i tmpfile
1a94462
   mv -f tmpfile $i
1a94462
done
1a94462
1a94462
1a94462
%build
3e6c483
mkdir -p %{_target_platform}
3e6c483
pushd %{_target_platform}
3e6c483
   %cmake \
3d647d7
      -DDefaultOutput=jack -DPluginLibDir=%{_libdir}\
3e6c483
%ifarch %{ix86} x86_64
3e6c483
      -DX86Build=ON \
3e6c483
%endif
3e6c483
      ..
3e6c483
popd
1a94462
3e6c483
make %{?_smp_mflags} -C %{_target_platform}
df75d63
df75d63
# build external programs
3e6c483
make %{?_smp_mflags} -C ExternalPrograms/Controller
3e6c483
make %{?_smp_mflags} -C ExternalPrograms/Spliter
3e6c483
df75d63
df75d63
%install
3e6c483
make install DESTDIR=%{buildroot} -C %{_target_platform}
3e6c483
3e6c483
mkdir -p %{buildroot}%{_datadir}/%{name}
3e6c483
26d20bf
cp -rp instruments/examples instruments/banks %{buildroot}%{_datadir}/%{name}
df75d63
df75d63
# install external programs
3e6c483
pushd ExternalPrograms
3e6c483
   install -m 0755 Controller/controller %{buildroot}%{_bindir}/zynaddsubfx-controller
3e6c483
   install -m 0755 Spliter/spliter %{buildroot}%{_bindir}/zynaddsubfx-spliter
3e6c483
popd
df75d63
b753e83
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}-jack.desktop
b753e83
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}-alsa.desktop
3e6c483
3e6c483
# We are including these in the common package below
3e6c483
rm -fr %{buildroot}%{_datadir}/doc/%{name}/
3d647d7
install -d -m 0755 %{buildroot}%{_libdir}/%{name}
df75d63
df75d63
%files
df75d63
%{_bindir}/*
b753e83
%{_datadir}/applications/%{name}*.desktop
b753e83
%{_datadir}/pixmaps/zynaddsubfx.svg
df75d63
1a94462
%files common
3d647d7
%doc AUTHORS.txt ChangeLog COPYING
1a94462
%{_datadir}/%{name}/
1a94462
1a94462
%files dssi
1a94462
%{_libdir}/dssi/*.so
1a94462
3d647d7
%files lv2
3d647d7
%{_libdir}/lv2/*
3d647d7
3d647d7
%files vst
3d647d7
%{_libdir}/vst/*.so
3d647d7
df75d63
%changelog
ee42691
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-3
ee42691
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
ee42691
754b132
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-2
754b132
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
754b132
3d647d7
* Sat Nov 18 2017 Brendan Jones <brendan.jones.it@gmail.com> - 3.0.2-1
3d647d7
- Update to 3.0.2
3d647d7
4a35adf
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.4-11
4a35adf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
4a35adf
10d6dd2
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.4-10
10d6dd2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
10d6dd2
c21c6c6
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.4-9
c21c6c6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c21c6c6
cc50cf3
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.4-8
cc50cf3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
cc50cf3
Richard Hughes 28c4280
* Fri Sep 18 2015 Richard Hughes <rhughes@redhat.com> - 2.4.4-7
Richard Hughes 28c4280
- Remove no longer required AppData file
Richard Hughes 28c4280
9f8f79e
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.4-6
9f8f79e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
9f8f79e
e235bdd
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 2.4.4-5
e235bdd
- Rebuilt for GCC 5 C++11 ABI change
e235bdd
Richard Hughes a7b0a2f
* Thu Mar 26 2015 Richard Hughes <rhughes@redhat.com> - 2.4.4-4
Richard Hughes a7b0a2f
- Add an AppData file for the software center
Richard Hughes a7b0a2f
Rex Dieter 85fdfc4
* Thu Feb 19 2015 Rex Dieter <rdieter@fedoraproject.org> 2.4.4-3
Rex Dieter 85fdfc4
- rebuild (fltk)
Rex Dieter 85fdfc4
1dc501d
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.4-2
1dc501d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
1dc501d
b753e83
* Sun Jun 29 2014 Brendan Jones <brendan.jones.it@gmail.com> 2.4.4-1
b753e83
- Update to 2.4.4
b753e83
88d20be
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.3-5
88d20be
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
88d20be
fbdeaa4
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.3-4
fbdeaa4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
fbdeaa4
Parag Nemade 35a97f5
* Sun Feb 10 2013 Parag Nemade <paragn AT fedoraproject DOT org> - 2.4.3-3
Parag Nemade 35a97f5
- Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077
Parag Nemade 35a97f5
26d20bf
* Sun Oct 28 2012 Brendan Jones <brendan.jones.it@gmail.com> 2.4.3-2
26d20bf
- Mov ebanks/examples
26d20bf
833e20d
* Thu Oct 25 2012 Brendan Jones <brendan.jones.it@gmail.com> 2.4.3-1
833e20d
- New upstream release
833e20d
6e9a613
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.2-2
6e9a613
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
6e9a613
3e6c483
* Thu Mar 08 2012 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 2.4.2-1
3e6c483
- 2.4.2
3e6c483
fc457b2
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.1-5
fc457b2
- Rebuilt for c++ ABI breakage
fc457b2
b43f4b2
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.1-4
b43f4b2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
b43f4b2
96a8317
* Sun Jun 26 2011 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 2.4.1-3
96a8317
- Fix FTBFS RHBZ#715835
96a8317
904bb2c
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.1-2
904bb2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
904bb2c
1a94462
* Thu Jul 22 2010 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 2.4.1-1
1a94462
- Version update
1a94462
- Build the DSSI plugin since it is fixed now
1a94462
- Put the common files between standalone ad DSSI synths in a common package
1a94462
- Drop patches that are not necessary anymore
1a94462
- Fix .desktop file
1a94462
3f2f9a3
* Wed Feb 10 2010 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 2.4.0-3
3f2f9a3
- Fix DSO-linking failure
3f2f9a3
1b75af9
* Tue Sep 08 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 2.4.0-2
1b75af9
- Bugfix: presets and parameters don't load on ix86 (RHBZ #518755)
1b75af9
fc7ace8
* Thu Aug 06 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 2.4.0-1
fc7ace8
- Update to 2.4.0
fc7ace8
- Update scriptlets according to new guidelines
fc7ace8
- Update the .desktop file
fc7ace8
- Use Fedora specific flags during compilation
fc7ace8
- License is GPLv2+ (just run the program on the command line :))
fc7ace8
71a8299
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-21
71a8299
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
71a8299
0638e67
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-20
0638e67
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
0638e67
193d6c1
* Mon Aug 11 2008 Jason L Tibbitts III <tibbs@math.uh.edu> - 2.2.1-19
193d6c1
- Fix license tag.
193d6c1
825543e
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.2.1-18
825543e
- Autorebuild for GCC 4.3
825543e
cca5bd3
* Wed Oct 10 2007 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 2.2.1-17
cca5bd3
- added tweaked unzombify patch by Lars Luthman (patch3), see:
cca5bd3
  http://sourceforge.net/tracker/index.php?func=detail&aid=1498438&group_id=62934&atid=502314
cca5bd3
55adf09
* Tue Oct 09 2007 Anthony Green <green@redhat.com> 2.2.1-16
55adf09
- Rebuilt for new lash again.
55adf09
55adf09
* Mon Oct 08 2007 Anthony Green <green@redhat.com> 2.2.1-15
55adf09
- Rebuilt for new lash.
55adf09
a39f349
* Wed Mar 14 2007 Anthony Green <green@redhat.com> 2.2.1-14
a39f349
- Rebuild with new ImageMagick for working desktop icons.
a39f349
4c8a3bf
* Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 2.2.1-13
4c8a3bf
 - rebuilt for unwind info generation, broken in gcc-4.1.1-21
4c8a3bf
4898574
* Tue Sep 19 2006 Anthony Green <green@redhat.com>  2.2.1-12
4898574
- Fix release tag.
4898574
1f94253
* Mon Sep 18 2006 Anthony Green <green@redhat.com>  2.2.1-11.1
1f94253
- Rebuild.
1f94253
db9c83d
* Wed Aug 30 2006 Anthony Green <green@redhat.com>  2.2.1-11
db9c83d
- Fix ppc problem (in a different way).
db9c83d
7db545b
* Wed Aug 30 2006 Anthony Green <green@redhat.com>  2.2.1-10
7db545b
- Fix ppc problem.  Add perl dependency.
7db545b
929ac41
* Wed Aug 30 2006 Anthony Green <green@redhat.com>  2.2.1-9
929ac41
- Only build for x86 and x86-64 for now.  (ppc build problem)
929ac41
df75d63
* Wed Aug 30 2006 Anthony Green <green@redhat.com>  2.2.1-8
df75d63
- Depend on hicolor-icon-theme.
df75d63
df75d63
* Sat Aug 26 2006 Anthony Green <green@redhat.com>  2.2.1-7
df75d63
- Add dist tag to release version.
df75d63
- Tidy up description.
df75d63
- Use standard scriptlets in %%post/%%postun.
df75d63
df75d63
* Thu Jul 20 2006 Anthony Green <green@redhat.com>  2.2.1-6
df75d63
- Fix compile options and remove rpath usage (bug in fltk-config).
df75d63
df75d63
* Sat Jul 15 2006 Anthony Green <green@redhat.com>  2.2.1-5
df75d63
- First Fedora Extras build.
df75d63
- Fix Source0 permissions.
df75d63
- Add desktop-file-utils requirements.
df75d63
- Tweak macro usage and .desktop file.
df75d63
- Convert and install icons.  Add post(un) install scripts.
df75d63
- Add ImageMagick BuildRequires.
df75d63
df75d63
* Mon May  8 2006 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 2.2.1-4
df75d63
- added lash patch (http://www.student.nada.kth.se/~d00-llu/programming.php)
df75d63
df75d63
* Sat May  6 2006 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 2.2.1-3
df75d63
- add Planet CCRMA categories to desktop file
df75d63
df75d63
* Fri Mar 31 2006 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 
df75d63
- build on fc5
df75d63
df75d63
* Fri Sep 23 2005 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 2.2.1-2
df75d63
- rebuilt with new version of mxml (2.2.2)
df75d63
- added specific requires for mxml version
df75d63
df75d63
* Tue May  3 2005 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 2.2.1-1
df75d63
- updated to 2.2.1
df75d63
df75d63
* Fri Apr  8 2005 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 2.2.0-1
df75d63
- updated to 2.2.0
df75d63
df75d63
* Mon Feb  7 2005 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 2.1.1-2
df75d63
- fixed microtuning bug (patch from Paul Nasca)
df75d63
df75d63
* Sun Oct  3 2004 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 2.1.1-1
df75d63
- updated to 2.1.1
df75d63
df75d63
* Fri Oct  1 2004 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 2.1.0-1
df75d63
- updated to 2.1.0
df75d63
df75d63
* Fri Aug 27 2004 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 2.0.0-1
df75d63
- updated to 2.0.0 final
df75d63
- readded examples directory to the file list
df75d63
- installed banks and presets
df75d63
- compiled and installed "controller" and "spliter"
df75d63
df75d63
* Wed Aug  4 2004 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 2.0.0-0.pre2.1
df75d63
- updated to latest prerelease
df75d63
- added mxml build dependency, updated requirements to fftw3
df75d63
- no documentation or examples for now
df75d63
df75d63
* Sat Nov  8 2003 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.4.3-1
df75d63
- spec file tweaks
df75d63
df75d63
* Mon Sep  1 2003 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.4.3-1
df75d63
- updated to 1.4.3, added release tag
df75d63
df75d63
* Fri Jul 25 2003 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.4.2-1
df75d63
- updated to 1.4.2
df75d63
df75d63
* Thu May  8 2003 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.4.1-1
df75d63
- updated to 1.4.1 (docs are still 1.4.0)
df75d63
df75d63
* Tue May  6 2003 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.4.0-1
df75d63
- updated to 1.4.0
df75d63
df75d63
* Tue Apr  8 2003 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.2.1-2
df75d63
- rebuilt for newer version of fftw
df75d63
df75d63
* Tue Apr  8 2003 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.2.1-1
df75d63
- udpated to 1.2.1
df75d63
df75d63
* Wed Apr  2 2003 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.2.0-2
df75d63
- rebuild for jack 0.66.3, added explicit requires for it
df75d63
df75d63
* Fri Mar 21 2003 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.2.0-1
df75d63
- updated to 1.2.0
df75d63
df75d63
* Thu Mar  6 2003 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.0.9-2
df75d63
- rebuilt due to changed fltk (from 1.1.0rc3 to 1.1.3)
df75d63
- commented out deprecated jack_set_buffer_size_callback() call
df75d63
df75d63
* Mon Feb 24 2003 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.0.9-1
df75d63
- updated to 1.0.9
df75d63
df75d63
* Fri Feb 14 2003 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.0.8-1
df75d63
- updated to 1.0.8
df75d63
3d647d7
* Thu Feb  6 2003 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.0.7-1
df75d63
- updated to 1.0.7
df75d63
df75d63
* Sun Jan 26 2003 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.0.5-1
df75d63
- Initial build.