2024-04-02 22:09:21 +03:00
|
|
|
Name: miracle-wm
|
|
|
|
Version: 0.1.0
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: A tiling Wayland compositor based on Mir
|
|
|
|
|
|
|
|
License: GPL-3.0-or-later
|
|
|
|
URL: https://github.com/mattkae/miracle-wm
|
|
|
|
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
BuildRequires: cmake
|
2024-04-11 15:31:43 +03:00
|
|
|
BuildRequires: gcc-c++
|
2024-04-02 22:09:21 +03:00
|
|
|
BuildRequires: pkgconfig(miral)
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
BuildRequires: pkgconfig(yaml-cpp)
|
|
|
|
BuildRequires: pkgconfig(libevdev)
|
|
|
|
BuildRequires: cmake(nlohmann_json) >= 3.2.0
|
|
|
|
BuildRequires: pkgconfig(libnotify)
|
|
|
|
BuildRequires: cmake(gtest)
|
|
|
|
BuildRequires: libxkbcommon-devel
|
2024-04-11 15:31:43 +03:00
|
|
|
BuildRequires: desktop-file-utils
|
2024-04-02 22:09:21 +03:00
|
|
|
|
|
|
|
%description
|
|
|
|
miracle-wm is a Wayland compositor based on Mir. It features a tiling window
|
|
|
|
manager at its core, very much in the style of i3 and sway. The intention is
|
|
|
|
to build a compositor that is flashier and more feature-rich than either of
|
|
|
|
those compositors, like swayfx.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake
|
|
|
|
%cmake_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%cmake_install
|
|
|
|
|
2024-04-11 15:31:43 +03:00
|
|
|
|
|
|
|
%check
|
|
|
|
%{_vpath_builddir}/bin/miracle-wm-tests
|
|
|
|
desktop-file-validate %{buildroot}%{_datadir}/wayland-sessions/miracle-wm.desktop
|
|
|
|
|
|
|
|
|
2024-04-02 22:09:21 +03:00
|
|
|
%files
|
|
|
|
%{_bindir}/miracle-wm
|
|
|
|
%{_bindir}/miracle-wm-sensible-terminal
|
|
|
|
%{_datarootdir}/wayland-sessions/miracle-wm.desktop
|
2024-04-11 15:31:43 +03:00
|
|
|
%license LICENSE
|
2024-04-02 22:09:21 +03:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Mon Apr 01 2024 Matthew Kosarek <matt.kosarek@canonical.com> - 0.1.0-1
|
|
|
|
- Initial version
|