Accepting request 644970 from Java:packages
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/644970 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xpp3?expand=0&rev=19
This commit is contained in:
commit
2f0da9f1fb
40
xpp3-1.1.4c.pom
Normal file
40
xpp3-1.1.4c.pom
Normal file
@ -0,0 +1,40 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>xpp3</groupId>
|
||||
<artifactId>xpp3</artifactId>
|
||||
<version>1.1.4c</version>
|
||||
<packaging>jar</packaging>
|
||||
<name>MXP1: Xml Pull Parser 3rd Edition (XPP3)</name>
|
||||
<url>http://www.extreme.indiana.edu/xgws/xsoap/xpp/mxp1/</url>
|
||||
<description>MXP1 is a stable XmlPull parsing engine that is based on ideas from XPP and in particular XPP2 but completely revised and rewritten to take the best advantage of latest JIT JVMs such as Hotspot in JDK 1.4+.</description>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>Indiana University Extreme! Lab Software License, vesion 1.1.1</name>
|
||||
<url>http://www.extreme.indiana.edu/viewcvs/~checkout~/XPP3/java/LICENSE.txt</url>
|
||||
<distribution>repo</distribution>
|
||||
<comments>The license applies to the Xpp3 classes (all classes below the org.xmlpull package with exception of classes directly in package org.xmlpull.v1 )</comments>
|
||||
</license>
|
||||
<license>
|
||||
<name>Public Domain</name>
|
||||
<url>http://creativecommons.org/licenses/publicdomain</url>
|
||||
<distribution>repo</distribution>
|
||||
<comments>The license applies to the XmlPull API (all classes directly in the org.xmlpull.v1 package)</comments>
|
||||
</license>
|
||||
<license>
|
||||
<name>Apache Software License, version 1.1</name>
|
||||
<url>http://www.apache.org/licenses/LICENSE-1.1</url>
|
||||
<distribution>repo</distribution>
|
||||
<comments>The license applies to the class javax.xml.namespace.QName</comments>
|
||||
</license>
|
||||
</licenses>
|
||||
<scm>
|
||||
<url>http://www.extreme.indiana.edu/viewcvs/~checkout~/XPP3/java/</url>
|
||||
</scm>
|
||||
<organization>
|
||||
<name>Extreme! Lab, Indiana University</name>
|
||||
<url>http://www.extreme.indiana.edu/</url>
|
||||
</organization>
|
||||
<dependencies/>
|
||||
</project>
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 19 20:38:27 UTC 2018 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Install maven pom files and generate mvn(...) provides
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 11 16:58:24 UTC 2017 - fstrba@suse.com
|
||||
|
||||
|
32
xpp3.spec
32
xpp3.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package xpp3
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -12,7 +12,7 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
@ -24,8 +24,12 @@ License: Apache-1.1
|
||||
Group: Development/Libraries/Java
|
||||
Url: http://www.extreme.indiana.edu/xgws/xsoap/xpp/mxp1/index.html
|
||||
Source0: http://www.extreme.indiana.edu/dist/java-repository/xpp3/distributions/xpp3-%{version}_src.tgz
|
||||
Source1: http://central.maven.org/maven2/xpp3/xpp3/%{version}/xpp3-%{version}.pom
|
||||
Source2: http://central.maven.org/maven2/xpp3/xpp3_min/%{version}/xpp3_min-%{version}.pom
|
||||
Source3: http://central.maven.org/maven2/xpp3/xpp3_xpath/%{version}/xpp3_xpath-%{version}.pom
|
||||
Patch0: xpp3-sourcetarget.patch
|
||||
BuildRequires: ant >= 1.6
|
||||
BuildRequires: javapackages-local
|
||||
BuildRequires: javapackages-tools
|
||||
BuildRequires: junit
|
||||
BuildRequires: perl
|
||||
@ -87,6 +91,15 @@ mkdir -p %{buildroot}%{_javadocdir}/%{name}
|
||||
cp -pr doc/api/* %{buildroot}%{_javadocdir}/%{name}
|
||||
rm -rf doc/{build.txt,api}
|
||||
|
||||
# Install pom file
|
||||
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
||||
install -p -m 644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/%{name}.pom
|
||||
install -p -m 644 %{SOURCE2} %{buildroot}%{_mavenpomdir}/%{name}-minimal.pom
|
||||
install -p -m 644 %{SOURCE3} %{buildroot}%{_mavenpomdir}/%{name}-xpath.pom
|
||||
%add_maven_depmap %{name}.pom %{name}.jar
|
||||
%add_maven_depmap %{name}-minimal.pom %{name}-minimal.jar -f minimal
|
||||
%add_maven_depmap %{name}-xpath.pom %{name}-xpath.jar -f xpath
|
||||
|
||||
%files
|
||||
%defattr(0644,root,root,0755)
|
||||
%doc README.html LICENSE.txt doc/*
|
||||
@ -94,11 +107,26 @@ rm -rf doc/{build.txt,api}
|
||||
%{_javadir}/%{name}-%{version}.jar
|
||||
%{_javadir}/%{name}-xpath.jar
|
||||
%{_javadir}/%{name}-xpath-%{version}.jar
|
||||
%{_mavenpomdir}/%{name}.pom
|
||||
%{_mavenpomdir}/%{name}-xpath.pom
|
||||
%if %{defined _maven_repository}
|
||||
%{_mavendepmapfragdir}/%{name}
|
||||
%{_mavendepmapfragdir}/%{name}-xpath
|
||||
%else
|
||||
%{_datadir}/maven-metadata/%{name}.xml*
|
||||
%{_datadir}/maven-metadata/%{name}-xpath.xml*
|
||||
%endif
|
||||
|
||||
%files minimal
|
||||
%defattr(0644,root,root,0755)
|
||||
%{_javadir}/%{name}-minimal.jar
|
||||
%{_javadir}/%{name}-minimal-%{version}.jar
|
||||
%{_mavenpomdir}/%{name}-minimal.pom
|
||||
%if %{defined _maven_repository}
|
||||
%{_mavendepmapfragdir}/%{name}-minimal
|
||||
%else
|
||||
%{_datadir}/maven-metadata/%{name}-minimal.xml*
|
||||
%endif
|
||||
|
||||
%files javadoc
|
||||
%defattr(0644,root,root,0755)
|
||||
|
32
xpp3_min-1.1.4c.pom
Normal file
32
xpp3_min-1.1.4c.pom
Normal file
@ -0,0 +1,32 @@
|
||||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>xpp3</groupId>
|
||||
<artifactId>xpp3_min</artifactId>
|
||||
<version>1.1.4c</version>
|
||||
<packaging>jar</packaging>
|
||||
<name>MXP1: Xml Pull Parser 3rd Edition (XPP3)</name>
|
||||
<url>http://www.extreme.indiana.edu/xgws/xsoap/xpp/mxp1/</url>
|
||||
<description>MXP1 is a stable XmlPull parsing engine that is based on ideas from XPP and in particular XPP2 but completely revised and rewritten to take the best advantage of latest JIT JVMs such as Hotspot in JDK 1.4+.</description>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>Indiana University Extreme! Lab Software License, vesion 1.1.1</name>
|
||||
<url>http://www.extreme.indiana.edu/viewcvs/~checkout~/XPP3/java/LICENSE.txt</url>
|
||||
<distribution>repo</distribution>
|
||||
<comments>The license applies to the Xpp3 classes (all classes below the org.xmlpull package with exception of classes directly in package org.xmlpull.v1 )</comments>
|
||||
</license>
|
||||
<license>
|
||||
<name>Public Domain</name>
|
||||
<url>http://creativecommons.org/licenses/publicdomain</url>
|
||||
<distribution>repo</distribution>
|
||||
<comments>The license applies to the XmlPull API (all classes directly in the org.xmlpull.v1 package)</comments>
|
||||
</license>
|
||||
</licenses>
|
||||
<scm>
|
||||
<url>http://www.extreme.indiana.edu/viewcvs/~checkout~/XPP3/java/</url>
|
||||
</scm>
|
||||
<organization>
|
||||
<name>Extreme! Lab, Indiana University</name>
|
||||
<url>http://www.extreme.indiana.edu/</url>
|
||||
</organization>
|
||||
<dependencies/>
|
||||
</project>
|
25
xpp3_xpath-1.1.4c.pom
Normal file
25
xpp3_xpath-1.1.4c.pom
Normal file
@ -0,0 +1,25 @@
|
||||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>xpp3</groupId>
|
||||
<artifactId>xpp3_xpath</artifactId>
|
||||
<version>1.1.4c</version>
|
||||
<packaging>jar</packaging>
|
||||
<name>MXP1: Xml Pull Parser 3rd Edition (XPP3)</name>
|
||||
<url>http://www.extreme.indiana.edu/xgws/xsoap/xpp/mxp1/</url>
|
||||
<description>MXP1 is a stable XmlPull parsing engine that is based on ideas from XPP and in particular XPP2 but completely revised and rewritten to take the best advantage of latest JIT JVMs such as Hotspot in JDK 1.4+.</description>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>Indiana University Extreme! Lab Software License, vesion 1.1.1</name>
|
||||
<url>http://www.extreme.indiana.edu/viewcvs/~checkout~/XPP3/java/LICENSE.txt</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
<scm>
|
||||
<url>http://www.extreme.indiana.edu/viewcvs/~checkout~/XPP3/java/</url>
|
||||
</scm>
|
||||
<organization>
|
||||
<name>Extreme! Lab, Indiana University</name>
|
||||
<url>http://www.extreme.indiana.edu/</url>
|
||||
</organization>
|
||||
<dependencies/>
|
||||
</project>
|
Loading…
Reference in New Issue
Block a user