[jdeparser] Initial import

Marek Goldmann goldmann at fedoraproject.org
Fri May 31 07:55:50 UTC 2013


commit 6894bb35ece8824ce2edad56b7c7d52d717073ee
Author: Marek Goldmann <marek.goldmann at gmail.com>
Date:   Wed May 29 16:02:15 2013 +0200

    Initial import

 .gitignore     |    1 +
 jdeparser.spec |   53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources        |    1 +
 3 files changed, 55 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a196df8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/jdeparser-1.0.0.Final.tar.xz
diff --git a/jdeparser.spec b/jdeparser.spec
new file mode 100644
index 0000000..62e12b1
--- /dev/null
+++ b/jdeparser.spec
@@ -0,0 +1,53 @@
+%global namedreltag .Final
+%global namedversion %{version}%{?namedreltag}
+
+Name:             jdeparser
+Version:          1.0.0
+Release:          1%{?dist}
+Summary:          Source generator library for Java
+Group:            Development/Libraries
+# See README.md
+License:          (CDDL or GPLv2 with exceptions) and MIT
+URL:              https://github.com/jdeparser/jdeparser
+
+# git clone git://github.com/jdeparser/jdeparser.git
+# cd jdeparser && git archive --format=tar --prefix=jdeparser-1.0.0.Final/ 1.0.0.Final | xz > jdeparser-1.0.0.Final.tar.xz
+Source0:          jdeparser-%{namedversion}.tar.xz
+BuildArch:        noarch
+
+BuildRequires:    maven-local
+
+%description
+This project is a fork of Sun's (now Oracle's) com.sun.codemodel project. We
+decided to fork the project because by all evidence, the upstream project is
+dead and not actively accepting outside contribution. All JBoss projects are
+urged to use this project instead for source code generation.
+
+%package javadoc
+Summary:        Javadocs for %{name}
+Group:          Documentation
+
+%description javadoc
+This package contains the API documentation for %{name}.
+
+%prep
+%setup -q -n jdeparser-%{namedversion}
+
+%build
+%mvn_build
+
+%install
+%mvn_install
+
+%files -f .mfiles
+%dir %{_javadir}/%{name}
+%doc LICENSE-original.html
+%doc README.md
+
+%files javadoc -f .mfiles-javadoc
+%doc LICENSE-original.html
+
+%changelog
+* Wed May 29 2013 Marek Goldmann <mgoldman at redhat.com> - 1.0.0-1
+- Initial packaging
+
diff --git a/sources b/sources
index e69de29..479dd86 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+4c53a1726ea6ddd471f903d8573613ff  jdeparser-1.0.0.Final.tar.xz


More information about the scm-commits mailing list