## START: Set by rpmautospec ## (rpmautospec version 0.7.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 Name: hyprpaper Version: 0.7.2 Release: %autorelease Summary: Blazing fast wayland wallpaper utility with IPC controls # LICENSE: BSD-3-Clause # protocols/wlr-layer-shell-unstable-v1.xml: HPND-sell-variant License: BSD-3-Clause AND HPND-sell-variant URL: https://github.com/hyprwm/hyprpaper Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: systemd-rpm-macros BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(glesv2) BuildRequires: pkgconfig(hyprgraphics) BuildRequires: pkgconfig(hyprlang) BuildRequires: pkgconfig(hyprutils) BuildRequires: pkgconfig(hyprwayland-scanner) BuildRequires: pkgconfig(libjpeg) BuildRequires: pkgconfig(libjxl_cms) BuildRequires: pkgconfig(libjxl_threads) BuildRequires: pkgconfig(libjxl) BuildRequires: pkgconfig(libmagic) BuildRequires: pkgconfig(libwebp) BuildRequires: pkgconfig(pango) BuildRequires: pkgconfig(pangocairo) BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-protocols) %description Hyprpaper is a blazing fast wallpaper utility for Hyprland with the ability to dynamically change wallpapers through sockets. It will work on all wlroots-based compositors, though. %prep %autosetup -p1 sed '/hyprpaper.service/s/${CMAKE_INSTALL_LIBDIR}/lib/' -i CMakeLists.txt %build %cmake %cmake_build %install %cmake_install %post %systemd_user_post %{name}.service %preun %systemd_user_preun %{name}.service %files %license LICENSE %doc README.md %{_bindir}/%{name} %{_userunitdir}/%{name}.service %changelog ## START: Generated by rpmautospec * Sat Dec 14 2024 John Doe - 0.7.2-1 - Uncommitted changes ## END: Generated by rpmautospec