[pgsphere] Importing pgsphere

Sergio Pascual sergiopr at fedoraproject.org
Sun Jul 3 07:55:36 UTC 2011


commit 43bf5ce38d014eb333098778294f85e554b2599c
Author: Sergio Pascual <sergiopr at fis.ucm.es>
Date:   Sun Jul 3 09:52:08 2011 +0200

    Importing pgsphere

 .gitignore    |    1 +
 pgsphere.spec |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 sources       |    1 +
 3 files changed, 48 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..1bfc970 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pgsphere-1.1.1.tar.gz
diff --git a/pgsphere.spec b/pgsphere.spec
new file mode 100644
index 0000000..3b9566c
--- /dev/null
+++ b/pgsphere.spec
@@ -0,0 +1,46 @@
+Summary: Spherical data types, functions, and operators for PostgreSQL
+Name: pgsphere
+Version: 1.1.1
+Release: 2%{?dist}
+License: BSD
+Group: Applications/Databases
+Source0: http://pgfoundry.org/frs/download.php/2558/%{name}-%{version}.tar.gz
+URL: http://pgfoundry.org/projects/pgsphere
+BuildRequires: postgresql-devel >= 8.0
+Requires: postgresql-server >= 8.0
+
+%description
+pgSphere is a server side module for PostgreSQL. It contains methods for 
+working with spherical coordinates and objects. It also supports indexing of 
+spherical objects.
+
+%prep
+%setup -q
+
+%build
+make USE_PGXS=1 %{?_smp_mflags} 
+
+%install
+rm -rf %{buildroot}
+
+install -d %{buildroot}%{_libdir}/pgsql/
+install -d %{buildroot}%{_datadir}/%{name}
+
+install -m 755 pg_sphere.so %{buildroot}%{_libdir}/pgsql/pg_sphere.so
+install -m 644 pg_sphere.sql %{buildroot}%{_datadir}/%{name}/
+
+%post -p /sbin/ldconfig 
+%postun -p /sbin/ldconfig 
+
+%files
+%doc COPYRIGHT.pg_sphere README.pg_sphere
+%{_datadir}/%{name}
+%{_libdir}/pgsql/pg_sphere.so
+
+%changelog
+* Thu Jun 30 2011 Sergio Pascual <sergiopr at fedoraproject.org> 1.1.1-2
+- Fix source url
+- Directory in datadir included
+
+* Tue Jan 11 2011 Sergio Pascual <sergiopr at fedoraproject.org> 1.1.1-1
+- Initial spec file
diff --git a/sources b/sources
index e69de29..7e2c4ff 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+5920835ef432c5b8925d16957121f940  pgsphere-1.1.1.tar.gz


More information about the scm-commits mailing list