[java-sig-commits] [jetty-distribution-remote-resources] Initial commit

Stanislav Ochotnicky sochotni at fedoraproject.org
Wed Dec 21 12:11:40 UTC 2011


commit c2434a491368513f86a8c352d86cda9d6034adec
Author: Stanislav Ochotnicky <sochotnicky at redhat.com>
Date:   Wed Dec 21 13:06:22 2011 +0100

    Initial commit

 .gitignore                               |    1 +
 jetty-distribution-remote-resources.spec |   53 ++++++++++++++++++++++++++++++
 sources                                  |    1 +
 3 files changed, 55 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a9f43c5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/jetty-distribution-remote-resources-1.1.tar.bz2
diff --git a/jetty-distribution-remote-resources.spec b/jetty-distribution-remote-resources.spec
new file mode 100644
index 0000000..fc0b9ec
--- /dev/null
+++ b/jetty-distribution-remote-resources.spec
@@ -0,0 +1,53 @@
+Name:           jetty-distribution-remote-resources
+Version:        1.1
+Release:        2%{?dist}
+Summary:        Jetty toolchain artifact for distribution remote resources
+
+Group:          Development/Libraries
+License:        ASL 2.0 or EPL
+URL:            http://www.eclipse.org/jetty/
+Source0:        http://git.eclipse.org/c/jetty/org.eclipse.jetty.toolchain.git/snapshot/%{name}-%{version}.tar.bz2
+BuildArch:      noarch
+
+BuildRequires:  jpackage-utils
+BuildRequires:  maven
+BuildRequires:  maven-remote-resources-plugin
+BuildRequires:  jetty-toolchain
+
+Requires:       jpackage-utils
+Requires:       maven
+Requires:       maven-remote-resources-plugin
+Requires:       jetty-toolchain
+
+%description
+Jetty toolchain artifact for distribution remote distribution resources
+
+%prep
+%setup -q
+
+%build
+mvn-rpmbuild install javadoc:aggregate
+
+%install
+# poms
+install -d -m 755 %{buildroot}%{_mavenpomdir}
+install -pm 644 pom.xml \
+    %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
+install -Dp -m 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
+
+%add_maven_depmap JPP-%{name}.pom %{name}.jar
+
+%files
+%doc src/main/resources/LICENSE*
+%{_mavenpomdir}/JPP-%{name}.pom
+%{_javadir}/%{name}.jar
+%{_mavendepmapfragdir}/%{name}
+
+
+%changelog
+* Tue Dec 20 2011 Stanislav Ochotnicky <sochotnicky at redhat.com> - 1.1-2
+- Install license files as well
+
+* Wed Dec 14 2011 Stanislav Ochotnicky <sochotnicky at redhat.com> - 1.1-1
+- Initial version of the package
+
diff --git a/sources b/sources
index e69de29..d5628fc 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d1f201b420376e85c4281f70ed13233c  jetty-distribution-remote-resources-1.1.tar.bz2


More information about the java-sig-commits mailing list