Name: xmpcore Version: 5.1.2 Release: 7%{?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 * 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