File slstatus.spec of Package slstatus

# spec file for package slstatus
# Copyright (c) 2017

Name:           slstatus
Version:        0
Release:        0
License:        MIT
Summary:        Suckless status
Group:          System/X11/Utilities
Source0:        %{name}-%{version}.tar.xz
Source1:        config.h
Patch0:         %{name}-%{version}-config.patch
BuildRequires:  libX11-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

slstatus is a suckless status monitor for window managers that use WM_NAME
(e.g. dwm) or stdin to fill the status bar.

%setup -q
%patch0 -p1
cp %{SOURCE1} .

make %{?_smp_mflags}

make install DESTDIR=%{buildroot} %{?_smp_mflags}