[java-sig-commits] [jetty-toolchain] Added build section (available for overriding)

Stanislav Ochotnicky sochotni at fedoraproject.org
Fri Nov 4 10:07:45 UTC 2011


commit 0ab45af0839e25d8f4a57b817199a594d9e7842f
Author: Stanislav Ochotnicky <sochotnicky at redhat.com>
Date:   Thu Nov 3 18:15:45 2011 +0100

    Added build section (available for overriding)

 .gitignore           |    1 +
 .rpmlint             |    3 ++
 jetty-toolchain.spec |   53 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sources              |    1 +
 4 files changed, 58 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..27c8aab 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/jetty-toolchain-1.4.tar.bz2
diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 0000000..7adb64b
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,3 @@
+# license is part of pom
+addFilter('W: no-documentation')
+
diff --git a/jetty-toolchain.spec b/jetty-toolchain.spec
new file mode 100644
index 0000000..c277a21
--- /dev/null
+++ b/jetty-toolchain.spec
@@ -0,0 +1,53 @@
+Name:           jetty-toolchain
+Version:        1.4
+Release:        2%{?dist}
+Summary:        Jetty Toolchain main POM file
+
+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
+# rpmlint config file (fedpkg lint will use this)
+Source1:        .rpmlint
+BuildArch:      noarch
+
+BuildRequires:  maven
+BuildRequires:  jpackage-utils
+BuildRequires:  jetty-parent
+
+Requires:       maven
+Requires:       jpackage-utils
+Requires:       jetty-parent
+
+%description
+Jetty Toolchain main POM file
+
+%prep
+%setup -q
+
+%build
+pushd %{name}
+mvn-rpmbuild install
+
+%install
+# poms
+install -d -m 755 %{buildroot}%{_mavenpomdir}
+pushd %{name}
+install -pm 644 pom.xml \
+    %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
+
+%add_maven_depmap JPP-%{name}.pom
+popd
+
+%files
+%{_mavenpomdir}/JPP-%{name}.pom
+%{_mavendepmapfragdir}/%{name}
+
+
+%changelog
+* Thu Nov  3 2011 Stanislav Ochotnicky <sochotnicky at redhat.com> - 1.4-2
+- Added build section (available for overriding)
+
+* Wed Nov  2 2011 Stanislav Ochotnicky <sochotnicky at redhat.com> - 1.4-1
+- Initial version
+
diff --git a/sources b/sources
index e69de29..5080e95 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+de4cc29b8067c713414e8537b198f9da  jetty-toolchain-1.4.tar.bz2


More information about the java-sig-commits mailing list