File sselp.spec of Package sselp

#
# spec file for package sselp
#
# 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:           sselp
Version:	0.2
Release:	0
License:	MIT
Summary:	Simple X selection printer
Url:		http://tools.suckless.org/sselp
Group:		TBD
Source:		%{name}-%{version}.tar.gz
Patch0:		config.mk.patch
BuildRequires:	pkgconfig
BuildRequires:	pkgconfig(x11)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Simple X selection printer. Prints the X selection to stdout. If there is no X client owning the selection it just exits. Useful for scripts where you can query the X selection without pressing mouse Button2 in cumbersome ways.

%prep
%setup -q
%patch0 -p1

%build
%config_suckless
make %{?_smp_mflags}

%install
%make_install

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


%changelog

openSUSE Build Service is sponsored by