update to 3.0.5 [release 3.0.5-1mamba;Sat Feb 27 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 17:55:42 +01:00
parent b5a4e08850
commit 233c70c900

View File

@ -1,27 +1,45 @@
Name: ZynAddSubFX Name: ZynAddSubFX
Version: 2.4.3 Version: 3.0.5
Release: 1mamba Release: 1mamba
Summary: A software synthesizer capable of making a countless number of instruments Summary: A software synthesizer capable of making a countless number of instruments
Group: Graphical Desktop/Applications/Multimedia Group: Graphical Desktop/Applications/Multimedia
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://zynaddsubfx.sourceforge.net URL: https://sourceforge.net/projects/zynaddsubfx/
Source: http://downloads.sourceforge.net/sourceforge/zynaddsubfx/ZynAddSubFX-%{version}.tar.bz2 Source: https://sourceforge.net/projects/zynaddsubfx/files/zynaddsubfx/%{version}/zynaddsubfx-%{version}.tar.bz2
License: GPL License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
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
BuildRequires: libalsa-devel BuildRequires: libalsa-devel
BuildRequires: libdbus-devel
BuildRequires: libfftw-devel BuildRequires: libfftw-devel
BuildRequires: libfltk-devel BuildRequires: libfltk-devel
BuildRequires: libfontconfig-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libjack-devel BuildRequires: libjack-devel
BuildRequires: libjpeg-devel
BuildRequires: liblash-devel
BuildRequires: liblo-devel
BuildRequires: libmxml-devel BuildRequires: libmxml-devel
BuildRequires: libpng-devel
BuildRequires: libportaudio-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
BuildRequires: libX11-devel BuildRequires: libuuid-devel
BuildRequires: libXext-devel BuildRequires: libxml2-devel
BuildRequires: libXft-devel
BuildRequires: libz-devel BuildRequires: libz-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: dssi-devel BuildRequires: dssi-devel
@ -29,15 +47,20 @@ BuildRequires: dssi-devel
%description %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. 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.
%debug_package
%prep %prep
%setup -q %setup -q -n zynaddsubfx-%{version}
#cd src #cd src
#sed -i "s|\(^LINUX_AUDIOOUT=JACK\)|\#\1|" Makefile.inc #sed -i "s|\(^LINUX_AUDIOOUT=JACK\)|\#\1|" Makefile.inc
#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 #sed -i "s|\(^CXX=\).*$|\1%{_target_platform}-g++|" Makefile.inc
%build %build
%cmake -d build %cmake -d build \
-DCMAKE_STRIP=/bin/true \
-DPluginLibDir=%{_lib}
%make %make
%install %install
@ -45,13 +68,13 @@ ZynAddSubFX is a opensource software synthesizer capable of making a countless n
%makeinstall -C build %makeinstall -C build
#install -D -m0755 src/zynaddsubfx %{buildroot}%{_bindir}/zynaddsubfx #install -D -m0755 src/zynaddsubfx %{buildroot}%{_bindir}/zynaddsubfx
install -D -m0644 zynaddsubfx_icon.ico %{buildroot}%{_datadir}/pixmaps/zynaddsubfx.ico #install -D -m0644 zynaddsubfx_icon.ico %{buildroot}%{_datadir}/pixmaps/zynaddsubfx.ico
install -d -m0755 %{buildroot}%{_datadir}/zynaddsubfx/banks #install -d -m0755 %{buildroot}%{_datadir}/zynaddsubfx/banks
install -d -m0755 %{buildroot}%{_datadir}/zynaddsubfx/examples #install -d -m0755 %{buildroot}%{_datadir}/zynaddsubfx/examples
#install -d -m0755 %{buildroot}%{_datadir}/zynaddsubfx/presets #install -d -m0755 %{buildroot}%{_datadir}/zynaddsubfx/presets
cp -a instruments/* %{buildroot}%{_datadir}/zynaddsubfx/ #cp -a instruments/* %{buildroot}%{_datadir}/zynaddsubfx/
#
## make and instal DSSI plugin library ## make and instal DSSI plugin library
#cd src #cd src
#sed -i "s|\#\(LINUX_DSSI=YES\)|\1|" Makefile.inc #sed -i "s|\#\(LINUX_DSSI=YES\)|\1|" Makefile.inc
@ -60,20 +83,20 @@ cp -a instruments/* %{buildroot}%{_datadir}/zynaddsubfx/
#install -D -m0755 zynaddsubfx.so %{buildroot}%{_libdir}/dssi/zynaddsubfx.so #install -D -m0755 zynaddsubfx.so %{buildroot}%{_libdir}/dssi/zynaddsubfx.so
#cd .. #cd ..
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications #mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
cat > $RPM_BUILD_ROOT/%{_datadir}/applications/ZynAddSubFX.desktop << EOF #cat > $RPM_BUILD_ROOT/%{_datadir}/applications/ZynAddSubFX.desktop << EOF
[Desktop Entry] #[Desktop Entry]
Name=ZynAddSubFX #Name=ZynAddSubFX
GenericName=Software synthetizer #GenericName=Software synthetizer
GenericName[it]=Sintetizzatore software #GenericName[it]=Sintetizzatore software
Comment=A software synthesizer capable of making a countless number of instruments #Comment=A software synthesizer capable of making a countless number of instruments
Comment[it]=Un sintetizzatore capace di riprodurre molti strumenti #Comment[it]=Un sintetizzatore capace di riprodurre molti strumenti
Exec=zynaddsubfx #Exec=zynaddsubfx
Type=Application #Type=Application
Terminal=0 #Terminal=0
Icon=%{_datadir}/pixmaps/zynaddsubfx.ico #Icon=%{_datadir}/pixmaps/zynaddsubfx.ico
Categories=Qt;KDE;AudioVideo;Music; #Categories=Qt;KDE;AudioVideo;Music;
EOF #EOF
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -81,19 +104,25 @@ EOF
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/zynaddsubfx %{_bindir}/zynaddsubfx
%{_bindir}/zynaddsubfx-ext-gui
%{_libdir}/dssi/libzynaddsubfx_dssi.so %{_libdir}/dssi/libzynaddsubfx_dssi.so
%{_datadir}/pixmaps/zynaddsubfx.ico %{_libdir}/lv2/*
%{_datadir}/applications/ZynAddSubFX.desktop %{_libdir}/vst/*
%{_datadir}/applications/zynaddsubfx-*.desktop
%{_datadir}/pixmaps/zynaddsubfx.svg
%dir %{_datadir}/zynaddsubfx
%dir %{_datadir}/zynaddsubfx/banks %dir %{_datadir}/zynaddsubfx/banks
%{_datadir}/zynaddsubfx/banks/* %{_datadir}/zynaddsubfx/banks/*
%dir %{_datadir}/zynaddsubfx/examples %dir %{_datadir}/zynaddsubfx/examples
%{_datadir}/zynaddsubfx/examples/* %{_datadir}/zynaddsubfx/examples/*
%dir %{_datadir}/doc/zynaddsubfx %dir %{_datadir}/doc/zynaddsubfx
%{_datadir}/doc/zynaddsubfx/*.txt %{_datadir}/doc/zynaddsubfx/*
%{_datadir}/doc/zynaddsubfx/COPYING
%doc COPYING %doc COPYING
%changelog %changelog
* Sat Feb 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.5-1mamba
- update to 3.0.5
* Fri Feb 08 2013 Automatic Build System <autodist@mambasoft.it> 2.4.3-1mamba * Fri Feb 08 2013 Automatic Build System <autodist@mambasoft.it> 2.4.3-1mamba
- automatic version update by autodist - automatic version update by autodist