Sisyphus repository
Last update: 19 april 2019 | SRPMs: 17666 | Visits: 13438107
en ru br
ALT Linux repos

Group :: Graphical desktop/Other
RPM: sway

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: sway
Version: 0.12.2
Release: alt1

Summary: i3wm drop-in replacement for Wayland

License: MIT
Group: Graphical desktop/Other

Packager: Vladimir D. Seleznev <vseleznv at>

Source: %name-%version.tar.gz
Source2: pam

PreReq: /etc/tcb
BuildRequires(pre): rpm-macros-cmake
# Automatically added by buildreq on Tue Feb 28 2017
# optimized out: asciidoc cmake-modules docbook-dtds docbook-style-xsl fontconfig glib2-devel libcairo-devel libgdk-pixbuf libgio-devel libgpg-error libinput-devel libjson-c libudev-devel libwayland-client libwayland-client-devel libwayland-cursor libwayland-server libwayland-server-devel libxcbutil-image libxkbcommon-devel pkg-config python-base python-modules python-modules-compiler python-modules-email python-modules-encodings python-modules-xml wayland-devel xml-common xsltproc
BuildRequires: asciidoc-a2x cmake libcap-devel libgdk-pixbuf-devel libjson-c-devel libpam-devel libpango-devel libpcre-devel libwayland-cursor-devel libwayland-egl-devel libwlc0-devel time
Requires: %name-data
Requires(post): /sbin/setcap

%package data
Summary: i3wm drop-in replacement for Wayland - data files
Group: Graphical desktop/Other
BuildArch: noarch

%define common_descr \
Sway is a drop-in replacement for the i3 window manager, but for Wayland \
instead of X11. It works with your existing i3 configuration and \
supports most of i3's features, and a few extras.


%description data

This package contains data files.

cp %SOURCE1 .
cp %SOURCE2 .

%cmake \
-DPCRE_INCLUDE_DIR=%_includedir/pcre \

install -pm2640 -D pam %buildroot%_sysconfdir/pam.d/swaylock

/sbin/setcap cap_sys_ptrace=eip %_bindir/%name
/sbin/setcap cap_sys_tty_config=eip %_bindir/%name

%dir %_sysconfdir/%name
%dir %_sysconfdir/%name/security.d
%attr(0640,root,chkpwd) %config(noreplace) %_sysconfdir/pam.d/swaylock
%config(noreplace) %_sysconfdir/%name/config
%config(noreplace) %_sysconfdir/%name/security.d/00-defaults
%attr(2711,root,chkpwd) %_bindir/swaylock

%files data
%dir %_datadir/%name


Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin