[svn] r5637 - in trunk/rpms: . geos

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Tue Jul 24 18:44:46 CEST 2007


Author: dries
Date: 2007-07-24 18:44:44 +0200 (Tue, 24 Jul 2007)
New Revision: 5637

Added:
   trunk/rpms/geos/
   trunk/rpms/geos/geos.spec
Log:
add

Added: trunk/rpms/geos/geos.spec
===================================================================
--- trunk/rpms/geos/geos.spec	                        (rev 0)
+++ trunk/rpms/geos/geos.spec	2007-07-24 16:44:44 UTC (rev 5637)
@@ -0,0 +1,71 @@
+# $Id$
+# Authority: dries
+# Upstream: Paul Ramsey <pramsey$refractions,net>
+
+Summary: GEOS (Geometry Engine, Open Source) topology library
+Name: geos
+Version: 2.2.3
+Release: 1
+License: LGPL
+Group: System Environment/Libraries
+URL: http://geos.refractions.net/
+
+Source: http://geos.refractions.net/geos-%{version}.tar.bz2
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: gcc-c++
+
+%description
+GEOS is a complete C++ implementation of the functions and predicates defined 
+in the OpenGIS "Simple Features for SQL" specification. It includes high 
+quality implementations of all the important spatial relationships and 
+operations, robust versions of all functions in the dimensionally extended 
+9 intersection predicate model, implementations of the operators, Buffer(), 
+Union(), and Intersection(), and all other SFSQL functions including Area(), 
+Length(), Centroid(), etc.
+
+%package devel
+Summary: Header files, libraries and development documentation for %{name}.
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+This package contains the header files, static libraries and development
+documentation for %{name}. If you like to develop programs using %{name},
+you will need to install %{name}-devel.
+
+%prep
+%setup
+
+%build
+%configure
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} install DESTDIR="%{buildroot}"
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO
+%{_bindir}/geos-config
+%{_libdir}/libgeos*.so.*
+
+%files devel
+%{_bindir}/XMLTester
+%{_includedir}/geos*.h
+%{_includedir}/geos/
+%{_libdir}/libgeos*.so
+%exclude %{_libdir}/libgeos*.a
+%exclude %{_libdir}/libgeos*.la
+
+%changelog
+* Mon Jul 23 2007 Dayne Broderson <dayne at alaska.edu> - 2.2.3-1
+- Initial package, based on a spec file made by Mapping Hacks.



More information about the svn-commits mailing list