gil pushed to javawriter (f22). "Initial import (#1207946)."
notifications at fedoraproject.org
notifications at fedoraproject.org
Mon Apr 6 11:11:39 UTC 2015
>From 023a28afd40bedf6e7aec864cfebee8cb67621e8 Mon Sep 17 00:00:00 2001
From: gil <puntogil at libero.it>
Date: Mon, 6 Apr 2015 13:04:42 +0200
Subject: Initial import (#1207946).
diff --git a/.gitignore b/.gitignore
index e69de29..a22df1c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/javawriter-2.5.1.tar.gz
diff --git a/javawriter.spec b/javawriter.spec
new file mode 100644
index 0000000..a9cf7a5
--- /dev/null
+++ b/javawriter.spec
@@ -0,0 +1,56 @@
+Name: javawriter
+Version: 2.5.1
+Release: 1%{?dist}
+Summary: A Java API for generating .java source files
+License: ASL 2.0
+URL: https://github.com/square/javapoet
+Source0: https://github.com/square/javapoet/archive/%{name}-%{version}.tar.gz
+
+BuildRequires: maven-local
+BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
+
+%if 0
+# Test deps
+BuildRequires: mvn(junit:junit)
+# Unavailable test deps
+BuildRequires: mvn(org.easytesting:fest-assert-core:2.0M8)
+%endif
+
+BuildArch: noarch
+
+%description
+A utility class which aids in generating Java source files.
+
+%package javadoc
+Summary: Javadoc for %{name}
+
+%description javadoc
+This package contains javadoc for %{name}.
+
+%prep
+%setup -q -n javapoet-%{name}-%{version}
+
+%pom_xpath_remove "pom:dependency[pom:scope = 'test']"
+
+%pom_remove_plugin :maven-checkstyle-plugin
+
+%mvn_file : %{name}
+
+%build
+
+# Unavailable test deps: org.easytesting:fest-assert-core:2.0M8
+%mvn_build -f
+
+%install
+%mvn_install
+
+%files -f .mfiles
+%doc CHANGELOG.md CONTRIBUTING.md README.md
+%license LICENSE.txt
+
+%files javadoc -f .mfiles-javadoc
+%license LICENSE.txt
+
+%changelog
+* Tue Mar 31 2015 gil cattaneo <puntogil at libero.it> 2.5.1-1
+- initial rpm
diff --git a/sources b/sources
index e69de29..dd141fa 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+cfd954a84fcfa159842df24341812d83 javawriter-2.5.1.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/javawriter.git/commit/?h=f22&id=023a28afd40bedf6e7aec864cfebee8cb67621e8
More information about the scm-commits
mailing list