SHA256
1
0
forked from pool/scrot
scrot/scrot.spec
Martin Pluskal dd7c735046 Accepting request 1110308 from home:polslinux:branches:X11:Utilities
- update to 1.10.0:
  * New option: --compression to specify a compression level.
    Note that certain formats (such as PNG) will now use --compression instead of --quality.
  * Improvement: Timing in scrot --delay.
  * Improvement: Screenshot timestamps timing.
  * Document: Not all compositors support opacity.
  * Document: Depend on an interface, not an implementation.
  * Document: Fixed license to MIT-feh. NOTE: this is NOT a license change,
    we simply fixed the document to correctly identify the license.
  * Document: Make it clear --window option takes an argument.
  * Document: Clarify imlib2 feature requirement.
  * Document: Fix --quality description in manpage.
  * Improvement: Fatally error out in case the mouse pointer image cannot be acquired.
  * Deprecate: --note.
  * Fixes: Memory leak.
  * Several other fixes.

OBS-URL: https://build.opensuse.org/request/show/1110308
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/scrot?expand=0&rev=24
2023-09-15 07:32:28 +00:00

61 lines
1.8 KiB
RPMSpec

#
# spec file for package scrot
#
# Copyright (c) 2023 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: scrot
Version: 1.10
Release: 0
Summary: Screenshot Capture Utility
License: SUSE-Scrot
Group: Productivity/Graphics/Other
URL: https://github.com/resurrecting-open-source-projects/scrot
Source: https://github.com/resurrecting-open-source-projects/scrot/releases/download/%{version}/%{name}-%{version}.tar.gz
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(imlib2)
BuildRequires: pkgconfig(libbsd)
BuildRequires: pkgconfig(xcomposite)
BuildRequires: pkgconfig(xcursor)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xfixes)
BuildRequires: pkgconfig(xinerama)
BuildRequires: pkgconfig(zlib)
%description
A nice and straightforward screen capture utility implementing
the dynamic loaders of imlib2.
%prep
%autosetup -p1
%build
%configure --with-libbsd
%make_build
%install
%make_install
mkdir -p %{buildroot}/%{_datadir}/pixmaps/
rm -rf %{buildroot}/%{_datadir}/doc/scrot
%files
%doc AUTHORS ChangeLog README.md
%license COPYING
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1%{?ext_man}
%changelog