## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %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: swaylock Version: 1.7 Release: %{autorelease} Summary: Screen locker for Wayland License: MIT URL: https://github.com/swaywm/swaylock Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.gz Source1: %{url}/releases/download/%{version}/%{name}-%{version}.tar.gz.sig # gpg2 --export --armor --export-options export-minimal 34FF9526CFEF0E97A340E2E40FDE7BE0E88F5E48 >gpgkey-E88F5E48.asc Source2: gpgkey-E88F5E48.asc # Older versions were part of the sway package Conflicts: sway < 1.0 BuildRequires: gcc BuildRequires: gnupg2 BuildRequires: meson >= 0.59.0 BuildRequires: pam-devel BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(gdk-pixbuf-2.0) BuildRequires: pkgconfig(wayland-client) >= 1.20.0 BuildRequires: pkgconfig(wayland-protocols) >= 1.25 BuildRequires: pkgconfig(wayland-scanner) BuildRequires: pkgconfig(xkbcommon) BuildRequires: scdoc %description swaylock is a screen locking utility for Wayland compositors. %prep %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %autosetup %build %meson %meson_build %install %meson_install %files %license LICENSE %doc README.md %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* %config(noreplace) %{_sysconfdir}/pam.d/%{name} # Co-own completion directories %dir %{_datadir}/bash-completion %dir %{_datadir}/bash-completion/completions %{_datadir}/bash-completion/completions/%{name} %dir %{_datadir}/zsh %dir %{_datadir}/zsh/site-functions %{_datadir}/zsh/site-functions/_%{name} %dir %{_datadir}/fish %dir %{_datadir}/fish/vendor_completions.d %{_datadir}/fish/vendor_completions.d/%{name}.fish %changelog * Sat Dec 03 2022 Aleksei Bavshin 1.7-1 - Update to 1.7 (#2148746) * Sat Jul 23 2022 Fedora Release Engineering 1.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Mar 08 2022 Jan Staněk 1.6-1 - Update to version 1.6 - Remove patches already included upstream - Verify source signature on build * Sun Feb 27 2022 Aleksei Bavshin - 1.5-10 - Add patch for crash on keyboard.modifiers event * Sat Jan 22 2022 Fedora Release Engineering - 1.5-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1.5-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Jul 15 2021 Joe Walker - 1.5-7 - Add patch to use fclose vice free * Wed Jan 27 2021 Fedora Release Engineering - 1.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Nov 13 2020 Aleksei Bavshin - 1.5-5 - Add patch with fix for memory corruption issue * Wed Jul 29 2020 Fedora Release Engineering - 1.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jun 29 2020 Fabio Alessandro Locati - 1.5-3 - Fix #1806110 * Fri Jan 31 2020 Fedora Release Engineering - 1.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jan 23 2020 Jan Staněk - 1.5-1 - Upgrade to version 1.5 (https://github.com/swaywm/swaylock/releases/tag/1.5) * Sat Jul 27 2019 Fedora Release Engineering - 1.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon May 06 2019 Jan Staněk - 1.4-1 - Upgrade to version 1.4 (https://github.com/swaywm/swaylock/releases/tag/1.4) * Mon Mar 18 2019 Jan Staněk - 1.3-1 - Initial package import