55 lines
1.6 KiB
RPMSpec
55 lines
1.6 KiB
RPMSpec
Name: midisport-firmware
|
|
Version: 1.2
|
|
Release: 3mamba
|
|
Summary: Firmware loaders for M-Audio/Midiman USB MIDI and Audio devices
|
|
Group: System/Kernel and Hardware
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://sourceforge.net/projects/usb-midi-fw/
|
|
Source: http://downloads.sourceforge.net/project/usb-midi-fw/midisport-firmware/%{version}/midisport-firmware-%{version}.tar.gz
|
|
Source1: midisport-firmware-udev-rules
|
|
Patch0: %{name}-1.2-udev.patch
|
|
License: GPL, Distributable
|
|
## AUTOBUILDREQ-BEGIN
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: fxload
|
|
Requires: fxload
|
|
|
|
%description
|
|
Firmware loaders for M-Audio/Midiman USB MIDI and Audio devices.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch 0 -p1
|
|
|
|
%build
|
|
%configure
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
install -D -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/udev/rules.d/98-midisport-firmware.rules
|
|
rm -f %{buildroot}%{_sysconfdir}/udev/rules.d/42-midisport-firmware.rules
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_sysconfdir}/udev/rules.d/98-midisport-firmware.rules
|
|
%dir %{_datadir}/usb/maudio
|
|
%{_datadir}/usb/maudio/*.ihx
|
|
%doc LICENSE
|
|
|
|
%changelog
|
|
* Mon Oct 30 2023 Automatic Build System <autodist@mambasoft.it> 1.2-3mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* Mon Oct 30 2023 Automatic Build System <autodist@mambasoft.it> 1.2-2mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* Tue Feb 21 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2-1mamba
|
|
- package created by autospec
|