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