diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d336ee6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/xmpcore-5.1.2-sources.jar diff --git a/dead.package b/dead.package deleted file mode 100644 index ab7426e..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Retired: Long term failure to build diff --git a/sources b/sources new file mode 100644 index 0000000..f1e50b0 --- /dev/null +++ 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 @@ + + + 4.0.0 + + com.adobe.xmp + xmpcore + 5.1.2 + + XMP Library for Java + + The XMP Library for Java is based on the C++ XMPCore library + and the API is similar. + + http://www.adobe.com/devnet/xmp.html + + + + The BSD License + http://www.adobe.com/devnet/xmp/library/eula-xmp-library-java.html + repo + + + + + + Adobe Systems, Inc. + http://www.adobe.com/ + + + + + scm:local:/src/xmp:xmpcore + http://www.adobe.com/devnet/xmp.html + + + + UTF-8 + + + + target + java + target/classes + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.0 + + 1.6 + 1.6 + + + + + org.codehaus.mojo + buildnumber-maven-plugin + 1.2 + + + validate + + create-timestamp + + + + + yyyy MMM dd HH:mm:ss-z + timestamp + + + + + org.apache.maven.plugins + maven-jar-plugin + 2.4 + + + + 5 + 1 + 2 + true + 003 + Adobe XMP Core + Copyright 2006-2009 Adobe Systems Incorporated. All rights reserved + ${timestamp} + <AdobeIP#0000856> + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.9.1 + + %{project.name} ${project.version} API + %{project.name} ${project.version} API + + + + + + + + + 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..1c7d5a6 --- /dev/null +++ b/xmpcore.spec @@ -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 - 5.1.2-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 14 2018 Fedora Release Engineering - 5.1.2-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 5.1.2-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 5.1.2-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 5.1.2-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Jun 22 2016 gil cattaneo 5.1.2-6 +- regenerate build-requires + +* Fri Feb 05 2016 Fedora Release Engineering - 5.1.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Jun 19 2015 Fedora Release Engineering - 5.1.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri Feb 13 2015 gil cattaneo 5.1.2-3 +- introduce license macro + +* Sun Jun 08 2014 Fedora Release Engineering - 5.1.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Tue Sep 03 2013 gil cattaneo 5.1.2-1 +- initial rpm