File dwm.spec of Package dwm
#
# spec file for package dwm
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: dwm
Version: 6.0
Release: 0
License: MIT
Summary: Dynamic window manager
Url: http://dwm.suckless.org/
Group: TBD
Source: %{name}-%{version}.tar.gz
Patch0: config.patch
# needed for post-install checks
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xinerama)
BuildRequires: gcc
BuildRequires: make
Requires: pkgconfig(x11)
Requires: pkgconfig(xinerama)
Requires: gcc
Requires: make
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
Dynamic window manager, product of suckless.org project.
%prep
%setup -q
%patch0 -p1
%suckless_config
%build
%install
%suckless_manpage
%suckless_src_copy
%suckless_store_config
%posttrans
%suckless_post_build
%files
%defattr(-,root,root)
%suckless_files