## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: hyprlang Version: 0.6.0 Release: %autorelease Summary: The official implementation library for the hypr config language License: LGPL-3.0-only URL: https://github.com/hyprwm/hyprlang Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: pkgconfig(hyprutils) %description %{summary}. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Development files for %{name}. %prep %autosetup -p1 %build %cmake %cmake_build %install %cmake_install %check %ctest %files %license LICENSE %doc README.md %{_libdir}/libhyprlang.so.2 %{_libdir}/libhyprlang.so.%{version} %files devel %{_includedir}/hyprlang.hpp %{_libdir}/libhyprlang.so %{_libdir}/pkgconfig/hyprlang.pc %changelog ## START: Generated by rpmautospec * Sat Dec 14 2024 John Doe - 0.6.0-1 - Uncommitted changes ## END: Generated by rpmautospec