]> git.pld-linux.org Git - packages/geos.git/blobdiff - geos.spec
- install ruvy module in vendorarch dir
[packages/geos.git] / geos.spec
index 96094708e179aaa05ee73b8e602dde96e8cebb39..db36700938f9196f1401cf9b6dba155d00b1b828 100644 (file)
--- a/geos.spec
+++ b/geos.spec
@@ -6,13 +6,14 @@
 Summary:       Geometry Engine - Open Source
 Summary(pl.UTF-8):     GEOS - silnik geometryczny z otwartymi źródłami
 Name:          geos
-Version:       3.3.2
-Release:       1
+Version:       3.3.8
+Release:       2
 License:       LGPL v2.1
 Group:         Libraries
 Source0:       http://download.osgeo.org/geos/%{name}-%{version}.tar.bz2
-# Source0-md5: 5b7270c73fd1c516f368af8fd1962323
+# Source0-md5: 75be476d0831a2d14958fed76ca266de
 Patch0:                %{name}-ruby1.9.patch
+Patch1:                %{name}-am.patch
 URL:           http://trac.osgeo.org/geos/
 BuildRequires: autoconf >= 2.52
 BuildRequires: automake
@@ -107,6 +108,7 @@ Wiązania języka Ruby do biblioteki GEOS.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__aclocal} -I macros
@@ -116,7 +118,11 @@ Wiązania języka Ruby do biblioteki GEOS.
 %configure \
        %{?with_php:--enable-php} \
        --enable-python \
-       %{?with_ruby:--enable-ruby}
+%if %{with ruby}
+       RUBY_EXTENSION_DIR=%{ruby_vendorarchdir} \
+       --enable-ruby \
+%endif
+
 
 %{__make} \
        pkglibdir=%{_libdir}
@@ -188,5 +194,5 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with ruby}
 %files -n ruby-geos
 %defattr(644,root,root,755)
-%attr(755,root,root) %{ruby_sitearchdir}/geos.so
+%attr(755,root,root) %{ruby_vendorarchdir}/geos.so
 %endif
This page took 0.256529 seconds and 4 git commands to generate.