[feclipse-maven-plugin: 1/3] Initial Commit
Krzysztof Daniel
kdaniel at fedoraproject.org
Thu May 2 13:38:41 UTC 2013
commit a0a8e03b3b1e96383bf248af87dff3931d4b70a6
Author: Krzysztof Daniel <kdaniel at redhat.com>
Date: Wed Apr 17 11:13:41 2013 +0200
Initial Commit
feclipse-maven-plugin.spec | 68 ++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 68 insertions(+), 0 deletions(-)
---
diff --git a/feclipse-maven-plugin.spec b/feclipse-maven-plugin.spec
new file mode 100644
index 0000000..3aa2305
--- /dev/null
+++ b/feclipse-maven-plugin.spec
@@ -0,0 +1,68 @@
+Name: feclipse-maven-plugin
+Version: 0.0.1-SNAPSHOT
+Release: 1%{?dist}
+Summary: installer Maven Mojo
+
+Group: Development/Libraries
+License:
+URL: http://maven.apache.org
+Source0: #FIXME
+BuildArch: noarch
+
+BuildRequires: mvn(org.eclipse.tycho:tycho-p2-facade)
+BuildRequires: mvn(org.apache.maven:maven-plugin-api)
+BuildRequires: mvn(junit:junit)
+BuildRequires: mvn(org.eclipse.tycho.extras:tycho-p2-extras-plugin)
+Requires: mvn(org.eclipse.tycho:tycho-p2-facade)
+Requires: mvn(org.apache.maven:maven-plugin-api)
+Requires: mvn(junit:junit)
+Requires: mvn(org.eclipse.tycho.extras:tycho-p2-extras-plugin)
+
+%description
+
+
+%package javadoc
+Group: Documentation
+Summary: Javadoc for %{name}
+Requires: jpackage-utils
+
+%description javadoc
+API documentation for %{name}.
+
+
+%prep
+%setup -q #You may need to update this according to your Source0
+
+%build
+mvn-rpmbuild \
+ -e \
+ install javadoc:javadoc
+
+%install
+# jars
+install -d -m 0755 %{buildroot}%{_javadir}
+install -m 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
+
+# poms
+install -d -m 755 %{buildroot}%{_mavenpomdir}
+install -pm 644 pom.xml \
+ %{buildroot}%{_mavenpomdir}/JPP.%{name}.pom
+
+%add_maven_depmap JPP.%{name}.pom %{name}.jar
+
+# javadoc
+install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
+cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}/
+rm -rf target/site/api*
+
+%files
+%{_javadir}/*
+%{_mavenpomdir}/*
+%{_mavendepmapfragdir}/*
+
+%files javadoc
+%{_javadocdir}/%{name}
+
+%changelog
+
+#FIXME
More information about the scm-commits
mailing list