Репозиторий Sisyphus
Последнее обновление: 16 июля 2019 | Пакетов: 17677 | Посещений: 14313125
en ru br
Репозитории ALT

Группа :: Графические оболочки/Прочее
Пакет: sway

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1

Name: sway
Version: 1.1
Release: alt1.rc3
Summary: i3wm drop-in replacement for Wayland
License: MIT
Url: http://swaywm.org/
Group: Graphical desktop/Other

# https://github.com/swaywm/sway

# git://git.altlinux.org/gears/s/sway.git
Source0: %name-%version.tar
Source2: startsway
Patch00: sway-config.patch

BuildRequires: asciidoc-a2x
BuildRequires: cmake
BuildRequires: libcap-devel
BuildRequires: libdbus-devel
BuildRequires: libevdev-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libjson-c-devel
BuildRequires: libpam-devel
BuildRequires: libpango-devel
BuildRequires: libpcre-devel
BuildRequires: libwayland-cursor-devel
BuildRequires: libwayland-egl-devel
BuildRequires: libwlc0-devel
BuildRequires: libwlc-devel >= 0.0.10
BuildRequires: libwlroots-devel
BuildRequires: meson
BuildRequires: scdoc
BuildRequires: time

# swaybg is now distributed as a standalone program which is compatible with many Wayland compositors (sway 1.1-rc1)

Requires: swaybg

# swayidle, a new idle management daemon, is available separately (sway 1.0)

Requires: swayidle

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.

%patch00 -p1

%meson \
-Dwerror=false \

install -pm0755 -D %SOURCE2 %buildroot%_bindir/

rm -rf -- \
%buildroot/%_datadir/bash-completion \
%buildroot/%_datadir/fish \
%buildroot/%_datadir/zsh \

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

%doc README.md
%dir %_sysconfdir/%name
%dir %_sysconfdir/%name/security.d
%config(noreplace) %_sysconfdir/%name/config
%config(noreplace) %_sysconfdir/%name/security.d/00-defaults

%files data
%dir %_datadir/backgrounds/%name


Полный changelog можно просмотреть здесь

дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin