%global debug_package %{nil} # Global variables for github repository %global commit0 6797e649d0e628038b9d44f11f5037fbc3d5c720 %global gittag0 master %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) Name: geonkick Version: 1.9.0 Release: 1%{?dist} Summary: Drum Software Synthesizer URL: https://gitlab.com/geontime/geonkick Group: Applications/Multimedia License: GPLv2+ Source0: https://gitlab.com/geontime/%{name}/-/archive/v%{version}/geonkick-v%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gcc gcc-c++ BuildRequires: alsa-lib-devel BuildRequires: jack-audio-connection-kit-devel BuildRequires: lv2-devel BuildRequires: libsndfile-devel BuildRequires: rapidjson-devel BuildRequires: cmake BuildRequires: desktop-file-utils BuildRequires: redkite BuildRequires: libX11-devel BuildRequires: cairo-devel %description Geonkick is a synthesizer that can synthesize elements of percussion. The most basic examples are: kick drums, snares, hit-hats, shakers, claps, steaks. %prep %setup -qn %{name}-v%{version} sed -i -e "s|\${CMAKE_INSTALL_PREFIX}/lib|\${CMAKE_INSTALL_PREFIX}/%{_lib}|g" plugin/lv2/CMakeLists.txt %build mkdir build cd build %cmake -DCMAKE_BUILD_TYPE=RELEASE \ -DCMAKE_CXX_FLAGS="-I/usr/include/redkite" \ -DCMAKE_C_FLAGS="-I/usr/include/redkite" \ .. make DESTDIR=%{buildroot} %install cd build make DESTDIR=%{buildroot} install %post touch --no-create %{_datadir}/mime/packages &>/dev/null || : update-desktop-database &> /dev/null || : %postun update-desktop-database &> /dev/null || : if [ $1 -eq 0 ] ; then update-mime-database %{_datadir}/mime &> /dev/null || : fi %posttrans /usr/bin/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : %files %doc LICENSE README.md %{_bindir}/* %{_libdir}/* %{_datadir}/* %changelog * Mon Oct 7 2019 Yann Collette - 1.9.0-1 - update to 1.9.0 * Sun Aug 11 2019 Yann Collette - 1.8.1-1 - update to 1.8.1 * Fri Aug 9 2019 Yann Collette - 1.8.0-1 - update to 1.8.0 * Wed Jun 5 2019 Yann Collette - 1.6.0-1 - update to 1.6.0 * Thu May 23 2019 Yann Collette - 1.5.3-1 - update to 1.5.3 * Wed May 22 2019 Yann Collette - 1.5.2-1 - update to 1.5.2 * Tue May 21 2019 Yann Collette - 1.5.1-1 - update to 1.5.1 * Mon May 20 2019 Yann Collette - 1.5-1 - initial version of the spec file