diff --git a/simple-xml-2.7.1.pom b/simple-xml-2.7.1.pom new file mode 100644 index 0000000..1e6595d --- /dev/null +++ b/simple-xml-2.7.1.pom @@ -0,0 +1,151 @@ + + 4.0.0 + org.simpleframework + simple-xml + jar + 2.7.1 + Simple XML + http://simple.sourceforge.net + Simple is a high performance XML serialization and configuration framework for Java + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + http://simple.svn.sourceforge.net/viewvc/simple/tags/simple-xml-2.7.1 + scm:svn:https://simple.svn.sourceforge.net/svnroot/simple/tags/simple-xml-2.7.1 + scm:svn:https://simple.svn.sourceforge.net/svnroot/simple/tags/simple-xml-2.7.1 + + + + niallg + Niall Gallagher + niallg@users.sf.net + + + + UTF-8 + UTF-8 + UTF-8 + + + + junit + junit + 3.8.1 + test + + + stax + stax-api + 1.0.1 + compile + + + stax + stax + 1.2.0 + compile + + + xpp3 + xpp3 + 1.1.3.3 + compile + + + + + + org.codehaus.mojo + cobertura-maven-plugin + + + html + xml + + + + + + + + + org.apache.maven.wagon + wagon-ssh-external + 1.0-alpha-5 + + + + + org.apache.maven.plugins + maven-compiler-plugin + + 1.5 + 1.5 + + + + org.apache.maven.plugins + maven-source-plugin + + UTF-8 + UTF-8 + + + + attach-sources + + jar + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + + + attach-javadocs + + jar + + + + + + + + + release-sign-artifacts + + + performRelease + true + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.1 + + + sign-artifacts + verify + + sign + + + + + + + + + diff --git a/simple-xml-2.7.1.tar.gz b/simple-xml-2.7.1.tar.gz new file mode 100644 index 0000000..07d8df6 Binary files /dev/null and b/simple-xml-2.7.1.tar.gz differ diff --git a/simple-xml.spec b/simple-xml.spec new file mode 100644 index 0000000..41e9716 --- /dev/null +++ b/simple-xml.spec @@ -0,0 +1,57 @@ +Name: simple-xml +Summary: An XML serialization framework for Java +Version: 2.7.1 +Release: 1 +License: ASL 2.0 +Url: http://simple.sourceforge.net/ +Source0: http://downloads.sourceforge.net/simple/simple-xml-%{version}.tar.gz +Source1: https://repo1.maven.org/maven2/org/simpleframework/simple-xml/%{version}/simple-xml-%{version}.pom + +BuildRequires: java-devel javapackages-local javapackages-tools ant ant-junit bea-stax +BuildRequires: bea-stax-api junit xpp3 +Requires: bea-stax 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 +rm -r javadoc/* test/report/* +find . -name "*.jar" -delete +find . -name "*.class" -delete +sed -i 's/\r//' LICENSE.txt +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 +* Mon Aug 3 2020 leiju - 2.7.1-1 +- Package init diff --git a/simple-xml.yaml b/simple-xml.yaml new file mode 100644 index 0000000..00bbaf0 --- /dev/null +++ b/simple-xml.yaml @@ -0,0 +1,4 @@ +version_control: NA +src_repo: NA +tag_prefix: NA +seperator: NA