Package init
This commit is contained in:
parent
cd7b91b0b1
commit
9a16380c3d
151
simple-xml-2.7.1.pom
Normal file
151
simple-xml-2.7.1.pom
Normal file
@ -0,0 +1,151 @@
|
||||
<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>org.simpleframework</groupId>
|
||||
<artifactId>simple-xml</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>2.7.1</version>
|
||||
<name>Simple XML</name>
|
||||
<url>http://simple.sourceforge.net</url>
|
||||
<description>Simple is a high performance XML serialization and configuration framework for Java</description>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>The Apache Software License, Version 2.0</name>
|
||||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
<scm>
|
||||
<url>http://simple.svn.sourceforge.net/viewvc/simple/tags/simple-xml-2.7.1</url>
|
||||
<developerConnection>scm:svn:https://simple.svn.sourceforge.net/svnroot/simple/tags/simple-xml-2.7.1</developerConnection>
|
||||
<connection>scm:svn:https://simple.svn.sourceforge.net/svnroot/simple/tags/simple-xml-2.7.1</connection>
|
||||
</scm>
|
||||
<developers>
|
||||
<developer>
|
||||
<id>niallg</id>
|
||||
<name>Niall Gallagher</name>
|
||||
<email>niallg@users.sf.net</email>
|
||||
</developer>
|
||||
</developers>
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<file.encoding>UTF-8</file.encoding>
|
||||
</properties>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>3.8.1</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>stax</groupId>
|
||||
<artifactId>stax-api</artifactId>
|
||||
<version>1.0.1</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>stax</groupId>
|
||||
<artifactId>stax</artifactId>
|
||||
<version>1.2.0</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>xpp3</groupId>
|
||||
<artifactId>xpp3</artifactId>
|
||||
<version>1.1.3.3</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<reporting>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>cobertura-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<formats>
|
||||
<format>html</format>
|
||||
<format>xml</format>
|
||||
</formats>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</reporting>
|
||||
<build>
|
||||
<extensions>
|
||||
<extension>
|
||||
<groupId>org.apache.maven.wagon</groupId>
|
||||
<artifactId>wagon-ssh-external</artifactId>
|
||||
<version>1.0-alpha-5</version>
|
||||
</extension>
|
||||
</extensions>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<source>1.5</source>
|
||||
<target>1.5</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<configuration>
|
||||
<encoding>UTF-8</encoding>
|
||||
<encoding>UTF-8</encoding>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-sources</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-javadocs</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>release-sign-artifacts</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>performRelease</name>
|
||||
<value>true</value>
|
||||
</property>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-gpg-plugin</artifactId>
|
||||
<version>1.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>sign-artifacts</id>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>sign</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
</project>
|
||||
BIN
simple-xml-2.7.1.tar.gz
Normal file
BIN
simple-xml-2.7.1.tar.gz
Normal file
Binary file not shown.
57
simple-xml.spec
Normal file
57
simple-xml.spec
Normal file
@ -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 <leiju4@huawei.com> - 2.7.1-1
|
||||
- Package init
|
||||
4
simple-xml.yaml
Normal file
4
simple-xml.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: NA
|
||||
src_repo: NA
|
||||
tag_prefix: NA
|
||||
seperator: NA
|
||||
Loading…
x
Reference in New Issue
Block a user