add and run upstream test suite

This commit is contained in:
Jindrich Novy 2012-11-27 09:11:53 +01:00
parent 5c4a6aab0c
commit 56c1e89083
2 changed files with 10 additions and 2 deletions

View File

@ -1,7 +1,7 @@
Summary: A library for handling different graphics file formats
Name: netpbm
Version: 10.60.03
Release: 1%{?dist}
Release: 2%{?dist}
# See copyright_summary for details
License: BSD and GPLv2 and IJG and MIT and Public Domain
Group: System Environment/Libraries
@ -9,6 +9,7 @@ URL: http://netpbm.sourceforge.net/
# Source0 is prepared by
# svn checkout https://netpbm.svn.sourceforge.net/svnroot/netpbm/advanced netpbm-%{version}
# svn checkout https://netpbm.svn.sourceforge.net/svnroot/netpbm/userguide netpbm-%{version}/userguide
# svn checkout https://netpbm.svn.sourceforge.net/svnroot/netpbm/trunk/test netpbm-%{version}/test
# and removing the .svn directories ( find -name "\.svn" -type d -print0 | xargs -0 rm -rf )
# and removing the ppmtompeg code, due to patents ( rm -rf netpbm-%{version}/converter/ppm/ppmtompeg/ )
Source0: netpbm-%{version}.tar.xz
@ -218,6 +219,10 @@ echo -e '#!/bin/sh\npamditherbw $@ | pamtopnm\n' > pgmtopbm
chmod 0755 pgmtopbm
popd
%check
pushd test
PBM_TESTPREFIX=$RPM_BUILD_ROOT%{_bindir} ./Execute-Tests
popd
%clean
rm -rf $RPM_BUILD_ROOT
@ -250,6 +255,9 @@ rm -rf $RPM_BUILD_ROOT
%doc userguide/*
%changelog
* Tue Nov 27 2012 Jindrich Novy <jnovy@redhat.com> 10.60.03-2
- add upstream test suite
* Wed Nov 21 2012 Jindrich Novy <jnovy@redhat.com> 10.60.03-1
- update to 10.60.3
- fixes xbmptopbm, pamtojpeg2k

View File

@ -1 +1 @@
b0f25f22b1dddc7c0b258add70e81814 netpbm-10.60.03.tar.xz
705b8a920aae3c2556db83cf82b76c75 netpbm-10.60.03.tar.xz