diff --git a/.cvsignore b/.cvsignore index e69de29..82a10fa 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +geos-2.2.1.tar.bz2 diff --git a/geos-config.in.patch b/geos-config.in.patch new file mode 100644 index 0000000..84ec00c --- /dev/null +++ b/geos-config.in.patch @@ -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 diff --git a/geos.spec b/geos.spec new file mode 100644 index 0000000..68678a4 --- /dev/null +++ b/geos.spec @@ -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 - 2.2.1-1 +- Updated to address review comments in bug 17039 + +* Fri Dec 30 2005 Shawn McCann - 2.2.1-1 +- Initial release diff --git a/sources b/sources index e69de29..9adb480 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +272132bfb64422915d0f748f5e26932b geos-2.2.1.tar.bz2