Accepting request 576423 from X11:windowmanagers

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/576423
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/i3lock?expand=0&rev=14
This commit is contained in:
Dominique Leuenberger 2018-02-14 09:52:53 +00:00 committed by Git OBS Bridge
commit 0f3b9c66a6
2 changed files with 14 additions and 15 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Feb 7 03:34:56 UTC 2018 - avindra@opensuse.org
- switch to https urls
- cleanup spec file
-------------------------------------------------------------------
Sun Nov 26 15:52:11 UTC 2017 - aavindraa@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package i3lock
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2014 B1 Systems GmbH, Vohburg, Germany.
# Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org>
#
@ -25,8 +25,8 @@ Release: 0
Summary: Screen Locker for the i3 Window Manager
License: BSD-3-Clause
Group: System/GUI/Other
Url: http://i3wm.org/i3lock/
Source: http://i3wm.org/i3lock/i3lock-%{version}.tar.bz2
Url: https://i3wm.org/i3lock/
Source: https://i3wm.org/i3lock/%{name}-%{version}.tar.bz2
# borrowed from gnome-icon-theme
Source2: i3lock-icon.png
Source3: xlock.sh
@ -65,19 +65,12 @@ i3lock instead of xlock with them.
%build
export CFLAGS="%{optflags}"
make %{?_smp_mflags} \
PREFIX="%{_prefix}" \
SYSCONFDIR="%{_sysconfdir}"
make %{?_smp_mflags}
%install
export CFLAGS="%{optflags}"
make \
PREFIX="%{_prefix}" \
SYSCONFDIR="%{_sysconfdir}" \
DESTDIR=%{buildroot} \
install
%make_install
install -D -m0644 i3lock.1 "%{buildroot}%{_mandir}/man1/i3lock.1"
install -D -m0644 %{name}.1 "%{buildroot}%{_mandir}/man1/%{name}.1"
install -D -m0644 %{SOURCE2} %{buildroot}%{_datadir}/i3lock-xlock-compat/i3lock-icon.png
install -m0755 %{SOURCE3} %{buildroot}/%{_bindir}/xlock
@ -88,7 +81,7 @@ install -m0755 %{SOURCE3} %{buildroot}/%{_bindir}/xlock
%files
%doc CHANGELOG LICENSE README.md
%config(noreplace) %{_sysconfdir}/pam.d/%{name}
%{_bindir}/i3lock
%{_mandir}/man1/i3lock.1*
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1%{ext_man}
%changelog