Name: simple-xml Summary: An XML serialization framework for Java Version: 2.7.1 Release: 16%{?dist} License: ASL 2.0 Url: http://simple.sourceforge.net/ Source0: http://downloads.sourceforge.net/simple/%{name}-%{version}.tar.gz Source1: http://repo1.maven.org/maven2/org/simpleframework/%{name}/%{version}/%{name}-%{version}.pom BuildRequires: java-devel BuildRequires: javapackages-local BuildRequires: javapackages-tools BuildRequires: ant BuildRequires: ant-junit BuildRequires: bea-stax BuildRequires: bea-stax-api BuildRequires: junit BuildRequires: xpp3 Requires: bea-stax Requires: xpp3 Requires: javapackages-tools BuildArch: noarch %description Simple is a high performance XML serialization and configuration framework for Java. Its goal is to provide an XML framework that enables rapid development of XML configuration and communication systems. %package javadoc Summary: Javadoc for %{name} %description javadoc This package contains javadoc for %{name}. %prep %setup -q # clean up rm -r javadoc/* test/report/* find . -name "*.jar" -delete find . -name "*.class" -delete sed -i 's/\r//' LICENSE.txt # test @ random fails sed -i 's|haltonfailure="yes"|haltonfailure="no"|' test/build.xml %build %ant -Dlib.path=%{_javadir} all %install mkdir -p %{buildroot}%{_javadir} install -m 644 jar/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar mkdir -p %{buildroot}%{_mavenpomdir} install -pm 644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom %add_maven_depmap mkdir -p %{buildroot}%{_javadocdir}/%{name} cp -pr javadoc/* %{buildroot}%{_javadocdir}/%{name} %files -f .mfiles %license LICENSE.txt %files javadoc %{_javadocdir}/%{name} %license LICENSE.txt %changelog * Thu Jan 30 2020 Fedora Release Engineering - 2.7.1-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 2.7.1-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 2.7.1-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 2.7.1-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 2.7.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jan 17 2018 Merlin Mathesius - 2.7.1-11 - Add needed BuildRequires: javapackages-local * Thu Jul 27 2017 Fedora Release Engineering - 2.7.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 2.7.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Feb 05 2016 Fedora Release Engineering - 2.7.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sat Jan 30 2016 gil cattaneo - 2.7.1-7 - rebuilt * Fri Jun 19 2015 Fedora Release Engineering - 2.7.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Feb 11 2015 gil cattaneo 2.7.1-5 - introduce license macro * Sun Jun 08 2014 Fedora Release Engineering - 2.7.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Fri Mar 28 2014 Michael Simacek - 2.7.1-3 - Use Requires: java-headless rebuild (#1067528) * Wed Jan 15 2014 gil cattaneo 2.7.1-2 - fix license field - add javapackages-tools (provides jpackage-utils) references * Fri Aug 23 2013 gil cattaneo 2.7.1-1 - update to 2.7.1 * Wed May 08 2013 gil cattaneo 2.7-1 - update to 2.7 * Wed Jan 23 2013 gil cattaneo 2.6.9-1 - update to 2.6.9 * Sat Aug 04 2012 gil cattaneo 2.6.6-1 - update to 2.6.6 * Wed Jun 27 2012 gil cattaneo 2.6.4-1 - Initial import