Hi there,

 I've prepared spec file to build i3lock [1]. This is my first spec file, so
please review it carefully. The software requires suid to be able to verify
password provided by user.

[1] - https://i3wm.org/i3lock/

Summary:        improved screen locker
Name:           i3lock
Version:        2.14.1
Release:        1
License:        BSD
Group:          Applications
Source0:        https://i3wm.org/i3lock/%{name}-%{version}.tar.xz
# Source0-md5:  33d4bc8256a1566fbac911e405e53fdd
URL:            https://i3wm.org/i3lock/
BuildRequires:  cairo-devel
BuildRequires:  libev-devel
BuildRequires:  libxcb-devel
BuildRequires:  meson >= 0.45.0
BuildRequires:  ninja
BuildRequires:  pam-devel
BuildRequires:  pkgconfig
BuildRequires:  xcb-util-devel
BuildRequires:  xcb-util-image-devel
BuildRequires:  xcb-util-xrm-devel
BuildRequires:  xorg-lib-libX11-devel
BuildRequires:  xorg-lib-libxkbcommon-x11-devel
BuildRequires:  rpmbuild(macros) >= 1.726
Requires:       libxcb
Requires:       pam
Requires:       xcb-util
Requires:       xcb-util-image
Requires:       xcb-util-xrm
Requires:       xorg-lib-libxkbcommon-x11
BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)

Minimalist screen locker based on slock.

%setup -q

%meson build
%ninja_build -C build

%ninja_install -C build


%config(noreplace) %verify(not md5 mtime size) /etc/pam.d/i3lock
%attr(4755,root,wheel) %{_bindir}/i3lock
pld-devel-en mailing list

Reply via email to