-
Notifications
You must be signed in to change notification settings - Fork 0
/
dwm.spec
60 lines (43 loc) · 1.24 KB
/
dwm.spec
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
60
Name: dwm
Version: 6.0
Release: 2%{?dist}
Summary: Dynamic Window Manager
Packager: Arild Jensen <[email protected]>
Group: User Interface/Desktops
License: MIT
URL: http://dwm.suckless.org/
Source0: http://git.suckless.org/dwm/snapshot/dwm-6.0.tar.gz
Patch0: dwm-6.0-ca.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libX11-devel
BuildRequires: gcc
BuildRequires: make
BuildRequires: libXinerama-devel
Requires: xorg-x11-xinit
Requires: st
Requires: terminus-fonts
%description
A dynamic window manager for X with tiled, monocle and floating layouts.
%prep
%setup -q
%patch0 -p1
%build
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install PREFIX=/usr DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc LICENSE
%doc README
%doc BUGS
%doc TODO
%{_mandir}/man1/dwm.1.gz
%{_bindir}/dwm
%changelog
* Wed Feb 06 2013 Arild Jensen <[email protected]> 6.0-1
--Initial build.
# Thu Feb 21 2013 Arild Jensen <[email protected]> 6.0-2
--Patched to use 'st' instead of uxterm and added dependency on Terminus font.