From bba21aadbaeb49aaae127379128a75a6c6fc9882 Mon Sep 17 00:00:00 2001 From: gil Date: Wed, 10 Oct 2012 14:05:22 +0200 Subject: [PATCH] Initial import (#857079) --- .gitignore | 1 + fasterxml-oss-parent-3-pom.patch | 46 +++++++++++++++++++++++ fasterxml-oss-parent.spec | 64 ++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 112 insertions(+) create mode 100644 fasterxml-oss-parent-3-pom.patch create mode 100644 fasterxml-oss-parent.spec diff --git a/.gitignore b/.gitignore index e69de29..e614859 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/fasterxml-oss-parent-3-src-git.tar.xz diff --git a/fasterxml-oss-parent-3-pom.patch b/fasterxml-oss-parent-3-pom.patch new file mode 100644 index 0000000..e739a52 --- /dev/null +++ b/fasterxml-oss-parent-3-pom.patch @@ -0,0 +1,46 @@ +--- pom.xml 2012-08-21 03:42:31.000000000 +0200 ++++ pom.xml-gil 2012-09-13 15:44:25.590144619 +0200 +@@ -346,11 +346,11 @@ + 1.7 + + +- ++ + + + +@@ -361,23 +361,16 @@ + maven-javadoc-plugin + ${javadoc.version} + +- ${sun.boot.class.path} +- com.google.doclava.Doclava +- false +- -J-Xmx1024m ++ 128m + ${javadoc.maxmemory} ++ true ++ true ++ false ++ ${javac.src.version} ++ true + + http://docs.oracle.com/javase/6/docs/api/ + +- +- com.google.doclava +- doclava +- 1.0.3 +- +- +- -hdf project.name "${project.name}" +- -d ${project.reporting.outputDirectory}/apidocs +- + + + diff --git a/fasterxml-oss-parent.spec b/fasterxml-oss-parent.spec new file mode 100644 index 0000000..5816159 --- /dev/null +++ b/fasterxml-oss-parent.spec @@ -0,0 +1,64 @@ +Name: fasterxml-oss-parent +Version: 3 +Release: 1%{?dist} +Summary: FasterXML parent pom +Group: Development/Libraries +License: ASL 2.0 +URL: http://fasterxml.com/ +# git clone git://github.com/FasterXML/oss-parent.git fasterxml-oss-parent-3 +# (cd fasterxml-oss-parent-3/ && git archive --format=tar --prefix=fasterxml-oss-parent-3/ oss-parent-3 | xz > ../fasterxml-oss-parent-3-src-git.tar.xz) +Source0: %{name}-%{version}-src-git.tar.xz + +# remove unavailable extension org.kathrynhuxtable.maven.wagon wagon-gitsite 0.3.1 +# fix javadoc configration, remove unavailable com.google.doclava doclava 1.0.3 +Patch0: fasterxml-oss-parent-3-pom.patch + +BuildRequires: java-devel +BuildRequires: jpackage-utils + +BuildRequires: maven +BuildRequires: maven-enforcer-plugin +BuildRequires: maven-plugin-bundle +BuildRequires: maven-site-plugin + +Requires: java +Requires: jpackage-utils +BuildArch: noarch + +%description +FasterXML is the business behind the Woodstox streaming XML parser, +Jackson streaming JSON parser, the Aalto non-blocking XML parser, and +a growing family of utility libraries and extensions. + +FasterXML offers consulting services for adoption, performance tuning, +and extension. + +This package contains the parent pom file for FasterXML.com projects. + +%prep +%setup -q -n %{name}-%{version} +%patch0 -p0 + +%pom_remove_plugin org.sonatype.plugins:nexus-maven-plugin +%pom_remove_plugin org.codehaus.mojo:jdepend-maven-plugin +%pom_remove_plugin org.codehaus.mojo:taglist-maven-plugin + +%build +# nothing to do +%install + +mkdir -p %{buildroot}%{_mavenpomdir} +install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom +%add_maven_depmap JPP-%{name}.pom + +%check +mvn-rpmbuild verify + +%files +%{_mavenpomdir}/JPP-%{name}.pom +%{_mavendepmapfragdir}/%{name} +%doc LICENSE NOTICE README.creole + +%changelog +* Thu Sep 13 2012 gil cattaneo 3-1 +- initial rpm \ No newline at end of file diff --git a/sources b/sources index e69de29..c474e0f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +b0856e26716c43a7eec29e7be03b18b3 fasterxml-oss-parent-3-src-git.tar.xz