[packages/scrot] up to 2.0.0

atler atler at pld-linux.org
Sun May 10 00:07:19 CEST 2026


commit 3944823cc5cff4d6aee7a2f58e547dddec73e8a4
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat May 9 23:57:24 2026 +0200

    up to 2.0.0

 scrot.spec | 24 +++++++++++++++---------
 1 file changed, 15 insertions(+), 9 deletions(-)
---
diff --git a/scrot.spec b/scrot.spec
index ba34516..9e78b33 100644
--- a/scrot.spec
+++ b/scrot.spec
@@ -1,24 +1,26 @@
 Summary:	Screen-shot capture using Imlib 2
 Summary(pl.UTF-8):	Zrzucanie ekranów przy użyciu Imlib2
 Name:		scrot
-Version:	1.12.1
+Version:	2.0.0
 Release:	1
 License:	MIT-feh
 Group:		X11/Applications/Graphics
 Source0:	https://github.com/resurrecting-open-source-projects/scrot/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	05fb3cd75e174b095b9eae9da346be3d
+# Source0-md5:	e4b5a9bcbda18c45e7c5436a9001a76a
 URL:		https://github.com/resurrecting-open-source-projects/scrot
 BuildRequires:	autoconf >= 2.70
 BuildRequires:	autoconf-archive
 BuildRequires:	automake
-BuildRequires:	imlib2-devel
-BuildRequires:	libbsd-devel
+BuildRequires:	imlib2-devel >= 1.11.0
 BuildRequires:	pkgconfig
 BuildRequires:	xorg-lib-libX11-devel
-BuildRequires:	xorg-lib-libXcomposite-devel
-BuildRequires:	xorg-lib-libXext-devel
-BuildRequires:	xorg-lib-libXfixes-devel
-BuildRequires:	xorg-lib-libXinerama-devel
+BuildRequires:	xorg-lib-libXcomposite-devel >= 0.2.0
+BuildRequires:	xorg-lib-libXfixes-devel >= 5.0.1
+BuildRequires:	xorg-lib-libXrandr-devel >= 1.5
+Requires:	imlib2 >= 1.11.0
+Requires:	xorg-lib-libXcomposite >= 0.2.0
+Requires:	xorg-lib-libXfixes >= 5.0.1
+Requires:	xorg-lib-libXrandr >= 1.5
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -36,7 +38,9 @@ wykorzystujące dynamiczne dołączanie z imlib2.
 %{__aclocal}
 %{__autoconf}
 %{__automake}
-%configure
+%configure \
+	--with-bash-completion-path="%{bash_compdir}" \
+	--with-zsh-completion-path="%{zsh_compdir}"
 %{__make}
 
 %install
@@ -55,3 +59,5 @@ rm -rf $RPM_BUILD_ROOT
 %doc AUTHORS ChangeLog CONTRIBUTING.md FAQ.md README.md TODO.md
 %attr(755,root,root) %{_bindir}/scrot
 %{_mandir}/man1/scrot.1*
+%{bash_compdir}/scrot
+%{zsh_compdir}/_scrot
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/scrot.git/commitdiff/3944823cc5cff4d6aee7a2f58e547dddec73e8a4



More information about the pld-cvs-commit mailing list