## START: Set by rpmautospec ## (rpmautospec version 0.8.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 # 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 aa0da7a355b04b1dd8572a94261a0b0c497e1a85 %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 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 Patch1: 0001-fix-config-path.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.19) BuildRequires: pkgconfig(xcb) >= 1.15 BuildRequires: pkgconfig(libxdg-basedir) BuildRequires: pkgconfig(xkbcommon) >= 1.5.0 BuildRequires: pkgconfig(xwayland) >= 22.1.9 # These are hardcoded in the stock config Recommends: chromium Recommends: firefox Recommends: foot %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 # Use chromium instead of google-chrome # sed -i 's/google-chrome/chromium-browser/' etc/wlmaker-state.plist %conf %cmake -Dconfig_OPTIM=ON %build %cmake_build %if %{with docs} %cmake_build --target doc %endif %install %cmake_install # Drop useless example %dnl rm %{buildroot}%{_bindir}/example_toplevel # Relocate desktop files %dnl mkdir %{buildroot}%{_datadir}/applications/ %dnl mv %{buildroot}%{_datadir}/{wlmaker,wlmclock}.desktop %{buildroot}%{_datadir}/applications/ %check %ctest desktop-file-validate %{buildroot}/%{_datadir}/applications/{%{name},%{name}.wlmclock,%{name}.wlmeyes}.desktop %files %license LICENSE %doc README.md %{_bindir}/%{name} %{_bindir}/wlmclock %{_bindir}/wlmeyes %{_sysconfdir}/xdg/%{name}/ %{_datadir}/applications/ %{_datadir}/icons/hicolor/*/apps/ %{_datadir}/wayland-sessions/ %{_datadir}/%{name}/icons/ %if %{with docs} %files doc %license LICENSE %doc %{_vpath_builddir}/doc/html/ %endif %changelog ## START: Generated by rpmautospec * Sat Jan 24 2026 Shawn W Dunn - 0.7-1 - Uncommitted changes * 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