!1 package init

Merge pull request !1 from maminjie/master
This commit is contained in:
openeuler-ci-bot 2020-08-31 21:38:27 +08:00 committed by Gitee
commit c9ba901b78
5 changed files with 121 additions and 0 deletions

BIN
xmpcore-5.1.2-sources.jar Normal file

Binary file not shown.

37
xmpcore-5.1.2.pom Normal file
View File

@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>com.adobe.xmp</groupId>
<artifactId>xmpcore</artifactId>
<version>5.1.2</version>
<name>XMP Library for Java</name>
<description>
The XMP Library for Java is based on the C++ XMPCore library
and the API is similar.
</description>
<url>http://www.adobe.com/devnet/xmp.html</url>
<licenses>
<license>
<name>The BSD License</name>
<url>http://www.adobe.com/devnet/xmp/library/eula-xmp-library-java.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<organization>Adobe Systems, Inc.</organization>
<organizationUrl>http://www.adobe.com/</organizationUrl>
</developer>
</developers>
<scm>
<connection>scm:local:/src/xmp:xmpcore</connection>
<url>http://www.adobe.com/devnet/xmp.html</url>
</scm>
</project>

32
xmpcore-BSD-License.txt Normal file
View File

@ -0,0 +1,32 @@
The BSD License
Copyright (c) 1999 - 2010, Adobe Systems Incorporated
All rights reserved.
Redistribution and use in source and binary forms, with or
without modification, are permitted provided that the following
conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of Adobe Systems Incorporated, nor the names of its
contributors may be used to endorse or promote products derived from this
software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

48
xmpcore.spec Normal file
View File

@ -0,0 +1,48 @@
Name: xmpcore
Version: 5.1.2
Release: 1
Summary: Java XMP Library
License: BSD
URL: http://www.adobe.com/devnet/xmp.html
Source0: https://repo1.maven.org/maven2/com/adobe/xmp/xmpcore/%{version}/xmpcore-%{version}-sources.jar
Source1: https://repo1.maven.org/maven2/com/adobe/xmp/xmpcore/%{version}/xmpcore-%{version}.pom
# from http://download.macromedia.com/pub/developer/xmp/sdk/XMP-Toolkit-SDK-5.1.2.zip
Source2: xmpcore-BSD-License.txt
BuildRequires: buildnumber-maven-plugin maven-local
BuildArch: noarch
%description
The XMP Library for Java is based on the
C++ XMPCore library and the API is similar.
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains javadoc for %{name}.
%prep
%setup -q -c
mkdir -p src/main/java
mv com src/main/java
rm -r META-INF
cp -p %{SOURCE1} pom.xml
cp -p %{SOURCE2} BSD-License.txt
sed -i 's/\r//' BSD-License.txt
%mvn_file : %{name}
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%license BSD-License.txt
%files javadoc -f .mfiles-javadoc
%license BSD-License.txt
%changelog
* Fri Aug 14 2020 maminjie <maminjie1@huawei.com> - 5.1.2-1
- package init

4
xmpcore.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: drewnoakes/adobe-xmp-core
tag_prefix: "^"
seperator: "."