!2 package init

From: @tom-tao
Reviewed-by: @wangchong1995924
Signed-off-by: @wangchong1995924
This commit is contained in:
openeuler-ci-bot 2021-05-18 19:14:16 +08:00 committed by Gitee
commit a65242ca22
3 changed files with 73 additions and 0 deletions

View File

@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>de.regnis.q.sequence</groupId>
<artifactId>sequence-library</artifactId>
<version>1.0.3</version>
<name>Sequence Library</name>
<description>Textual Diff and Merge Library</description>
<url>http://svn.svnkit.com/repos/3rdparty/de.regnigs.q.sequence</url>
<licenses>
<license>
<name>Sequence Library License</name>
<url>http://www.svnkit.com/SEQUENCE-LICENSE.txt</url>
</license>
</licenses>
<developers>
<developer>
<id>syntevo</id>
<name>SyntEvo GmbH</name>
</developer>
</developers>
<scm>
<connection>scm:svn:http://svn.svnkit.com/repos/3rdparty/de.regnigs.q.sequence</connection>
<url>http://svn.svnkit.com/repos/3rdparty/de.regnigs.q.sequence</url>
</scm>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.2</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>

Binary file not shown.

38
sequence-library.spec Normal file
View File

@ -0,0 +1,38 @@
Name: sequence-library
Version: 1.0.3
Release: 1
Summary: Textual diff and merge library
License: Sequence
URL: http://svn.svnkit.com/repos/3rdparty/de.regnis.q.sequence/
Source0: %{name}-%{version}.tar.gz
Source1: http://repo1.maven.org/maven2/de/regnis/q/sequence/sequence-library/%{version}/sequence-library-%{version}.pom
BuildArch: noarch
BuildRequires: maven-local mvn(junit:junit)
%description
A textual diff and merge library.
%package javadoc
Summary: Javadocs for %{name}
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q
find -name '*.jar' -o -name '*.class' -delete
cp -pr %{SOURCE1} pom.xml
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%license LICENSE.txt
%files javadoc -f .mfiles-javadoc
%license LICENSE.txt
%changelog
* Wed May 12 2021 zhangtao <zhangtao307@huawei.com> - 1.0.3-1
- package init