i586: removed requirement for soundfont-2rock9; other archs: convert to Recommends [release 1.0.2-2mamba;Sat Jan 11 2025]

This commit is contained in:
Silvan Calarco 2025-01-12 10:29:19 +01:00
parent 1a1f3158f5
commit 808e63f2d3

View File

@ -1,6 +1,6 @@
Name: qsynth Name: qsynth
Version: 1.0.2 Version: 1.0.2
Release: 1mamba Release: 2mamba
Summary: A fluidsynth GUI front-end application written in C++ around the Qt3 toolkit Summary: A fluidsynth GUI front-end application written in C++ around the Qt3 toolkit
Group: Graphical Desktop/Applications/Multimedia Group: Graphical Desktop/Applications/Multimedia
Vendor: openmamba Vendor: openmamba
@ -12,22 +12,25 @@ Patch3: qsynth-0.9.6-default_alsa.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libQt6Core
BuildRequires: libQt6Gui
BuildRequires: libQt6Network
BuildRequires: libQt6Widgets
BuildRequires: libfluidsynth-devel BuildRequires: libfluidsynth-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libglvnd-devel BuildRequires: libglvnd-devel
BuildRequires: libpipewire-devel BuildRequires: libpipewire-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
BuildRequires: qt6-qtbase-devel
BuildRequires: qt6-qtsvg-devel BuildRequires: qt6-qtsvg-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
Requires: fluidsynth >= 1.0.5 Requires: fluidsynth >= 1.0.5
Requires: soundfont-2rock9 %ifnarch %{ix86}
Recommends: soundfont-2rock9
%endif
%description %description
QSynth is a fluidsynth GUI front-end application written in C++ around the Qt3 toolkit using Qt Designer. Eventually it may evolve into a softsynth management application allowing the user to control and manage a variety of command line softsynth but for the moment it wraps the excellent FluidSynth. QSynth is a fluidsynth GUI front-end application written in C++ around the Qt3 toolkit using Qt Designer. Eventually it may evolve into a softsynth management application allowing the user to control and manage a variety of command line softsynth but for the moment it wraps the excellent FluidSynth.
%debug_package
%prep %prep
%setup -q %setup -q
%patch 3 -p1 %patch 3 -p1
@ -44,18 +47,6 @@ QSynth is a fluidsynth GUI front-end application written in C++ around the Qt3 t
%clean %clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
%post
if [ $1 -ge 1 ]; then
[ -x %{_bindir}/gtk-update-icon-cache ] && %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
fi
:
%postun
if [ $1 -eq 0 ]; then
[ -x %{_bindir}/gtk-update-icon-cache ] && %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
fi
:
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/qsynth %{_bindir}/qsynth
@ -79,6 +70,9 @@ fi
%doc LICENSE %doc LICENSE
%changelog %changelog
* Sat Jan 11 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.2-2mamba
- i586: removed requirement for soundfont-2rock9; other archs: convert to Recommends
* Fri Oct 04 2024 Automatic Build System <autodist@openmamba.org> 1.0.2-1mamba * Fri Oct 04 2024 Automatic Build System <autodist@openmamba.org> 1.0.2-1mamba
- automatic version update by autodist - automatic version update by autodist