initial package

Signed-off-by: waaagh <pkwarcraft@hotmail.com>
This commit is contained in:
waaagh 2023-07-31 07:04:33 +00:00
parent d88211bfdb
commit dd6b2e8fd7
4 changed files with 93 additions and 0 deletions

Binary file not shown.

BIN
i3lock-2.14.1.tar.xz Normal file

Binary file not shown.

16
i3lock-2.14.1.tar.xz.asc Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEQk4U1wPnxtQ9nW82TnFg7UrI7h0FAmKx5/MACgkQTnFg7UrI
7h266BAAhRJ32gs3FMtb13L4KJxlzcdfxgS8OxpRS8nTN88dQgsQwziO+bPxzyqr
1WaBw676gZR01aBopqmsCZrQemSYI9pOzHCe6SLvnzphe+CFzdUOtEMbdLsx/EFW
ElRYFS+JqgJRTBeObRB2GalnYeK8fQ4qGphwxoE42gLFq66aOjRRiqvleVCXH5Vp
lId7EO31iXM/K0xE0UP4yYWOTiMd2IN8e8XP/KtlUFy2Ide4OCR4/fiKCrJnhmo2
we85XltC6aiPezmg6yghwHaveMXR7C3ciRVoGawUy7NKoi54XHgRIQjKf42ysF/z
4ix39hJc5wNJfR/zJlMMxnrEs9zTqVuC0K2ssK5Kt91fG/DTGe6pHjuuBFKpCXb6
5XlxcEDt2ZZKBkS4qpPYIjqP6gaOv0DX57Nu9I4T9Bmc2yweD1Y77tXxTlsBIOCU
Dsn9FqE68tg5R875afuQDDQsyab4+KrKtrkXkHNPsEC/Sn5SB/6Rs6AM7hki4eCC
GgR3mym1uQBDAsUw/lqYi+0WSfFqI8+ZTBLBCdO1wS5hM6wT0QbM3p5/0Hv2mGc0
wWv2kcGOA25J0EdymNe3cewiQxJQvghItrgW7eQq3NmKOGSyG64EVEXJNuIIssBo
bHtPIXt1vXXArunmizTvzeW/uJIaEDPieEQ4vfZcuKGt2lv8v9g=
=qkg9
-----END PGP SIGNATURE-----

77
i3lock.spec Normal file
View File

@ -0,0 +1,77 @@
Name: i3lock
Version: 2.14.1
Release: 1
Summary: Simple X display locker like slock
License: MIT
URL: https://i3wm.org/%{name}/
Source0: %{URL}/%{name}-%{version}.tar.xz
Source1: %{URL}/%{name}-%{version}.tar.xz.asc
# Michael Stapelberg's GPG key:
Source2: gpgkey-424E14D703E7C6D43D9D6F364E7160ED4AC8EE1D.gpg
BuildRequires: gcc
BuildRequires: meson >= 0.45
# from meson.build
BuildRequires: pkg-config
BuildRequires: pkgconfig(xcb)
BuildRequires: pkgconfig(xcb-xkb)
BuildRequires: pkgconfig(xcb-xinerama)
BuildRequires: pkgconfig(xcb-randr)
BuildRequires: pkgconfig(xcb-image)
BuildRequires: pkgconfig(xcb-event)
BuildRequires: pkgconfig(xcb-util)
BuildRequires: pkgconfig(xcb-atom)
BuildRequires: pkgconfig(xcb-xrm)
BuildRequires: pkgconfig(xkbcommon) >= 0.5.0
BuildRequires: pkgconfig(xkbcommon-x11) >= 0.5.0
BuildRequires: pkgconfig(cairo) >= 1.14.4
# these don't provide pkg-config files
BuildRequires: libev-devel
BuildRequires: pam-devel
# gpg verification
BuildRequires: gnupg2
BuildRequires: make
%description
i3lock is a simple screen locker like slock. After starting it, you will see a
white screen (you can configure the color/an image). You can return to your
screen by entering your password.
Many little improvements have been made to i3lock over time:
- i3lock forks, so you can combine it with an alias to suspend to RAM (run
"i3lock && echo mem > /sys/power/state" to get a locked screen after waking up
your computer from suspend to RAM)
- You can specify either a background color or a PNG image which will be
displayed while your screen is locked.
- You can specify whether i3lock should bell upon a wrong password.
- i3lock uses PAM and therefore is compatible with LDAP etc. On OpenBSD i3lock
uses the bsd_auth(3) framework.
%prep
gpg --import '%{SOURCE2}'
gpg --verify '%{SOURCE1}' '%{SOURCE0}'
%autosetup -p1
%build
%meson
%meson_build
%install
%meson_install
%files
%doc CHANGELOG README*
%license LICENSE
%{_bindir}/%{name}
%{_sysconfdir}/pam.d/%{name}
%{_mandir}/man1/i3lock.1*
%changelog
* Fri Feb 10 2023 lichaoran <pkwarcraft@hotmail.com> - 2.14.1-1
- Init package