]> git.pld-linux.org Git - packages/dwm.git/blob - dwm.spec
- up to 5.9
[packages/dwm.git] / dwm.spec
1 Summary:        Dynamic window manager for X
2 Name:           dwm
3 Version:        5.9
4 Release:        1
5 License:        MIT
6 Group:          X11/Window Managers
7 Source0:        http://dl.suckless.org/dwm/%{name}-%{version}.tar.gz
8 # Source0-md5:  2799f885c05817ca112d521bb247f797
9 Patch0:         %{name}-flags.patch
10 URL:            http://dwm.suckless.org/
11 BuildRequires:  xorg-lib-libXinerama-devel
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 dwm is a dynamic window manager for X. It manages windows in tiled,
16 monocle and floating layouts. All of the layouts can be applied
17 dynamically, optimising the environment for the application in use and
18 the task performed.
19
20 %prep
21 %setup -q
22 %patch0 -p1
23
24 %build
25 %{__make} \
26         CC="%{__cc}" \
27         OPTFLAGS="%{rpmcflags}" \
28         LDFLAGS="%{rpmldflags}"
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32
33 %{__make} install \
34         PREFIX=%{_prefix} \
35         DESTDIR=$RPM_BUILD_ROOT
36
37 %clean
38 rm -rf $RPM_BUILD_ROOT
39
40 %files
41 %defattr(644,root,root,755)
42 %doc README
43 %attr(755,root,root) %{_bindir}/dwm
44 %{_mandir}/man1/dwm.1*
This page took 0.090502 seconds and 3 git commands to generate.