1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
%define destname rpm-uscan %define debian_ver 2.11.3 Name: %destname Version: 0.6.%debian_ver Release: alt1 Summary: Utility to check watch files Source: %name-%version.tar License: %gpl2plus Group: Development/Other BuildArch: noarch BuildRequires: rpm-build-licenses perl-devel perl-RPM perl(LWP/UserAgent.pm) Requires: perl-Crypt-SSLeay 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 install -Dm755 scripts/uscan.pl %buildroot%_bindir/%destname sed -i -e 's,###VERSION###,%version-rpm,' %buildroot%_bindir/%destname install -Dm644 scripts/uscan.1 %buildroot%_man1dir/%destname.1 %files %_bindir/* %_man1dir/* %changelog * Mon Jan 16 2012 Igor Vlasenko <viy@altlinux.ru> 0.6.2.11.3-alt1 - sync with debian uscan 2.11.3 - added usehttpheaderfilename option (for cas@) * Fri Nov 11 2011 Igor Vlasenko <viy@altlinux.ru> 0.6.2.11.1-alt1 - new version * Wed Oct 19 2011 Igor Vlasenko <viy@altlinux.ru> 0.5.2.11.1-alt1 - new version * Sat Oct 15 2011 Igor Vlasenko <viy@altlinux.ru> 0.4.2.11.1-alt1 - new version * Sat Oct 15 2011 Igor Vlasenko <viy@altlinux.ru> 0.3.2.11.1-alt1 - new version * Sat Oct 15 2011 Igor Vlasenko <viy@altlinux.ru> 0.2.2.11.1-alt1 - any-archive option * Wed Oct 12 2011 Igor Vlasenko <viy@altlinux.ru> 0.1.2.11.1-alt1 - debian uscan, patched to work with rpm and gear.