add and run upstream test suite
This commit is contained in:
parent
5c4a6aab0c
commit
56c1e89083
10
netpbm.spec
10
netpbm.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: A library for handling different graphics file formats
|
Summary: A library for handling different graphics file formats
|
||||||
Name: netpbm
|
Name: netpbm
|
||||||
Version: 10.60.03
|
Version: 10.60.03
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
# See copyright_summary for details
|
# See copyright_summary for details
|
||||||
License: BSD and GPLv2 and IJG and MIT and Public Domain
|
License: BSD and GPLv2 and IJG and MIT and Public Domain
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -9,6 +9,7 @@ URL: http://netpbm.sourceforge.net/
|
|||||||
# Source0 is prepared by
|
# 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/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/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 .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/ )
|
# and removing the ppmtompeg code, due to patents ( rm -rf netpbm-%{version}/converter/ppm/ppmtompeg/ )
|
||||||
Source0: netpbm-%{version}.tar.xz
|
Source0: netpbm-%{version}.tar.xz
|
||||||
@ -218,6 +219,10 @@ echo -e '#!/bin/sh\npamditherbw $@ | pamtopnm\n' > pgmtopbm
|
|||||||
chmod 0755 pgmtopbm
|
chmod 0755 pgmtopbm
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
%check
|
||||||
|
pushd test
|
||||||
|
PBM_TESTPREFIX=$RPM_BUILD_ROOT%{_bindir} ./Execute-Tests
|
||||||
|
popd
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -250,6 +255,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%doc userguide/*
|
%doc userguide/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Nov 21 2012 Jindrich Novy <jnovy@redhat.com> 10.60.03-1
|
||||||
- update to 10.60.3
|
- update to 10.60.3
|
||||||
- fixes xbmptopbm, pamtojpeg2k
|
- fixes xbmptopbm, pamtojpeg2k
|
||||||
|
Loading…
Reference in New Issue
Block a user