diff --git a/README.md b/README.md index 9c598ca..ad4092a 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # ZynAddSubFX +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. + diff --git a/ZynAddSubFX.spec b/ZynAddSubFX.spec new file mode 100644 index 0000000..f00f894 --- /dev/null +++ b/ZynAddSubFX.spec @@ -0,0 +1,114 @@ +Name: ZynAddSubFX +Version: 2.4.3 +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 +URL: http://zynaddsubfx.sourceforge.net +Source: http://downloads.sourceforge.net/sourceforge/zynaddsubfx/ZynAddSubFX-%{version}.tar.bz2 +License: GPL +BuildRoot: %{_tmppath}/%{name}-%{version}-root +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libalsa-devel +BuildRequires: libfftw-devel +BuildRequires: libfltk-devel +BuildRequires: libgcc +BuildRequires: libjack-devel +BuildRequires: libmxml-devel +BuildRequires: libstdc++6-devel +BuildRequires: libX11-devel +BuildRequires: libXext-devel +BuildRequires: libXft-devel +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. + +%prep +%setup -q +#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 +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%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 -m0755 %{buildroot}%{_datadir}/zynaddsubfx/presets + +cp -a instruments/* %{buildroot}%{_datadir}/zynaddsubfx/ +# +## 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 .. + +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}" + +%files +%defattr(-,root,root) +%{_bindir}/zynaddsubfx +%{_libdir}/dssi/libzynaddsubfx_dssi.so +%{_datadir}/pixmaps/zynaddsubfx.ico +%{_datadir}/applications/ZynAddSubFX.desktop +%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 +%doc COPYING + +%changelog +* Fri Feb 08 2013 Automatic Build System 2.4.3-1mamba +- automatic version update by autodist + +* Wed Jun 30 2010 Automatic Build System 2.4.1-1mamba +- automatic update by autodist + +* Fri Jul 31 2009 Automatic Build System 2.4.0-1mamba +- automatic update by autodist + +* Sun Jan 25 2009 Silvan Calarco 2.2.1-3mamba +- rebuilt with standard compiler flags +- enabled DSSI support + +* Sat Sep 22 2007 Silvan Calarco 2.2.1-2mamba +- added desktop menu icon + +* Mon Sep 11 2006 Silvan Calarco 2.2.1-1qilnx +- package created by autospec