2024-01-05 17:55:42 +01:00
|
|
|
Name: ZynAddSubFX
|
2024-01-05 17:55:42 +01:00
|
|
|
Version: 3.0.5
|
2024-01-05 17:55:42 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A software synthesizer capable of making a countless number of instruments
|
|
|
|
Group: Graphical Desktop/Applications/Multimedia
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 17:55:42 +01:00
|
|
|
URL: https://sourceforge.net/projects/zynaddsubfx/
|
|
|
|
Source: https://sourceforge.net/projects/zynaddsubfx/files/zynaddsubfx/%{version}/zynaddsubfx-%{version}.tar.bz2
|
2024-01-05 17:55:42 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-05 17:55:42 +01:00
|
|
|
BuildRequires: ldconfig
|
|
|
|
BuildRequires: libGL-devel
|
|
|
|
BuildRequires: libGLU-devel
|
|
|
|
BuildRequires: libICE-devel
|
|
|
|
BuildRequires: libSM-devel
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libXcursor-devel
|
|
|
|
BuildRequires: libXext-devel
|
|
|
|
BuildRequires: libXfixes-devel
|
|
|
|
BuildRequires: libXft-devel
|
|
|
|
BuildRequires: libXinerama-devel
|
|
|
|
BuildRequires: libXpm-devel
|
|
|
|
BuildRequires: libXrender-devel
|
2024-01-05 17:55:42 +01:00
|
|
|
BuildRequires: libalsa-devel
|
2024-01-05 17:55:42 +01:00
|
|
|
BuildRequires: libdbus-devel
|
2024-01-05 17:55:42 +01:00
|
|
|
BuildRequires: libfftw-devel
|
|
|
|
BuildRequires: libfltk-devel
|
2024-01-05 17:55:42 +01:00
|
|
|
BuildRequires: libfontconfig-devel
|
2024-01-05 17:55:42 +01:00
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libjack-devel
|
2024-01-05 17:55:42 +01:00
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: liblash-devel
|
|
|
|
BuildRequires: liblo-devel
|
2024-01-05 17:55:42 +01:00
|
|
|
BuildRequires: libmxml-devel
|
2024-01-05 17:55:42 +01:00
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: libportaudio-devel
|
2024-01-05 17:55:42 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
2024-01-05 17:55:42 +01:00
|
|
|
BuildRequires: libuuid-devel
|
|
|
|
BuildRequires: libxml2-devel
|
2024-01-05 17:55:42 +01:00
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: dssi-devel
|
|
|
|
|
|
|
|
%description
|
|
|
|
ZynAddSubFX is a opensource software synthesizer capable of making a countless number of instruments, from some common heared from expensive hardware to interesting sounds that you'll boost to an amazing universe of sounds.
|
|
|
|
|
2024-01-05 17:55:42 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-05 17:55:42 +01:00
|
|
|
%prep
|
2024-01-05 17:55:42 +01:00
|
|
|
%setup -q -n zynaddsubfx-%{version}
|
2024-01-05 17:55:42 +01:00
|
|
|
#cd src
|
|
|
|
#sed -i "s|\(^LINUX_AUDIOOUT=JACK\)|\#\1|" Makefile.inc
|
|
|
|
#sed -i "s|\#\(LINUX_AUDIOOUT=JACK$\)|\1|" Makefile.inc
|
|
|
|
#sed -i "s|\(^CXX=\).*$|\1%{_target_platform}-g++|" Makefile.inc
|
|
|
|
|
|
|
|
%build
|
2024-01-05 17:55:42 +01:00
|
|
|
%cmake -d build \
|
|
|
|
-DCMAKE_STRIP=/bin/true \
|
|
|
|
-DPluginLibDir=%{_lib}
|
|
|
|
|
2024-01-05 17:55:42 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
#install -D -m0755 src/zynaddsubfx %{buildroot}%{_bindir}/zynaddsubfx
|
2024-01-05 17:55:42 +01:00
|
|
|
#install -D -m0644 zynaddsubfx_icon.ico %{buildroot}%{_datadir}/pixmaps/zynaddsubfx.ico
|
|
|
|
#install -d -m0755 %{buildroot}%{_datadir}/zynaddsubfx/banks
|
|
|
|
#install -d -m0755 %{buildroot}%{_datadir}/zynaddsubfx/examples
|
2024-01-05 17:55:42 +01:00
|
|
|
#install -d -m0755 %{buildroot}%{_datadir}/zynaddsubfx/presets
|
|
|
|
|
2024-01-05 17:55:42 +01:00
|
|
|
#cp -a instruments/* %{buildroot}%{_datadir}/zynaddsubfx/
|
|
|
|
|
2024-01-05 17:55:42 +01:00
|
|
|
## make and instal DSSI plugin library
|
|
|
|
#cd src
|
|
|
|
#sed -i "s|\#\(LINUX_DSSI=YES\)|\1|" Makefile.inc
|
|
|
|
#sed -i "s|\(^LINUX_DSSI=NO$\)|\#\1|" Makefile.inc
|
|
|
|
#% make
|
|
|
|
#install -D -m0755 zynaddsubfx.so %{buildroot}%{_libdir}/dssi/zynaddsubfx.so
|
|
|
|
#cd ..
|
|
|
|
|
2024-01-05 17:55:42 +01:00
|
|
|
#mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
|
|
|
|
#cat > $RPM_BUILD_ROOT/%{_datadir}/applications/ZynAddSubFX.desktop << EOF
|
|
|
|
#[Desktop Entry]
|
|
|
|
#Name=ZynAddSubFX
|
|
|
|
#GenericName=Software synthetizer
|
|
|
|
#GenericName[it]=Sintetizzatore software
|
|
|
|
#Comment=A software synthesizer capable of making a countless number of instruments
|
|
|
|
#Comment[it]=Un sintetizzatore capace di riprodurre molti strumenti
|
|
|
|
#Exec=zynaddsubfx
|
|
|
|
#Type=Application
|
|
|
|
#Terminal=0
|
|
|
|
#Icon=%{_datadir}/pixmaps/zynaddsubfx.ico
|
|
|
|
#Categories=Qt;KDE;AudioVideo;Music;
|
|
|
|
#EOF
|
2024-01-05 17:55:42 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/zynaddsubfx
|
2024-01-05 17:55:42 +01:00
|
|
|
%{_bindir}/zynaddsubfx-ext-gui
|
2024-01-05 17:55:42 +01:00
|
|
|
%{_libdir}/dssi/libzynaddsubfx_dssi.so
|
2024-01-05 17:55:42 +01:00
|
|
|
%{_libdir}/lv2/*
|
|
|
|
%{_libdir}/vst/*
|
|
|
|
%{_datadir}/applications/zynaddsubfx-*.desktop
|
|
|
|
%{_datadir}/pixmaps/zynaddsubfx.svg
|
|
|
|
%dir %{_datadir}/zynaddsubfx
|
2024-01-05 17:55:42 +01:00
|
|
|
%dir %{_datadir}/zynaddsubfx/banks
|
|
|
|
%{_datadir}/zynaddsubfx/banks/*
|
|
|
|
%dir %{_datadir}/zynaddsubfx/examples
|
|
|
|
%{_datadir}/zynaddsubfx/examples/*
|
|
|
|
%dir %{_datadir}/doc/zynaddsubfx
|
2024-01-05 17:55:42 +01:00
|
|
|
%{_datadir}/doc/zynaddsubfx/*
|
2024-01-05 17:55:42 +01:00
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 17:55:42 +01:00
|
|
|
* Sat Feb 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.5-1mamba
|
|
|
|
- update to 3.0.5
|
|
|
|
|
2024-01-05 17:55:42 +01:00
|
|
|
* Fri Feb 08 2013 Automatic Build System <autodist@mambasoft.it> 2.4.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Jun 30 2010 Automatic Build System <autodist@mambasoft.it> 2.4.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri Jul 31 2009 Automatic Build System <autodist@mambasoft.it> 2.4.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sun Jan 25 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.1-3mamba
|
|
|
|
- rebuilt with standard compiler flags
|
|
|
|
- enabled DSSI support
|
|
|
|
|
|
|
|
* Sat Sep 22 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.1-2mamba
|
|
|
|
- added desktop menu icon
|
|
|
|
|
|
|
|
* Mon Sep 11 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.1-1qilnx
|
|
|
|
- package created by autospec
|