2024-01-06 00:18:22 +01:00
|
|
|
|
Name: jjazzlab-bin
|
2024-03-04 11:42:13 +01:00
|
|
|
|
Version: 4.0.2
|
|
|
|
|
Release: 1mamba
|
2024-01-06 00:18:22 +01:00
|
|
|
|
Summary: A Midi-based framework dedicated to backing tracks generation
|
|
|
|
|
Group: Graphical Desktop/Applications/Multimedia
|
|
|
|
|
Vendor: openmamba
|
|
|
|
|
Distribution: openmamba
|
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-03-04 11:42:13 +01:00
|
|
|
|
URL: https://www.jjazzlab.org/
|
|
|
|
|
Source: https://github.com/jjazzboss/JJazzLab/releases/download/%{version}/JJazzLab-%{version}-linux-x64.tar.xz
|
2024-01-06 00:18:22 +01:00
|
|
|
|
Source1: jjazzlab.desktop
|
|
|
|
|
Source2: jjazzlab.png
|
|
|
|
|
Source3: https://archive.org/download/jjazz-lab-sound-font/JJazzLab-SoundFont.sf2
|
|
|
|
|
Source4: https://www.jjazzlab.com/docs/JJazzLab-Realbook.zip
|
|
|
|
|
Source5: https://www.jjazzlab.com/docs/jjazzlab_user_styles.zip
|
|
|
|
|
License: LGPL
|
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
|
BuildRequires: glibc-devel
|
2024-03-04 11:42:13 +01:00
|
|
|
|
BuildRequires: java-openjdk11-runtime
|
2024-01-06 00:18:22 +01:00
|
|
|
|
## AUTOBUILDREQ-END
|
2024-03-04 11:42:13 +01:00
|
|
|
|
Requires: fluidsynth
|
2024-01-06 00:18:22 +01:00
|
|
|
|
Requires: java-runtime
|
2024-03-04 11:42:13 +01:00
|
|
|
|
Obsoletes: linuxband <= 12.02.1-1mamba
|
2024-01-06 00:18:22 +01:00
|
|
|
|
Recommends: qsynth
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
A Midi-based framework dedicated to backing tracks generation.
|
|
|
|
|
|
|
|
|
|
%package -n soundfont-jjazzlab
|
|
|
|
|
Group: System/Multimedia
|
|
|
|
|
Summary: A soundfont collection optimized for JJazzLab
|
|
|
|
|
Provides: soundfont
|
|
|
|
|
Supplements: jjazzlab-bin
|
|
|
|
|
|
|
|
|
|
%description -n soundfont-jjazzlab
|
|
|
|
|
Soundfont based on SGM-v2.01-NicePianosGuitarsBass.sf2 from John Nebauer (https://sites.google.com/site/soundfonts4u/), optimized to work with the JJazzLab application.
|
|
|
|
|
|
|
|
|
|
%package realbook
|
|
|
|
|
Group: System/Multimedia
|
|
|
|
|
Summary: A collection of more than 2500 standard songs at the JJazzLab format
|
|
|
|
|
Supplements: jjazzlab-bin
|
|
|
|
|
|
|
|
|
|
%description realbook
|
|
|
|
|
A collection of more than 2500 standard songs at the JJazzLab format. They only contain the chord changes of the songs, not the melody. You’ll find standard jazz/latin/pop standards such as the ones found in the Real Books.
|
|
|
|
|
|
|
|
|
|
#% debug_package
|
|
|
|
|
|
|
|
|
|
%prep
|
2024-03-04 11:42:13 +01:00
|
|
|
|
%setup -q -n JJazzLab-%{version}
|
2024-01-06 00:18:22 +01:00
|
|
|
|
# Use system JDK
|
|
|
|
|
rm -r jdk
|
|
|
|
|
sed 's/\(^jdkhome="jdk"$\)/#\1/' etc/jjazzlab.conf > etc/jjazzlab.conf
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
|
|
install -d %{buildroot}%{_datadir}/jjazzlab
|
|
|
|
|
cp -rp * %{buildroot}%{_datadir}/jjazzlab
|
|
|
|
|
|
|
|
|
|
install -d %{buildroot}%{_bindir}
|
|
|
|
|
ln -s ../share/jjazzlab/bin/jjazzlab %{buildroot}%{_bindir}/jjazzlab
|
|
|
|
|
|
|
|
|
|
install -d %{buildroot}%{_datadir}/applications
|
|
|
|
|
install -D -m0644 %{SOURCE1} %{buildroot}%{_datadir}/applications/jjazzlab.desktop
|
|
|
|
|
|
|
|
|
|
install -D -m0644 %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/jjazzlab.png
|
|
|
|
|
install -D -m0644 %{SOURCE3} %{buildroot}%{_datadir}/soundfonts/JJazzLab-SoundFont.sf2
|
|
|
|
|
|
|
|
|
|
install -d %{buildroot}%{_datadir}/jjazzlab
|
|
|
|
|
cd %{buildroot}%{_datadir}/jjazzlab
|
|
|
|
|
unzip %{SOURCE4}
|
|
|
|
|
mv JJazzLab-Realbook realbook
|
|
|
|
|
|
|
|
|
|
unzip %{SOURCE5}
|
|
|
|
|
mv jjazzlab_user_styles styles
|
|
|
|
|
|
2024-03-04 11:42:13 +01:00
|
|
|
|
rm -rf %{buildroot}%{_datadir}/jjazzlab/platform/modules/lib/{aarch64,x86,riscv64,i386}
|
|
|
|
|
|
2024-01-06 00:18:22 +01:00
|
|
|
|
%clean
|
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%{_bindir}/jjazzlab
|
|
|
|
|
%{_datadir}/applications/jjazzlab.desktop
|
|
|
|
|
%{_datadir}/pixmaps/jjazzlab.png
|
|
|
|
|
%dir %{_datadir}/jjazzlab
|
|
|
|
|
%exclude %{_datadir}/jjazzlab/realbook
|
|
|
|
|
%{_datadir}/jjazzlab/*
|
|
|
|
|
|
|
|
|
|
%files realbook
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%dir %{_datadir}/jjazzlab/realbook
|
|
|
|
|
%{_datadir}/jjazzlab/realbook/*
|
|
|
|
|
|
|
|
|
|
%files -n soundfont-jjazzlab
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%{_datadir}/soundfonts/JJazzLab-SoundFont.sf2
|
|
|
|
|
|
|
|
|
|
%changelog
|
2024-03-04 11:42:13 +01:00
|
|
|
|
* Mon Mar 04 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.2-1mamba
|
|
|
|
|
- update to 4.0.2
|
|
|
|
|
|
|
|
|
|
* Mon Mar 04 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.1-3mamba
|
|
|
|
|
- obsolete linuxband
|
|
|
|
|
|
2024-01-06 00:18:22 +01:00
|
|
|
|
* Sat Jul 08 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.1-2mamba
|
|
|
|
|
- add soundfont and realbook subpackages
|
|
|
|
|
|
|
|
|
|
* Sat Jul 08 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.1-1mamba
|
|
|
|
|
- package created using the webbuild interface
|