LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File slstatus.spec of Package slstatus (Project home:jfita)

# spec file for package slstatus
# Copyright (c) 2017 jfita@infoblitz.com

Name:           slstatus
Version:        0
Release:        0
License:        MIT
Summary:        Suckless status
Url:            https://tools.suckless.org/slstatus/
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}