package created by silvan using the webbuild interface [release 2.0.1-1mamba;Thu Aug 01 2013]
This commit is contained in:
parent
8f5a3768f7
commit
7853e32555
@ -1,2 +1,4 @@
|
||||
# rtmidi
|
||||
|
||||
RtMidi is a set of C++ classes that provide a common API for realtime MIDI input/output across Linux (ALSA & Jack), Macintosh OS X (CoreMidi) and Windows (Multimedia & Kernel Streaming).
|
||||
|
||||
|
79
rtmidi.spec
Normal file
79
rtmidi.spec
Normal file
@ -0,0 +1,79 @@
|
||||
Name: rtmidi
|
||||
Version: 2.0.1
|
||||
Release: 1mamba
|
||||
Summary: A set of C++ classes that provide a common API for realtime MIDI input/output
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://www.music.mcgill.ca/~gary/rtmidi/
|
||||
Source: http://www.music.mcgill.ca/~gary/rtmidi/release/rtmidi-%{version}.tar.gz
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libalsa-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libjack-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
RtMidi is a set of C++ classes that provide a common API for realtime MIDI input/output across Linux (ALSA & Jack), Macintosh OS X (CoreMidi) and Windows (Multimedia & Kernel Streaming).
|
||||
|
||||
%package -n lib%{name}
|
||||
Group: System/Libraries
|
||||
Summary: A library that provides a common API for realtime MIDI input/output
|
||||
|
||||
%description -n lib%{name}
|
||||
RtMidi is a set of C++ classes that provide a common API for realtime MIDI input/output across Linux (ALSA & Jack), Macintosh OS X (CoreMidi) and Windows (Multimedia & Kernel Streaming).
|
||||
|
||||
%package -n lib%{name}-devel
|
||||
Group: Development/Libraries
|
||||
Summary: Development files for %{name}
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description -n lib%{name}-devel
|
||||
This package contains libraries and header files for developing applications that use %{name}.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--with-jack \
|
||||
--with-alsa
|
||||
|
||||
%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 RtError.h; do
|
||||
install -D -m0644 $f %{buildroot}%{_includedir}/$f
|
||||
done
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post -n lib%{name} -p /sbin/ldconfig
|
||||
%postun -n lib%{name} -p /sbin/ldconfig
|
||||
|
||||
%files -n lib%{name}
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/librtmidi.so.*
|
||||
|
||||
%files -n lib%{name}-devel
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/rtmidi-config
|
||||
%{_includedir}/RtError.h
|
||||
%{_includedir}/RtMidi.h
|
||||
%{_libdir}/librtmidi.so
|
||||
|
||||
%changelog
|
||||
* Thu Aug 01 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.1-1mamba
|
||||
- package created by silvan using the webbuild interface
|
Loading…
Reference in New Issue
Block a user