Files
HyprlandRPM/hyprutils.spec
Eriq Taing f0eeceba65
Some checks failed
Build hyprutils / Build and push image (push) Failing after 2m26s
Update hyprutils.spec
2025-12-09 17:09:25 -05:00

52 lines
991 B
RPMSpec

Name: hyprutils
Version: 0.11.0
Release: %autorelease
Summary: Hyprland utilities library used across the ecosystem
License: BSD-3-Clause
URL: https://github.com/hyprwm/hyprutils
Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
ExcludeArch: %{ix86}
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: pkgconfig(pixman-1)
%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}/lib%{name}.so.%{version}
%{_libdir}/lib%{name}.so.9
%files devel
%{_includedir}/%{name}/
%{_libdir}/lib%{name}.so
%{_libdir}/pkgconfig/%{name}.pc
%changelog
%autochangelog