auto-import geos-2.2.1-1 on branch devel from geos-2.2.1-1.src.rpm
This commit is contained in:
parent
ed6f86f062
commit
ec62607591
@ -0,0 +1 @@
|
||||
geos-2.2.1.tar.bz2
|
||||
19
geos-config.in.patch
Normal file
19
geos-config.in.patch
Normal file
@ -0,0 +1,19 @@
|
||||
--- tools/geos-config.in~ 2006-01-05 16:55:49.000000000 -0800
|
||||
+++ tools/geos-config.in 2006-01-05 16:56:33.000000000 -0800
|
||||
@@ -32,13 +32,13 @@
|
||||
echo @VERSION@
|
||||
;;
|
||||
--cflags)
|
||||
- echo -I@prefix@/include
|
||||
+ echo
|
||||
;;
|
||||
--libs)
|
||||
- echo -L@prefix@/lib -lgeos
|
||||
+ echo -lgeos
|
||||
;;
|
||||
--ldflags)
|
||||
- echo -L@prefix@/lib
|
||||
+ echo
|
||||
;;
|
||||
--includes)
|
||||
echo @prefix@/include
|
||||
78
geos.spec
Normal file
78
geos.spec
Normal file
@ -0,0 +1,78 @@
|
||||
Name: geos
|
||||
Version: 2.2.1
|
||||
Release: 1
|
||||
Summary: GEOS is a C++ port of the Java Topology Suite
|
||||
|
||||
Group: Applications/Engineering
|
||||
License: LGPL
|
||||
URL: http://geos.refractions.net
|
||||
Source0: http://geos.refractions.net/%{name}-%{version}.tar.bz2
|
||||
Patch0: geos-config.in.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: doxygen
|
||||
|
||||
%description
|
||||
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology
|
||||
Suite (JTS). As such, it aims to contain the complete functionality of
|
||||
JTS in C++. This includes all the OpenGIS "Simple Features for SQL" spatial
|
||||
predicate functions and spatial operators, as well as specific JTS topology
|
||||
functions such as IsValid()
|
||||
|
||||
%package devel
|
||||
Summary: Development files for GEOS
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology
|
||||
Suite (JTS). As such, it aims to contain the complete functionality of
|
||||
JTS in C++. This includes all the OpenGIS "Simple Features for SQL" spatial
|
||||
predicate functions and spatial operators, as well as specific JTS topology
|
||||
functions such as IsValid()
|
||||
|
||||
This package contains the development files to build applications that
|
||||
use GEOS
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p0 -b .buildroot
|
||||
|
||||
%build
|
||||
%configure --disable-static --disable-dependency-tracking
|
||||
make %{?_smp_mflags}
|
||||
|
||||
# Make doxygen documentation files
|
||||
cd doc
|
||||
make doxygen-html
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%makeinstall
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING NEWS README TODO
|
||||
%{_libdir}/libgeos*.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc doc/doxygen_docs
|
||||
%{_bindir}/geos-config
|
||||
%{_includedir}/*
|
||||
%{_libdir}/*.so
|
||||
%exclude %{_bindir}/XMLTester
|
||||
%exclude %{_libdir}/*.la
|
||||
|
||||
%changelog
|
||||
* Sat Dec 31 2005 Shawn McCann <smccann@canasoft.ca> - 2.2.1-1
|
||||
- Updated to address review comments in bug 17039
|
||||
|
||||
* Fri Dec 30 2005 Shawn McCann <smccann@canasoft.ca> - 2.2.1-1
|
||||
- Initial release
|
||||
Loading…
Reference in New Issue
Block a user