Compare commits

..

No commits in common. "rawhide" and "f30" have entirely different histories.

6 changed files with 232 additions and 1 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/xmpcore-5.1.2-sources.jar

View file

@ -1 +0,0 @@
Retired: Long term failure to build

1
sources Normal file
View file

@ -0,0 +1 @@
685fe3b56159d7ff95eaa4a2f6de602e xmpcore-5.1.2-sources.jar

111
xmpcore-5.1.2.pom Normal file
View file

@ -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>

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.

87
xmpcore.spec Normal file
View file

@ -0,0 +1,87 @@
Name: xmpcore
Version: 5.1.2
Release: 11%{?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: 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
%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
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.2-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.2-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.2-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.2-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Wed Jun 22 2016 gil cattaneo <puntogil@libero.it> 5.1.2-6
- regenerate build-requires
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Fri Feb 13 2015 gil cattaneo <puntogil@libero.it> 5.1.2-3
- introduce license macro
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Tue Sep 03 2013 gil cattaneo <puntogil@libero.it> 5.1.2-1
- initial rpm