update to 2.0.4
update source, bump epoch, closes #1 [release 2.0.4-1mamba;Sat Nov 16 2024]
This commit is contained in:
parent
04a3cbca6d
commit
135bf41518
@ -1,27 +1,19 @@
|
|||||||
Name: libportmidi
|
Name: libportmidi
|
||||||
Version: 236
|
Epoch: 1
|
||||||
Release: 2mamba
|
Version: 2.0.4
|
||||||
|
Release: 1mamba
|
||||||
Summary: A library supporting real-time input and output of MIDI data using a system-independent interface
|
Summary: A library supporting real-time input and output of MIDI data using a system-independent interface
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: https://github.com/mixxxdj/portmidi
|
URL: https://github.com/PortMidi/portmidi
|
||||||
Source: https://github.com/mixxxdj/portmidi.git/%{version}/portmidi-%{version}.tar.bz2
|
Source: https://github.com/PortMidi/portmidi.git/v%{version}/portmidi-%{version}.tar.bz2
|
||||||
#Source: http://downloads.sourceforge.net/project/portmedia/portmidi/%{version}/portmidi-src-%{version}.zip
|
|
||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libalsa-devel
|
BuildRequires: libalsa-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
%ifarch %{ix86} arm
|
|
||||||
Provides: libporttime.so
|
|
||||||
Provides: libportmidi.so
|
|
||||||
%endif
|
|
||||||
%ifarch x86_64 aarch64
|
|
||||||
Provides: libporttime.so()(64bit)
|
|
||||||
Provides: libportmidi.so()(64bit)
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
PortMidi is a library for software developers. It supports real-time input and output of MIDI data using a system-independent interface. PortMidi runs on Windows (using MME), Macintosh (using CoreMIDI), and Linux (using ALSA).
|
PortMidi is a library for software developers. It supports real-time input and output of MIDI data using a system-independent interface. PortMidi runs on Windows (using MME), Macintosh (using CoreMIDI), and Linux (using ALSA).
|
||||||
@ -39,43 +31,23 @@ This package contains static libraries and header files needed for development.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n portmidi-%{version}
|
%setup -q -n portmidi-%{version}
|
||||||
#sed -i "s|/usr/local|/usr|" \
|
|
||||||
# pm_common/CMakeLists.txt \
|
|
||||||
# pm_dylib/CMakeLists.txt \
|
|
||||||
# pm_java/CMakeLists.txt
|
|
||||||
|
|
||||||
sed -i "s|lib/cmake/PortMidi|%{_lib}/cmake/PortMidi|" CMakeLists.txt
|
sed -i "s|lib/cmake/PortMidi|%{_lib}/cmake/PortMidi|" CMakeLists.txt
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake -d build
|
%cmake -d build
|
||||||
|
|
||||||
# -DCMAKE_ARCHIVE_OUTPUT_DIRECTORY:STRING=%{_builddir}/portmidi/Release \
|
|
||||||
# -DCMAKE_LIBRARY_OUTPUT_DIRECTORY:STRING=%{_builddir}/portmidi/Release \
|
|
||||||
# -DCMAKE_RUNTIME_OUTPUT_DIRECTORY:STRING=%{_builddir}/portmidi/Release
|
|
||||||
|
|
||||||
#sed -i "s|pm_java/pm_java|pm_java|" pm_java/CMakeFiles/pmdefaults_target.dir/build.make
|
|
||||||
|
|
||||||
%make
|
%make
|
||||||
#-j1
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall -C build
|
%makeinstall -C build
|
||||||
#LIBRARY_DESTINATION=%{_libdir}
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libportmidi.so.*
|
%{_libdir}/libportmidi.so.*
|
||||||
%{_libdir}/libporttime.so.*
|
|
||||||
%{_libdir}/libportmidi.so
|
|
||||||
%{_libdir}/libporttime.so
|
|
||||||
%doc license.txt
|
%doc license.txt
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
@ -83,11 +55,16 @@ sed -i "s|lib/cmake/PortMidi|%{_lib}/cmake/PortMidi|" CMakeLists.txt
|
|||||||
%{_includedir}/pmutil.h
|
%{_includedir}/pmutil.h
|
||||||
%{_includedir}/portmidi.h
|
%{_includedir}/portmidi.h
|
||||||
%{_includedir}/porttime.h
|
%{_includedir}/porttime.h
|
||||||
|
%{_libdir}/libportmidi.so
|
||||||
%{_libdir}/pkgconfig/portmidi.pc
|
%{_libdir}/pkgconfig/portmidi.pc
|
||||||
%dir %{_libdir}/cmake/PortMidi
|
%dir %{_libdir}/cmake/PortMidi
|
||||||
%{_libdir}/cmake/PortMidi/PortMidi*.cmake
|
%{_libdir}/cmake/PortMidi/PortMidi*.cmake
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Nov 16 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.4-1mamba
|
||||||
|
- update to 2.0.4
|
||||||
|
- update source, bump epoch, closes #1
|
||||||
|
|
||||||
* Sun Oct 17 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 236-2mamba
|
* Sun Oct 17 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 236-2mamba
|
||||||
- provide legacy libportmidi.so and libporttime.so
|
- provide legacy libportmidi.so and libporttime.so
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user