blob: 90b4faa9d97626a6baa441ef79d3ce716fb09d47 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
Name: dwm
Version: 6.4
Release: alt2
Summary: dwm is a dynamic window manager for X
License: MIT
Group: Graphical desktop/Other
Url: https://dwm.suckless.org/
Source0: %{name}-%{version}.tar
Patch0: %{name}-%{version}_userpatches.patch
Patch1: %{name}-%{version}_userconfig.patch
BuildRequires: make
BuildRequires: gcc
BuildRequires: libXft-devel libXinerama-devel imlib2-devel
Requires: libX11 libXft libXinerama libfontconfig1 imlib2
%description
dwm is a dynamic window manager for X. It manages windows in tiled, monocle and
floating layouts. All of the layouts can be applied dynamically, optimising the
environment for the application in use and the task performed.
%prep
%setup
%patch0 -p1
%patch1 -p1
%build
%make_build
%install
%makeinstall_std PREFIX=%prefix
install -pD -m 644 %name.desktop %buildroot%_datadir/xsessions/%name.desktop
install -pD -m 644 %name.png %buildroot%_niconsdir/%name.png
%files
%_bindir/%name
%_man1dir/%name.1*
%_datadir/xsessions/%name.desktop
%_niconsdir/%name.png
%changelog
* Fri May 26 2023 Andrew Guschin <guschin@altlinux.org> 6.4-alt2
- Added support for user defined patches and configuration.
* Fri May 26 2023 Andrew Guschin <guschin@altlinux.org> 6.4-alt1
- Initial build.
|