Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37575649
en ru br
ALT Linux repos
S:0.8-alt3

Group :: Graphical desktop/Other
RPM: scrot

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# Unpackaged files in buildroot should terminate build
%define _unpackaged_files_terminate_build 1

Name: scrot
Version: 0.8
Release: alt2.qa1

Summary: Screen-shot capture using Imlib 2
License: BSD
Group: Graphical desktop/Other
Url: http://linuxbrit.co.uk/scrot/
Packager: Slava Semushin <php-coder at altlinux.ru>

Source: %name-%version.tar.gz
Patch0: scrot-alt-warnings-fix.patch
Patch1: scrot-alt-makefile-fix.patch
Patch2: scrot-alt-deb-man-typos_fix.patch

BuildRequires: libgiblib-devel libX11-devel imlib2-devel libfreetype-devel
BuildRequires: libXext-devel

%description
A nice and straightforward screen capture utility implementing the
dynamic loaders of imlib2.

%prep
%setup
%patch0 -p2

# remove own getopt version

rm -fv -- src/getopt*
%patch1 -p2

%patch2 -p2
rm -f configure.in

%build
%autoreconf
%configure
%make_build CFLAGS="%optflags -Werror" --silent --no-print-directory

%install
%makeinstall_std --silent --no-print-directory

%files
%_bindir/%name
%_man1dir/%name.1.*
%_defaultdocdir/%name-%version/

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin