%global forgeurl https://github.com/tenacityteam/portsmf %global tag 239 %forgemeta Name: tenacity-portsmf Version: 0 Release: 1%{?dist} Summary: Tenacity fork of the portable standard MIDI library License: MIT URL: %{forgeurl} Source0: %{forgesource} BuildRequires: cmake BuildRequires: gcc BuildRequires: gcc-c++ %description Fork of the portable standard MIDI library required for building the Tenacity editor. %package devel Summary: portsmf - development environment Requires: %{name}%{?_isa} = %{version}-%{release} %description devel This package provides the portsmf headers. %prep %forgesetup %build %cmake %cmake_build %install %cmake_install # Clean up unwanted cmake leftovers rm -rf %{buildroot}/usr/lib/cmake/PortSMF %files %license license.txt %{_libdir}/libportSMF.so %{_libdir}/libportSMF.so.1 %{_libdir}/libportSMF.so.1.0.236 %files devel %{_includedir}/portsmf %{_libdir}/pkgconfig/portSMF.pc %changelog * Sat Oct 9 2021 Brandon Nielsen - 0-1.20211009git239 - Initial specfile