[packages/scrot] Up to 1.12.1
arekm
arekm at pld-linux.org
Sat Mar 14 04:31:32 CET 2026
commit 24ee2045684b0ecbd248f8e4f7085c8c89048a93
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat Mar 14 04:31:26 2026 +0100
Up to 1.12.1
scrot-ac.patch | 14 --------------
scrot.spec | 32 ++++++++++++++++++--------------
2 files changed, 18 insertions(+), 28 deletions(-)
---
diff --git a/scrot.spec b/scrot.spec
index 1da4c57..ba34516 100644
--- a/scrot.spec
+++ b/scrot.spec
@@ -1,18 +1,24 @@
Summary: Screen-shot capture using Imlib 2
Summary(pl.UTF-8): Zrzucanie ekranów przy użyciu Imlib2
Name: scrot
-Version: 0.8
+Version: 1.12.1
Release: 1
-License: BSD
+License: MIT-feh
Group: X11/Applications/Graphics
-Source0: http://linuxbrit.co.uk/downloads/%{name}-%{version}.tar.gz
-# Source0-md5: ccae904d225609571bdd3b03445c1e88
-Patch0: %{name}-ac.patch
-URL: http://linuxbrit.co.uk/scrot/
-BuildRequires: autoconf
+Source0: https://github.com/resurrecting-open-source-projects/scrot/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 05fb3cd75e174b095b9eae9da346be3d
+URL: https://github.com/resurrecting-open-source-projects/scrot
+BuildRequires: autoconf >= 2.70
+BuildRequires: autoconf-archive
BuildRequires: automake
-BuildRequires: giblib-devel >= 1.2.3
BuildRequires: imlib2-devel
+BuildRequires: libbsd-devel
+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
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -25,7 +31,6 @@ wykorzystujące dynamiczne dołączanie z imlib2.
%prep
%setup -q
-%patch -P0 -p1
%build
%{__aclocal}
@@ -36,18 +41,17 @@ wykorzystujące dynamiczne dołączanie z imlib2.
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-rm -rf $RPM_BUILD_ROOT%{_prefix}/doc
+%{__rm} -rf $RPM_BUILD_ROOT%{_docdir}/scrot
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc ChangeLog README AUTHORS TODO
-%attr(755,root,root) %{_bindir}/*
-%{_mandir}/man1/%{name}.1*
+%doc AUTHORS ChangeLog CONTRIBUTING.md FAQ.md README.md TODO.md
+%attr(755,root,root) %{_bindir}/scrot
+%{_mandir}/man1/scrot.1*
diff --git a/scrot-ac.patch b/scrot-ac.patch
deleted file mode 100644
index 9cb3a1c..0000000
--- a/scrot-ac.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -uNr scrot-0.7-orig/configure.ac scrot-0.7/configure.ac
---- scrot-0.7-orig/configure.ac Tue Feb 25 14:13:51 2003
-+++ scrot-0.7/configure.ac Tue Mar 25 13:40:05 2003
-@@ -25,8 +25,8 @@
- AC_SUBST(GIBLIB_LIBS)
- AC_SUBST(GIBLIB_CFLAGS)
-
--AC_CHECK_FUNC(getopt_long,,[LIBOBJS="$LIBOBJS getopt.o getopt1.o"])
--AC_SUBST(LIBOBJS)
-+AC_CHECK_FUNC(getopt_long, , [AC_LIBOBJ([getopt1])])
-+AC_CHECK_FUNC(getopt_long, , [AC_LIBOBJ([getopt])])
-
- AC_CONFIG_FILES([Makefile \
- scrot.spec \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/scrot.git/commitdiff/24ee2045684b0ecbd248f8e4f7085c8c89048a93
More information about the pld-cvs-commit
mailing list