LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File xrectsel.spec of Package xrectsel (Project home:dmacvicar)

#
# spec file for package xrectsel
#
# Copyright (c) 2014 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:           xrectsel
Version:        0.3.2+git.1476138146.8ca4c63
Release:        0
License:        GPL-3.0
Summary:        Print the geometry of a rectangular screen region
Url:            https://github.com/vstakhov/xrectsel
Group:          Development/Languages/C and C++
Source0:        %{name}-%{version}.tar.bz2
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. Look at the source to see what are supported.

%prep
%setup -q

%build
./bootstrap
%configure
make %{?_smp_mflags}

%install
%make_install

%files
%defattr(-,root,root)
%doc README.markdown
%{_bindir}/xrectsel


%changelog