moved library to lib* packages; added debug package [release 2.2.0-2mamba;Sun Apr 18 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 22:27:51 +01:00
parent a71ca7446e
commit c5545ca9fa

View File

@ -1,6 +1,6 @@
Name: fluidsynth
Version: 2.1.8
Release: 1mamba
Version: 2.2.0
Release: 2mamba
Summary: A real-time software synthesizer based on the SoundFont 2 specifications
Group: System/Multimedia
Vendor: openmamba
@ -8,20 +8,23 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.fluidsynth.org/
Source: https://github.com/FluidSynth/fluidsynth.git/v%{version}/fluidsynth-%{version}.tar.bz2
#Source: http://downloads.sourceforge.net/project/fluidsynth/fluidsynth-%{version}/fluidsynth-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libSDL2-devel
BuildRequires: libalsa-devel
BuildRequires: libdbus-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libgomp-devel
BuildRequires: libinstpatch-devel
BuildRequires: libjack-devel
BuildRequires: liblash-devel
BuildRequires: libncurses-devel
BuildRequires: libportaudio-devel
BuildRequires: libpulseaudio-devel
BuildRequires: libreadline-devel
BuildRequires: libsndfile-devel
BuildRequires: libstdc++6-devel
BuildRequires: libsystemd-devel
BuildRequires: libuuid-devel
BuildRequires: libxml2-devel
## AUTOBUILDREQ-END
@ -30,19 +33,32 @@ BuildRequires: ladspa-devel >= 1.12
BuildRequires: libpulseaudio-devel >= 4.0
# alsa-utils-midi required for snd-seq-* module loading
Requires: alsa-utils-midi
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
FluidSynth is a real-time software synthesizer based on the SoundFont 2 specifications. FluidSynth can read MIDI events from a MIDI input device and render them to an audio device using SoundFont instruments. SoundFont files are composed of digital audio "samples" and additional instrument parameters. These files can be created or downloaded off the Internet. FluidSynth also has support for controlling effects in real time and can play MIDI files.
%package devel
%package -n lib%{name}
Summary: Shared library provided by %{name}
Group: System/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}
FluidSynth is a real-time software synthesizer based on the SoundFont 2 specifications. FluidSynth can read MIDI events from a MIDI input device and render them to an audio device using SoundFont instruments. SoundFont files are composed of digital audio "samples" and additional instrument parameters. These files can be created or downloaded off the Internet. FluidSynth also has support for controlling effects in real time and can play MIDI files.
This package contains the %{name} shared library.
%package -n lib%{name}-devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: %{name}-devel
Obsoletes: %{name}-devel <= 2.2.0-1mamba
%description devel
%description -n lib%{name}-devel
FluidSynth is a real-time software synthesizer based on the SoundFont 2 specifications. FluidSynth can read MIDI events from a MIDI input device and render them to an audio device using SoundFont instruments. SoundFont files are composed of digital audio "samples" and additional instrument parameters. These files can be created or downloaded off the Internet. FluidSynth also has support for controlling effects in real time and can play MIDI files.
This package contains static libraries and header files needed for development.
This package contains static libraries and header files need for development.
%debug_package
%prep
%setup -q
@ -63,14 +79,20 @@ This package contains static libraries and header files need for development.
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/fluidsynth
%{_libdir}/libfluidsynth.so.*
%{_mandir}/man1/fluidsynth.1*
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libfluidsynth.so.*
%doc AUTHORS LICENSE
%files devel
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_includedir}/*.h
%{_includedir}/fluidsynth/*.h
@ -79,6 +101,12 @@ This package contains static libraries and header files need for development.
%doc ChangeLog THANKS TODO
%changelog
* Sun Apr 18 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.0-2mamba
- moved library to lib* packages; added debug package
* Tue Apr 06 2021 Automatic Build System <autodist@mambasoft.it> 2.2.0-1mamba
- automatic version update by autodist
* Tue Mar 16 2021 Automatic Build System <autodist@mambasoft.it> 2.1.8-1mamba
- automatic version update by autodist