114 lines
3.7 KiB
RPMSpec
114 lines
3.7 KiB
RPMSpec
Name: jjazzlab-bin
|
||
Version: 4.0.2
|
||
Release: 1mamba
|
||
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>
|
||
URL: https://www.jjazzlab.org/
|
||
Source: https://github.com/jjazzboss/JJazzLab/releases/download/%{version}/JJazzLab-%{version}-linux-x64.tar.xz
|
||
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
|
||
BuildRequires: java-openjdk11-runtime
|
||
## AUTOBUILDREQ-END
|
||
Requires: fluidsynth
|
||
Requires: java-runtime
|
||
Obsoletes: linuxband <= 12.02.1-1mamba
|
||
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
|
||
%setup -q -n JJazzLab-%{version}
|
||
# 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
|
||
|
||
rm -rf %{buildroot}%{_datadir}/jjazzlab/platform/modules/lib/{aarch64,x86,riscv64,i386}
|
||
|
||
%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
|
||
* 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
|
||
|
||
* 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
|