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

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

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

%build
make %{?_smp_mflags}

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

%files
%defattr(-,root,root)
%doc README LICENSE
%{_bindir}/slstatus
%{_mandir}/*/*

%changelog