Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37498800
en ru br
Репозитории ALT
S:6.4-alt1
5.1: 5.7.2-alt1
4.1: 4.1-alt1.qa1
4.0: 2.8-alt1
www.altlinux.org/Changes

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

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

Name: dwm
Version: 6.4
Release: alt1

Summary: Dynamic window manager for X

License: MIT
Group: Graphical desktop/Other
Url: http://dwm.suckless.org/

# Repacked http://www.suckless.org/download/%name-%version.tar.gz

Source: %name-%version.tar
Source1: dwm.wmsession
Source2: dwm-start
Source3: dwm-start.1
Source4: dwm.desktop
Source5: dwm-32.png

Patch0: dwm-user-notes.patch

# Automatically added by buildreq on Fri Sep 16 2016

# optimized out: fontconfig fontconfig-devel libX11-devel libXrender-devel libfreetype-devel python-base xorg-renderproto-devel xorg-xproto-devel
BuildRequires: libXft-devel libXinerama-devel

Requires: st

%description
dwm is a dynamic window manager for X.
It manages windows in tiling and floating modes.  Either mode can be
applied dynamically, optimizing the environment for the application in
use and the task performed. It is the little brother of wmii.

%prep
%setup
%patch0 -p1
# Nuke the silent build.
#sed -i.backup -e 's|\t at |\t|' Makefile
#cmp -s Makefile{,.backup} && false
# Insert optflags
#sed -i.backup -e 's|-Os|%optflags -D_DEFAULT_SOURCE|' config.mk
#cmp -s config.mk{,.backup} && false
# No strip for debuginfo, and insert ldflags to enhance the security.
#sed -i.backup -e 's|-s ${LIBS}|${LIBS}|' config.mk
#cmp -s config.mk{,.backup} && false
# X includedir path fix
#sed -i.backup -e 's|X11INC = .*|X11INC = %_includedir|' config.mk
#cmp -s config.mk{,.backup} && false
# libdir path fix
#sed -i.backup -e 's|X11LIB = .*|X11LIB = %_libdir|' config.mk
#cmp -s config.mk{,.backup} && false

%build
%make_build CXXFLAGS="%optflags"

%install
%makeinstall_std PREFIX=%prefix

install -pD -m 644 %SOURCE1 %buildroot%_sysconfdir/X11/wmsession.d/14%name
install -pD -m 644 %SOURCE4 %buildroot%_datadir/xsessions/%name.desktop
install -pD -m 644 %SOURCE5 %buildroot%_niconsdir/%name.png

install -m755 %SOURCE2 %buildroot%_bindir/dwm-start
install -m644 %SOURCE3 %buildroot%_man1dir/dwm-start.1
sed -i "s/VERSION/%version/;s/RELEASE/%release/" \
%buildroot%_man1dir/dwm-start.1

%files
%_bindir/dwm
%_bindir/dwm-start
%_man1dir/dwm.1*
%_man1dir/dwm-start.1*
%doc README
%config %_sysconfdir/X11/wmsession.d/14%name
%_datadir/xsessions/%name.desktop
%_niconsdir/%name.png

%changelog

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

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