Accepting request 647042 from X11:Utilities

OBS-URL: https://build.opensuse.org/request/show/647042
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/slop?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2018-11-08 08:50:43 +00:00 committed by Git OBS Bridge
commit 9575996e8e
4 changed files with 53 additions and 11 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:acf0a9679cb0b00ea375c19bc307ec7f834a6e7d343a665810d6604dd3555a92
size 488015

3
slop-7.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8868590b0ebb712f82295266cb120f5bda022393d72caafa7564c9fb66ccedce
size 50079

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Wed Nov 7 15:16:08 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Update to new upstream release 7.4 [boo#1113605]
* Slop now no longer selects shadows around windows in Mutter.
Gone is the annoying arbitrary padding around Gnome windows.
* Users can now supply their own shaders to create neat effects.
Slop allows for chained post-processing shaders. Shaders are
written in a language called GLSL.
* Slop uses EGL now (allowing for fancy rectangles while pulling
the mouse to make a region), and falls back to XShape
otherwise.
-------------------------------------------------------------------
Thu Sep 3 06:46:53 UTC 2015 - nemysis@openSUSE.org

View File

@ -1,7 +1,7 @@
#
# spec file for package slop
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 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
@ -12,16 +12,17 @@
# 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/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# See also http://en.opensuse.org/openSUSE:Specfile_guidelines
Name: slop
Version: 4.2.19
%define lname libslopy7_4
Version: 7.4
Release: 0
Summary: Query for a selection from the user and print the region to stdout
License: GPL-3.0+
Summary: Tool to query for a screen region selection
License: GPL-3.0-or-later
Group: Productivity/Graphics/Other
Url: https://github.com/naelstrof/slop
Source0: https://github.com/naelstrof/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
@ -29,6 +30,7 @@ BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: gengetopt
BuildRequires: glm-devel
BuildRequires: pkgconfig(egl)
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(glew)
BuildRequires: pkgconfig(glu)
@ -43,6 +45,22 @@ lets the user click and drag to make a selection (or click on a window)
while drawing a pretty box around it, then finally prints the selection's
dimensions to stdout.
%package -n %{lname}
Summary: Screen region selection library
Group: System/Libraries
%description -n %{lname}
This library implements the slop utility's functionality to mark a
region ont the screen.
%package devel
Summary: Development files for the slop library
Group: Development/Libraries/C and C++
Requires: %{lname} = %{version}
%description devel
Header files for the slop library.
%prep
%setup -q
@ -51,13 +69,24 @@ dimensions to stdout.
make %{?_smp_mflags}
%install
# install executable
mkdir -p %{buildroot}%{_bindir}
install -Dm 0755 build/%{name} %{buildroot}%{_bindir}/
pushd build/
%make_install
popd
%post -n %{lname} -p /sbin/ldconfig
%postun -n %{lname} -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc COPYING README.md
%{_bindir}/%{name}
%{_mandir}/man1/*.1*
%files -n %{lname}
%{_libdir}/libslopy.so.7*
%files devel
%{_includedir}/*
%{_libdir}/libslopy.so
%changelog