2.4.1
OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/i3lock?expand=0&rev=1
This commit is contained in:
commit
7bc58a4554
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
i3lock-2.4.1.tar.bz2
Normal file
3
i3lock-2.4.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4d29e66841138de562e71903d31ecaaefd8ecffe5e68da0d6c8d560ed543047c
|
||||||
|
size 30592
|
5
i3lock.changes
Normal file
5
i3lock.changes
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 14 10:16:02 CET 2012 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
- initial version (2.4.1)
|
||||||
|
|
6
i3lock.pam
Normal file
6
i3lock.pam
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#%PAM-1.0
|
||||||
|
auth include common-auth
|
||||||
|
account include common-account
|
||||||
|
password include common-password
|
||||||
|
session include common-session
|
||||||
|
|
78
i3lock.spec
Normal file
78
i3lock.spec
Normal file
@ -0,0 +1,78 @@
|
|||||||
|
# vim: set sw=4 ts=4 et nu:
|
||||||
|
|
||||||
|
# Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org>
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
|
||||||
|
Name: i3lock
|
||||||
|
Version: 2.4.1
|
||||||
|
Release: 0
|
||||||
|
Summary: Screen Locker for the i3 Window Manager
|
||||||
|
Source: http://i3wm.org/i3lock/i3lock-%{version}.tar.bz2
|
||||||
|
Source1: i3lock.pam
|
||||||
|
URL: http://i3wm.org/i3lock/
|
||||||
|
Group: System/GUI/Other
|
||||||
|
License: BSD-3-Clause
|
||||||
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||||
|
BuildRequires: libev-devel
|
||||||
|
BuildRequires: glib2-devel
|
||||||
|
BuildRequires: cairo-devel
|
||||||
|
BuildRequires: xorg-x11-devel
|
||||||
|
BuildRequires: pam-devel
|
||||||
|
BuildRequires: gcc make glibc-devel pkgconfig
|
||||||
|
Requires: pam-modules
|
||||||
|
BuildRequires: pam-modules
|
||||||
|
|
||||||
|
%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.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
export CFLAGS="%{optflags}"
|
||||||
|
make %{?_smp_mflags} \
|
||||||
|
%if 0%{?suse_version} < 1220
|
||||||
|
NOLIBCAIRO=1 \
|
||||||
|
%endif
|
||||||
|
PREFIX="%{_prefix}" \
|
||||||
|
SYSCONFDIR="%{_sysconfdir}"
|
||||||
|
|
||||||
|
%install
|
||||||
|
export CFLAGS="%{optflags}"
|
||||||
|
make \
|
||||||
|
%if 0%{?suse_version} < 1220
|
||||||
|
NOLIBCAIRO=1 \
|
||||||
|
%endif
|
||||||
|
PREFIX="%{_prefix}" \
|
||||||
|
SYSCONFDIR="%{_sysconfdir}" \
|
||||||
|
DESTDIR="%{buildroot}" \
|
||||||
|
install
|
||||||
|
|
||||||
|
rm "%{buildroot}%{_sysconfdir}/pam.d/i3lock"
|
||||||
|
install -m0644 "%{SOURCE1}" "%{buildroot}%{_sysconfdir}/pam.d/%{name}"
|
||||||
|
|
||||||
|
install -D -m0644 i3lock.1 "%{buildroot}%{_mandir}/man1/i3lock.1"
|
||||||
|
|
||||||
|
%clean
|
||||||
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc CHANGELOG LICENSE README
|
||||||
|
%config(noreplace) %{_sysconfdir}/pam.d/%{name}
|
||||||
|
%{_bindir}/i3lock
|
||||||
|
%doc %{_mandir}/man1/i3lock.1*
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user