Name: xjparse Version: 1.0 Release: 22%{?dist} Summary: Wrapper for the Xerces XML Schema validator License: ASL 2.0 URL: http://nwalsh.com/java/xjparse Source0: http://nwalsh.com/java/xjparse/xjparse-src-%{version}.zip BuildArch: noarch BuildRequires: java-devel BuildRequires: jpackage-utils BuildRequires: ant BuildRequires: xml-commons-resolver Requires: jpackage-utils Requires: java-headless Requires: xml-commons-resolver %description The xjparse tool is a simple command-line wrapper for the Xerces XML Schema validator. It accepts several options, notably one which specifies the set of schemas to be used during validation. %prep %setup -qc find -name '*.jar' -o -name '*.class' -exec rm -f '{}' \; %build export CLASSPATH=$(build-classpath xml-commons-resolver) ant -f build.xml jar -verbose %install mkdir -p $RPM_BUILD_ROOT%{_javadir} cp -p build/xjparse.jar \ $RPM_BUILD_ROOT%{_javadir}/%{name}.jar install -dm 755 $RPM_BUILD_ROOT%{_bindir} %jpackage_script com.nwalsh.parsers.xjparse "" "" xjparse:xml-commons-resolver xjparse true %files %{_javadir}/%{name}.jar %{_bindir}/xjparse %changelog * Sat Jul 11 2020 Jiri Vanek - 1.0-22 - Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 * Fri Jan 31 2020 Fedora Release Engineering - 1.0-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Jul 27 2019 Fedora Release Engineering - 1.0-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Feb 03 2019 Fedora Release Engineering - 1.0-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 1.0-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 1.0-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.0-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Feb 05 2016 Fedora Release Engineering - 1.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Jun 19 2015 Fedora Release Engineering - 1.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 1.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue Mar 25 2014 Mikolaj Izdebski - 1.0-11 - Move to java-headless - Resolves: rhbz#1068599 * Tue Jan 07 2014 Michael Simacek - 1.0-11 - Adapt to current packaging guidelines (rhbz#1022172) * Sun Aug 04 2013 Fedora Release Engineering - 1.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Fri Feb 15 2013 Fedora Release Engineering - 1.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sun Jul 22 2012 Fedora Release Engineering - 1.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Jan 14 2012 Fedora Release Engineering - 1.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Feb 07 2011 Fedora Release Engineering - 1.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Jul 27 2009 Fedora Release Engineering - 1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Dec 04 2008 Brennan Ashton 1.0-3 - Added system link for just name - Added wrapper script * Tue Nov 25 2008 Brennan Ashton 1.0-2 - Now noarch - Fixed discription line length * Sun Nov 23 2008 Brennan Ashton 1.0-1 - Created spec file