File hypr.spec of Package hypr
#
# spec file for package hypr
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: hypr
Version: 1.1.4
Release: 0
Summary: Dynamic tiling window manager
License: BSD-3-Clause
URL: https://github.com/hyprwm/Hypr
Source0: https://github.com/hyprwm/Hypr/archive/refs/tags/1.1.4.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: gcc-c++ >= 11
BuildRequires: git
BuildRequires: jq
BuildRequires: ninja
BuildRequires: pkgconfig
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gtkmm-3.0)
BuildRequires: pkgconfig(harfbuzz)
BuildRequires: pkgconfig(xcb-atom)
BuildRequires: pkgconfig(xcb-cursor)
BuildRequires: pkgconfig(xcb-ewmh)
BuildRequires: pkgconfig(xcb-icccm)
BuildRequires: pkgconfig(xcb-keysyms)
BuildRequires: pkgconfig(xcb-randr)
BuildRequires: pkgconfig(xcb-xinerama)
Requires: xmodmap
%description
Hypr is a dynamic tiling window manager for X
%prep
%autosetup -p1 -n Hypr-%{version}
%build
%cmake
%cmake_build
%install
install -D -m0755 build/Hypr %{buildroot}%{_bindir}/Hypr
%files
%license LICENSE
%doc README.md
%{_bindir}/Hypr
%changelog