## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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 # libbase is a utility library from the same upstream that is only used by this # project and is statically linked into the build %global libbase_commit a6c6a27e1f8fa2af3b36e9b2f60dbc0bfa0bcb0e %global libbase_url https://github.com/phkaeser/libbase %bcond docs 1 # wlmclock fails to link against libbase when using gcc %global toolchain clang Name: wlmaker Version: 0.7.1 Release: %autorelease Summary: Wayland compositor inspired by Window Maker License: Apache-2.0 URL: https://github.com/phkaeser/wlmaker Source0: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.gz Source1: %{libbase_url}/archive/%{libbase_commit}/libbase-%{libbase_commit}.tar.gz # Fix Keyboard config for Fedora # Autostart Clock dock app # Apply OS default background # Auto-generate Applications menu # Drop google-chrome from default dock placement, add Firefox Patch1: 0001-default-config.patch # i686: https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} BuildRequires: cmake BuildRequires: bison BuildRequires: clang BuildRequires: desktop-file-utils BuildRequires: flex BuildRequires: hicolor-icon-theme BuildRequires: sed %if %{with docs} BuildRequires: doxygen BuildRequires: plantuml %endif # For libbase BuildRequires: ncurses-devel BuildRequires: pkgconfig(cairo) >= 1.16.0 # For wlmaker BuildRequires: pkgconfig(wayland-client) >= 1.22.0 BuildRequires: pkgconfig(wayland-protocols) >= 1.31 BuildRequires: pkgconfig(wayland-server) >= 1.22.0 BuildRequires: (pkgconfig(wlroots-0.20) or pkgconfig(wlroots-0.19) or pkgconfig(wlroots-0.18)) BuildRequires: pkgconfig(xcb) >= 1.15 BuildRequires: pkgconfig(libxdg-basedir) BuildRequires: pkgconfig(xkbcommon) >= 1.5.0 BuildRequires: pkgconfig(xwayland) >= 22.1.9 Requires: hicolor-icon-theme # These are hardcoded in the stock config Recommends: firefox Recommends: foot Recommends: swaybg Recommends: swaylock Recommends: system-backgrounds-compat Recommends: wdisplays %if %{with docs} Suggests: %{name}-doc = %{version}-%{release} %endif %description Wayland Maker is a Wayland compositor inspired by Window Maker. Key features: - Compositor for windows in stacking mode. - Supports multiple workspaces. - Appearance inspired by Window Maker, following the look and feel of NeXTSTEP. - Easy to use, lightweight, low gimmicks and fast. - Dock and clip, to be extended for dockable apps. %package doc Summary: Developer documentation for %{name} BuildArch: noarch %description doc This package provides additional developer documentation for %{name}. %prep %autosetup -p1 -b 1 # Drop bundled dependencies rm -r dependencies # Ensure libbase can be found; we move instead of symlinking because the build # uses relative paths for the includes and that confuses things rm -r submodules/libbase mv ../libbase-%{libbase_commit}/ submodules/libbase # Do not abort on warnings sed -i 's/-Werror//' CMakeLists.txt submodules/libbase/CMakeLists.txt %if 0%{?rhel} sed -i 's/\.jxl/.png/' etc/Config.plist %endif %conf %cmake -Dconfig_OPTIM=ON %build %cmake_build %if %{with docs} %cmake_build --target doc %endif %install %cmake_install %check %ctest desktop-file-validate %{buildroot}%{_datadir}/applications/{%{name},%{name}.wlmclock,%{name}.wlmcpugraph,%{name}.wlmeyes,%{name}.wlmmemgraph,%{name}.wlmnetgraph}.desktop %files %license LICENSE %doc README.md %{_bindir}/%{name} %{_bindir}/wlmclock %{_bindir}/wlmcpugraph %{_bindir}/wlmeyes %{_bindir}/wlmmemgraph %{_bindir}/wlmnetgraph %{_bindir}/wlmtool %{_sysconfdir}/xdg/%{name}/ %{_datadir}/applications/ %{_datadir}/icons/hicolor/*/apps/* %{_datadir}/wayland-sessions/ %{_datadir}/%{name}/icons/ %if %{with docs} %files doc %license LICENSE %doc CODE_OF_CONDUCT.md CONTRIBUTING.md doc/ROADMAP.md %{_vpath_builddir}/doc/html/ %endif %changelog ## START: Generated by rpmautospec * Wed May 13 2026 Yaakov Selkowitz - 0.7.1-2 - Uncommitted changes * Wed May 13 2026 Shawn W Dunn - 0.7.1-1 - Update to 0.7.1 * Sat Feb 07 2026 Shawn W Dunn - 0.7-1 - Update to 0.7 - Add 0001-fix-config-path.patch to put configs in the correct place - Add 0002-remove-google-chrome.patch to remove Google Chrome and enable Firefox as default browser - Update to libbase-aa0da7a355b04b1dd8572a94261a0b0c497e1a85 - Change Recommends: to firefox, foot, and wdisplays for functionality * Sat Jan 17 2026 Fedora Release Engineering - 0.4.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Fri Jul 25 2025 Fedora Release Engineering - 0.4.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Sun Jan 19 2025 Fedora Release Engineering - 0.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Sun Jan 12 2025 Davide Cavalca - 0.4.1-1 - Update to 0.4.1; Fixes: RHBZ#2295759, RHBZ#2301366 * Sat Jul 20 2024 Fedora Release Engineering - 0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Apr 20 2024 Davide Cavalca - 0.2-1 - Initial import; Fixes: RHBZ#2276172 ## END: Generated by rpmautospec