## 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: hyprland-qt-support Version: 0.1.0 Release: %autorelease Summary: A Qt6 Qml style provider for hypr* apps License: BSD-3-Clause URL: https://github.com/hyprwm/hyprland-qt-support Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz Patch: cmake.patch # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: qt6-rpm-macros BuildRequires: cmake(Qt6Quick) BuildRequires: cmake(Qt6QuickControls2) BuildRequires: cmake(Qt6Qml) BuildRequires: pkgconfig(hyprlang) %description %{summary}. %prep %autosetup -p1 %build %cmake -DINSTALL_QMLDIR=%{_qt6_qmldir} %cmake_build %install %cmake_install %files %license LICENSE %doc README.md %{_libdir}/libhyprland-quick-style-impl.so %{_libdir}/libhyprland-quick-style.so %{_qt6_qmldir}/org/hyprland/ %changelog ## START: Generated by rpmautospec * Fri Jan 10 2025 John Doe - 0.1.0-1 - Uncommitted changes ## END: Generated by rpmautospec