File xrectsel.spec of Package xrectsel
#
# spec file for package xrectsel
#
# Copyright (c) 2016 SUSE LINUX 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: xrectsel
Version: 0.3.2
Release: 0
License: GPL-3.0
Summary: Print the geometry of a rectangular screen region
Url: https://github.com/lolilolicon/xrectsel
Group: Development/Languages/C and C++
Source: https://github.com/lolilolicon/xrectsel/archive/0.3.2.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: make
BuildRequires: automake
BuildRequires: autoconf
BuildRequires: pkg-config
BuildRequires: libX11-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
xrectsel is a small program that tells you the geometry of a rectangular
screen region which you have selected by dragging the mouse / pointer.
When arguments are passed to xrectsel, a limited set of % format strings
are recognized and substituted.
%prep
%setup -q
%build
./bootstrap
%configure
make %{?_smp_mflags}
%install
%make_install
%files
%defattr(-,root,root)
%doc README.markdown
%{_bindir}/xrectsel
%changelog