update to 3.0.0 [release 3.0.0-1mamba;Sun Mar 24 2019]

This commit is contained in:
Silvan Calarco 2024-01-05 17:32:03 +01:00
parent c2f959e6f8
commit 8e32768004

View File

@ -1,5 +1,5 @@
Name: rtmidi Name: rtmidi
Version: 2.1.0 Version: 3.0.0
Release: 1mamba Release: 1mamba
Summary: A set of C++ classes that provide a common API for realtime MIDI input/output Summary: A set of C++ classes that provide a common API for realtime MIDI input/output
Group: System/Libraries Group: System/Libraries
@ -44,18 +44,22 @@ This package contains libraries and header files for developing applications tha
%build %build
%configure \ %configure \
--with-jack \ --with-jack \
--with-alsa --with-alsa \
LDFLAGS="-L%{_libdir}"
%make -j1 %make -j1
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d -m0755 %{buildroot}%{_libdir}
cp -P librtmidi.so* %{buildroot}%{_libdir}/ %makeinstall
install -D -m0755 rtmidi-config %{buildroot}%{_bindir}/rtmidi-config
for f in RtMidi.h; do #install -d -m0755 %{buildroot}%{_libdir}
install -D -m0644 $f %{buildroot}%{_includedir}/$f #cp -P librtmidi.so* %{buildroot}%{_libdir}/
done #install -D -m0755 rtmidi-config %{buildroot}%{_bindir}/rtmidi-config
#for f in RtMidi.h; do
#install -D -m0644 $f %{buildroot}%{_includedir}/$f
#done
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -69,11 +73,17 @@ done
%files -n lib%{name}-devel %files -n lib%{name}-devel
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/rtmidi-config %dir %{_includedir}/rtmidi
%{_includedir}/RtMidi.h %{_includedir}/rtmidi/*
%{_libdir}/librtmidi.a
%{_libdir}/librtmidi.la
%{_libdir}/librtmidi.so %{_libdir}/librtmidi.so
%{_libdir}/pkgconfig/rtmidi.pc
%changelog %changelog
* Sun Mar 24 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.0-1mamba
- update to 3.0.0
* Wed May 28 2014 Automatic Build System <autodist@mambasoft.it> 2.1.0-1mamba * Wed May 28 2014 Automatic Build System <autodist@mambasoft.it> 2.1.0-1mamba
- automatic update by autodist - automatic update by autodist