summaryrefslogtreecommitdiff
path: root/.gear/dwm.spec
blob: 0d3666a278cb3b929fa0190ea7ef441185390a51 (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
49
50
51
52
53
54
55
56
57
58
59
Name: dwm
%define dwm_version 6.4
%define patches_version .2
Version: %dwm_version%patches_version
Release: alt1

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}-%{dwm_version}_userpatches.patch
Patch1: %{name}-%{dwm_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
* Mon Feb 19 2024 Andrew Guschin <guschin@altlinux.org> 6.4.2-alt1
- add keybindings for screenshots

* Mon Feb 19 2024 Andrew Guschin <guschin@altlinux.org> 6.4.1-alt1
- change terminal to wezterm

* Mon Feb 19 2024 Andrew Guschin <guschin@altlinux.org> 6.4.0-alt1
- change versioning scheme

* 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.