summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-03-18 11:16:18 +0000
committerCoprDistGit <infra@openeuler.org>2023-03-18 11:16:18 +0000
commite18506f73af6206dd0b436e0215577e09cc7f561 (patch)
treed420b0ea07645a8f38a979bc410d2c515defdb84
parent10eef199a84773f2fc838c60988a07b9cfa16026 (diff)
automatic import of i3lockopeneuler22.09
-rw-r--r--.gitignore2
-rw-r--r--i3lock-2.14.1.tar.xz.asc16
-rw-r--r--i3lock.spec77
-rw-r--r--sources2
4 files changed, 97 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..f78183e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/gpgkey-424E14D703E7C6D43D9D6F364E7160ED4AC8EE1D.gpg
+/i3lock-2.14.1.tar.xz
diff --git a/i3lock-2.14.1.tar.xz.asc b/i3lock-2.14.1.tar.xz.asc
new file mode 100644
index 0000000..e86219c
--- /dev/null
+++ b/i3lock-2.14.1.tar.xz.asc
@@ -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-----
diff --git a/i3lock.spec b/i3lock.spec
new file mode 100644
index 0000000..1c96b0d
--- /dev/null
+++ b/i3lock.spec
@@ -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 11 2023 lichaoran <pkwarcraft@hotmail.com> - 2.14.1
+- Init package
diff --git a/sources b/sources
new file mode 100644
index 0000000..5f8a7b0
--- /dev/null
+++ b/sources
@@ -0,0 +1,2 @@
+52fb206a6533f598d578b07feadb2f71 gpgkey-424E14D703E7C6D43D9D6F364E7160ED4AC8EE1D.gpg
+33d4bc8256a1566fbac911e405e53fdd i3lock-2.14.1.tar.xz