[feclipse-maven-plugin: 2/3] Initial import (RHBZ 958431)

Krzysztof Daniel kdaniel at fedoraproject.org
Thu May 2 13:38:46 UTC 2013


commit 3ffcec0124c99c1dae6b185e8cc2676222830c5c
Author: Krzysztof Daniel <kdaniel at redhat.com>
Date:   Thu May 2 15:26:44 2013 +0200

    Initial import (RHBZ 958431)

 .project                           |   11 ++++++++
 feclipse-maven-plugin-0.0.1.tar.gz |  Bin 0 -> 4144 bytes
 feclipse-maven-plugin.spec         |   49 +++++++++++++----------------------
 3 files changed, 29 insertions(+), 31 deletions(-)
---
diff --git a/.project b/.project
new file mode 100644
index 0000000..bbf970a
--- /dev/null
+++ b/.project
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>feclipse-maven-plugin</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+	</buildSpec>
+	<natures>
+	</natures>
+</projectDescription>
diff --git a/feclipse-maven-plugin-0.0.1.tar.gz b/feclipse-maven-plugin-0.0.1.tar.gz
new file mode 100644
index 0000000..6da2e86
Binary files /dev/null and b/feclipse-maven-plugin-0.0.1.tar.gz differ
diff --git a/feclipse-maven-plugin.spec b/feclipse-maven-plugin.spec
index 3aa2305..6456b35 100644
--- a/feclipse-maven-plugin.spec
+++ b/feclipse-maven-plugin.spec
@@ -1,25 +1,27 @@
 Name:           feclipse-maven-plugin
-Version:        0.0.1-SNAPSHOT
+Version:        0.0.1
 Release:        1%{?dist}
-Summary:        installer Maven Mojo
+Summary:        Eclipse repo2runnable Maven Mojo
 
 Group:          Development/Libraries
-License:        
+License:        ASL 2.0
 URL:            http://maven.apache.org
-Source0:        #FIXME
-BuildArch: noarch
+Source0:        https://git.fedorahosted.org/cgit/feclipse-maven-plugin.git/snapshot/feclipse-maven-plugin-0.0.1.tar.gz
+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)
+BuildRequires: maven-local
 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
-
+A Maven plugin that transform Eclipse P2 repository into a runnable form,
+so the repository can be put into dropins folder.
 
 %package javadoc
 Group:          Documentation
@@ -29,40 +31,25 @@ Requires:       jpackage-utils
 %description javadoc
 API documentation for %{name}.
 
-
 %prep
-%setup -q #You may need to update this according to your Source0
+%setup -q
 
 %build
-mvn-rpmbuild \
-        -e \
-        install javadoc:javadoc
+cd installer
+%mvn_build
 
 %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
+cd installer
+%mvn_install
 
-%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 -f installer/.mfiles
+%dir %{_javadir}/%{name}
 
-%files
-%{_javadir}/*
-%{_mavenpomdir}/*
-%{_mavendepmapfragdir}/*
+%files javadoc -f installer/.mfiles-javadoc
 
-%files javadoc
-%{_javadocdir}/%{name}
 
 %changelog
+* Wed May 1 2013 Krzysztof Daniel <kdaniel at redhat.com> 0.0.1-1
+- Initial import (RHBZ 958431)
 
-#FIXME
diff --git a/sources b/sources
new file mode 100644
index 0000000..e69de29


More information about the scm-commits mailing list