Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37040899
en ru br
ALT Linux repos
S:0.20.2.18.4-alt1

Group :: Development/Other
RPM: rpm-uscan

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define destname rpm-uscan
%define debian_ver 2.17.10
Name: %destname
Version: 0.19.%debian_ver
Release: alt1

Summary: Utility to check watch files
Source: %name-%version.tar

License: %gpl2plus
Group: Development/Other
URL: http://www.altlinux.org/Watch

BuildArch: noarch

BuildRequires: rpm-build-licenses perl-devel perl(RPM/Vercmp.pm) perl(LWP/UserAgent.pm) perl(LWP/Protocol/https.pm) /usr/bin/pod2man
# for spawn function.
BuildRequires: perl-Dpkg
Requires: perl(LWP/Protocol/https.pm)
Requires: gear-uupdate

%description
- uscan: Automatically scan for and download upstream updates.  Uscan can
 also call a program such as girar-nmu to attempt to update the src.rpm
 or gear repository.  Whilst uscan could be used to release
 the updated version automatically, it is probably better not to without
 testing it first.

%prep
%setup

%build

%install
mkdir -p %buildroot{%_bindir,%_man1dir}
install -Dm755 scripts/uscan.pl %buildroot%_bindir/%destname
sed -i -e 's,###VERSION###,%version-rpm,' %buildroot%_bindir/%destname

pod2man scripts/uscan.pl > %buildroot%_man1dir/%destname.1

%files
%_bindir/*
%_man1dir/*

%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