]> git.pld-linux.org Git - packages/geos.git/blobdiff - geos.spec
- updated to 3.4.2
[packages/geos.git] / geos.spec
index db36700938f9196f1401cf9b6dba155d00b1b828..e475a949f21cc812703c0c94cb978be8eca5083e 100644 (file)
--- a/geos.spec
+++ b/geos.spec
@@ -6,14 +6,14 @@
 Summary:       Geometry Engine - Open Source
 Summary(pl.UTF-8):     GEOS - silnik geometryczny z otwartymi źródłami
 Name:          geos
-Version:       3.3.8
-Release:       2
+Version:       3.4.2
+Release:       1
 License:       LGPL v2.1
 Group:         Libraries
 Source0:       http://download.osgeo.org/geos/%{name}-%{version}.tar.bz2
-# Source0-md5: 75be476d0831a2d14958fed76ca266de
+# Source0-md5: fc5df2d926eb7e67f988a43a92683bae
 Patch0:                %{name}-ruby1.9.patch
-Patch1:                %{name}-am.patch
+Patch1:                rubydir.patch
 URL:           http://trac.osgeo.org/geos/
 BuildRequires: autoconf >= 2.52
 BuildRequires: automake
@@ -118,11 +118,7 @@ Wiązania języka Ruby do biblioteki GEOS.
 %configure \
        %{?with_php:--enable-php} \
        --enable-python \
-%if %{with ruby}
-       RUBY_EXTENSION_DIR=%{ruby_vendorarchdir} \
-       --enable-ruby \
-%endif
-
+       %{?with_ruby:--enable-ruby}
 
 %{__make} \
        pkglibdir=%{_libdir}
@@ -142,7 +138,7 @@ extension=geos.so
 EOF
 %endif
 
-%{?with_ruby:%{__rm} $RPM_BUILD_ROOT%{ruby_sitearchdir}/*.{la,a}}
+%{?with_ruby:%{__rm} $RPM_BUILD_ROOT%{ruby_vendorarchdir}/*.{la,a}}
 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/geos/*.{la,a}
 
 %py_postclean
This page took 0.082616 seconds and 4 git commands to generate.