diff --git a/rtmidi.spec b/rtmidi.spec index 77ef1e8..c93aaf9 100644 --- a/rtmidi.spec +++ b/rtmidi.spec @@ -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 3.0.0-1mamba +- update to 3.0.0 + * Wed May 28 2014 Automatic Build System 2.1.0-1mamba - automatic update by autodist