[xmpcore] Initial import (#1004556).

gil gil at fedoraproject.org
Sat Oct 19 21:28:56 UTC 2013


commit e666c0b1cc3118a9ca61f2dae3d7f8c81ddf3e68
Author: gil <puntogil at libero.it>
Date:   Sat Oct 19 23:28:48 2013 +0200

    Initial import (#1004556).

 .gitignore              |    1 +
 sources                 |    1 +
 xmpcore-5.1.2.pom       |  111 +++++++++++++++++++++++++++++++++++++++++++++++
 xmpcore-BSD-License.txt |   32 +++++++++++++
 xmpcore.spec            |   58 ++++++++++++++++++++++++
 5 files changed, 203 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..d336ee6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/xmpcore-5.1.2-sources.jar
diff --git a/sources b/sources
index e69de29..f1e50b0 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+685fe3b56159d7ff95eaa4a2f6de602e  xmpcore-5.1.2-sources.jar
diff --git a/xmpcore-5.1.2.pom b/xmpcore-5.1.2.pom
new file mode 100644
index 0000000..fe66a5b
--- /dev/null
+++ b/xmpcore-5.1.2.pom
@@ -0,0 +1,111 @@
+<?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>
+
+  <properties>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+  </properties>
+
+  <build>
+    <directory>target</directory>
+    <sourceDirectory>java</sourceDirectory>
+    <outputDirectory>target/classes</outputDirectory>
+
+    <plugins>
+
+        <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-compiler-plugin</artifactId>
+            <version>3.0</version>
+            <configuration>
+                <source>1.6</source>
+                <target>1.6</target>
+            </configuration>
+        </plugin>
+
+        <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>buildnumber-maven-plugin</artifactId>
+            <version>1.2</version>
+            <executions>
+                <execution>
+                    <phase>validate</phase>
+                    <goals>
+                        <goal>create-timestamp</goal>
+                    </goals>
+                </execution>
+            </executions>
+            <configuration>
+                <timestampFormat>yyyy MMM dd HH:mm:ss-z</timestampFormat>
+                <timestampPropertyName>timestamp</timestampPropertyName>
+            </configuration>
+        </plugin>
+
+        <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-jar-plugin</artifactId>
+            <version>2.4</version>
+            <configuration>
+                <archive>
+                    <manifestEntries>
+                        <Implementation-Major>5</Implementation-Major>
+                        <Implementation-Minor>1</Implementation-Minor>
+                        <Implementation-Micro>2</Implementation-Micro>
+                        <Implementation-Debug>true</Implementation-Debug>
+                        <Implementation-EngBuild>003</Implementation-EngBuild>
+                        <Implementation-Title>Adobe XMP Core</Implementation-Title>
+                        <Implementation-Vendor>Copyright 2006-2009 Adobe Systems Incorporated. All rights reserved</Implementation-Vendor>
+                        <BuildDate>${timestamp}</BuildDate>
+                        <AdobeIP>&lt;AdobeIP#0000856&gt;</AdobeIP>
+                    </manifestEntries>
+                </archive>
+            </configuration>
+        </plugin>
+
+        <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-javadoc-plugin</artifactId>
+            <version>2.9.1</version>
+            <configuration>
+                <doctitle>%{project.name} ${project.version} API</doctitle>
+                <windowtitle>%{project.name} ${project.version} API</windowtitle>
+            </configuration>
+        </plugin>
+
+    </plugins>
+
+  </build>
+
+</project>
+
diff --git a/xmpcore-BSD-License.txt b/xmpcore-BSD-License.txt
new file mode 100644
index 0000000..43029dd
--- /dev/null
+++ b/xmpcore-BSD-License.txt
@@ -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.
+
diff --git a/xmpcore.spec b/xmpcore.spec
new file mode 100644
index 0000000..3d89ad1
--- /dev/null
+++ b/xmpcore.spec
@@ -0,0 +1,58 @@
+Name:          xmpcore
+Version:       5.1.2
+Release:       1%{?dist}
+Summary:       Java XMP Library
+License:       BSD
+URL:           http://www.adobe.com/devnet/xmp.html
+Source0:       http://repo1.maven.org/maven2/com/adobe/xmp/%{name}/%{version}/%{name}-%{version}-sources.jar
+# from http://repo1.maven.org/maven2/com/adobe/xmp/xmpcore/5.1.2/xmpcore-5.1.2.pom
+# customized:
+# fix compiler,javadoc-plugin configuration
+# fix manifest entries
+Source1:       %{name}-%{version}.pom
+# from http://download.macromedia.com/pub/developer/xmp/sdk/XMP-Toolkit-SDK-5.1.2.zip
+Source2:       %{name}-BSD-License.txt
+
+BuildRequires: java-devel
+BuildRequires: buildnumber-maven-plugin
+BuildRequires: 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 java
+mv com java/
+rm -r META-INF
+
+cp -p %{SOURCE1} pom.xml
+cp -p %{SOURCE2} BSD-License.txt
+sed -i 's/\r//' BSD-License.txt
+
+%build
+
+%mvn_file : %{name}
+%mvn_build
+
+%install
+%mvn_install
+
+%files -f .mfiles
+%doc BSD-License.txt
+
+%files javadoc -f .mfiles-javadoc
+%doc BSD-License.txt
+
+%changelog
+* Tue Sep 03 2013 gil cattaneo <puntogil at libero.it> 5.1.2-1
+- initial rpm
\ No newline at end of file


More information about the scm-commits mailing list