[spatial4j] Initial import (#1002154).

gil gil at fedoraproject.org
Thu Jan 23 14:30:12 UTC 2014


commit 410b2ac1637d6a86392b0e4531e4a6945654959a
Author: gil <puntogil at libero.it>
Date:   Thu Jan 23 15:30:23 2014 +0100

    Initial import (#1002154).

 .gitignore     |    1 +
 sources        |    1 +
 spatial4j.spec |   61 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 63 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..65a1af5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/spatial4j-0.4.tar.gz
diff --git a/sources b/sources
index e69de29..7026058 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+54b5e9b7c0438b36947d68622ad4bc20  spatial4j-0.4.tar.gz
diff --git a/spatial4j.spec b/spatial4j.spec
new file mode 100644
index 0000000..85d8567
--- /dev/null
+++ b/spatial4j.spec
@@ -0,0 +1,61 @@
+Name:          spatial4j
+Version:       0.4
+Release:       1%{?dist}
+Summary:       A Geospatial Library for Java
+License:       ASL 2.0
+URL:           https://github.com/spatial4j
+Source0:       https://github.com/spatial4j/spatial4j/archive/%{name}-%{version}.tar.gz
+
+BuildRequires: mvn(com.vividsolutions:jts)
+BuildRequires: mvn(org.sonatype.oss:oss-parent)
+
+# test deps
+%if 0
+BuildRequires: mvn(com.carrotsearch.randomizedtesting:randomizedtesting-runner)
+BuildRequires: mvn(junit:junit)
+BuildRequires: mvn(org.slf4j:slf4j-simple)
+%endif
+BuildRequires: maven-local
+
+BuildArch:     noarch
+
+%description
+Spatial4j is a general purpose spatial/geospatial Java library.
+It's core capabilities are 3-fold: to provide common geospatially-aware shapes,
+to provide distance calculations and other math, and to read and write the
+shapes to strings.
+
+%package javadoc
+Summary:       Javadoc for %{name}
+
+%description javadoc
+This package contains javadoc for %{name}.
+
+%prep
+%setup -q -n %{name}-%{name}-%{version}
+
+# unavailable mvn plugin
+%pom_remove_plugin de.thetaphi:forbiddenapis
+
+%build
+
+%mvn_file : %{name}
+# Test skipped for unavailable test deps
+%mvn_build
+#-f
+
+%install
+%mvn_install
+
+%files -f .mfiles
+%doc CHANGES.md LICENSE.txt README.textile
+
+%files javadoc -f .mfiles-javadoc
+%doc LICENSE.txt
+
+%changelog
+* Thu Jan 23 2014 gil cattaneo <puntogil at libero.it> 0.4-1
+- update to 0.4
+
+* Mon Aug 26 2013 gil cattaneo <puntogil at libero.it> 0.3-1
+- initial rpm
\ No newline at end of file


More information about the scm-commits mailing list