84 lines
2.1 KiB
RPMSpec
84 lines
2.1 KiB
RPMSpec
Name: geos
|
|
Version: 2.2.1
|
|
Release: 2%{?dist}
|
|
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
|
|
Patch1: geos-2.2.1-gcc4.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
|
|
%patch1 -p1
|
|
|
|
%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
|
|
* Wed Jan 11 2006 Ralf Corsépius <rc040203@freenet.de> - 2.2.1-2
|
|
- Add gcc4 patch
|
|
|
|
* 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
|