# Global variables for github repository %global commit0 25b76aa0cdcaf6bded5876d6072c5446ec3b93d9 %global gittag0 master %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) Name: ultranova4linux Version: 0.0.%{shortcommit0} Release: 4%{?dist} Summary: userspace Novation Synthesizer driver License: GPLv3 Source0: https://github.com/hansfbaier/%{name}/archive/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz Source1: 92-novation.rules BuildRequires: jack-audio-connection-kit-devel libusb-devel BuildRequires: liblo-devel boost-devel gcc-c++ Requires: bash %description Userspace driver for the Novation Ultranova and Mininova synthesizers %prep %setup -qn %{name}-%{commit0} %build make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%{_bindir} mkdir -p $RPM_BUILD_ROOT/etc/udev/rules.d/ cp ultranova4linux $RPM_BUILD_ROOT/%{_bindir}/ cp %SOURCE1 $RPM_BUILD_ROOT/etc/udev/rules.d/ %files %doc %{_bindir}/ultranova4linux /etc/udev/rules.d/92-novation.rules %changelog * Thu Apr 30 2020 Yann Collette - 0.0.25b76aa0-4 - update for Fedora 32 * Wed Oct 31 2018 L.L.Robinson - 0.0-4.20160101git25b76aa0 - new buildrequires for copr/koji * Mon Jul 18 2016 L.L.Robinson - 0.0-3.20160101git25b76aa0 - put udev ruules in right place * Fri Jan 01 2016 L.L.Robinson - 0.0-2.20160101git25b76aa0 - Update to git: 25b76aa0 * Fri Jan 1 2016 L.L.Robinson -