Accepting request 313909 from home:nemysis:branches:X11:Utilities

Please accept these changes.

OBS-URL: https://build.opensuse.org/request/show/313909
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/slop?expand=0&rev=2
This commit is contained in:
Ondřej Súkup 2015-06-26 20:52:14 +00:00 committed by Git OBS Bridge
parent 4f58746371
commit 24e2a86103
3 changed files with 43 additions and 5 deletions

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

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

View File

@ -1,3 +1,29 @@
-------------------------------------------------------------------
Fri Jun 26 19:31:30 UTC 2015 - nemysis@gmx.ch
- Update to 4.1.16, announce message:
Added opacity capabilities. --color now checks for an alpha value,
but it's optional.
Added new option --highlight. Which instead of drawing a border around
the selection, it draws over the selection. Best used with --color
with an alpha set below 1.
Added option --minimumsize and --maximumsize, setting them both to
the same value disables drag selections.
Slop windows now let all events fall through.
Incredibly improved rendering quality and speed, no longer do I
re-size or move windows around. For some reason that's really
expensive in X11...
Slop now outputs the ID of a selected window if any.
Minor bugfixes and adjustments.
- Change Source0 Web URL, to have right slop-4.1.16.tar.gz
- Add BuildRequires for cmake and gengetopt
- Add BuildRoot
- Use %{name} instead of maim
- Add Documentation
- Add %changelog
-------------------------------------------------------------------
Mon Oct 20 10:44:12 UTC 2014 - rneuhauser@suse.cz

View File

@ -18,15 +18,18 @@
# See also http://en.opensuse.org/openSUSE:Specfile_guidelines
Name: slop
Version: 3.1.5
Version: 4.1.16
Release: 0
Summary: Query for a selection from the user and print the region to stdout
License: GPL-3.0+
Group: Productivity/Graphics/Other
Url: https://github.com/naelstrof/slop
Source0: https://github.com/naelstrof/slop/archive/v%{version}.tar.gz
Source0: https://github.com/naelstrof/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: gengetopt
BuildRequires: pkgconfig(xext)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
slop (Select Operation) queries for a selection from the user and prints
@ -39,12 +42,18 @@ dimensions to stdout.
%setup -q
%build
%cmake
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
# install executable
mkdir -p %{buildroot}%{_bindir}
install -Dm 0755 build/%{name} %{buildroot}%{_bindir}/
%files
%defattr(-,root,root)
%{_bindir}/slop
%defattr(-,root,root,-)
%doc COPYING README.md
%{_bindir}/%{name}
%changelog