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
Version: 2.4.3
Version: 3.0.5
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>
URL: http://zynaddsubfx.sourceforge.net
Source: http://downloads.sourceforge.net/sourceforge/zynaddsubfx/ZynAddSubFX-%{version}.tar.bz2
URL: https://sourceforge.net/projects/zynaddsubfx/
Source: https://sourceforge.net/projects/zynaddsubfx/files/zynaddsubfx/%{version}/zynaddsubfx-%{version}.tar.bz2
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
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: libdbus-devel
BuildRequires: libfftw-devel
BuildRequires: libfltk-devel
BuildRequires: libfontconfig-devel
BuildRequires: libgcc
BuildRequires: libjack-devel
BuildRequires: libjpeg-devel
BuildRequires: liblash-devel
BuildRequires: liblo-devel
BuildRequires: libmxml-devel
BuildRequires: libpng-devel
BuildRequires: libportaudio-devel
BuildRequires: libstdc++6-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libXft-devel
BuildRequires: libuuid-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: dssi-devel
@ -29,15 +47,20 @@ 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.
%debug_package
%prep
%setup -q
%setup -q -n zynaddsubfx-%{version}
#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
%cmake -d build
%cmake -d build \
-DCMAKE_STRIP=/bin/true \
-DPluginLibDir=%{_lib}
%make
%install
@ -45,13 +68,13 @@ ZynAddSubFX is a opensource software synthesizer capable of making a countless n
%makeinstall -C build
#install -D -m0755 src/zynaddsubfx %{buildroot}%{_bindir}/zynaddsubfx
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
#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
#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
#cd src
#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
#cd ..
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
#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
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -81,19 +104,25 @@ EOF
%files
%defattr(-,root,root)
%{_bindir}/zynaddsubfx
%{_bindir}/zynaddsubfx-ext-gui
%{_libdir}/dssi/libzynaddsubfx_dssi.so
%{_datadir}/pixmaps/zynaddsubfx.ico
%{_datadir}/applications/ZynAddSubFX.desktop
%{_libdir}/lv2/*
%{_libdir}/vst/*
%{_datadir}/applications/zynaddsubfx-*.desktop
%{_datadir}/pixmaps/zynaddsubfx.svg
%dir %{_datadir}/zynaddsubfx
%dir %{_datadir}/zynaddsubfx/banks
%{_datadir}/zynaddsubfx/banks/*
%dir %{_datadir}/zynaddsubfx/examples
%{_datadir}/zynaddsubfx/examples/*
%dir %{_datadir}/doc/zynaddsubfx
%{_datadir}/doc/zynaddsubfx/*.txt
%{_datadir}/doc/zynaddsubfx/COPYING
%{_datadir}/doc/zynaddsubfx/*
%doc COPYING
%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
- automatic version update by autodist