Summary: Raster Algebra Library Name: ral Version: 0.61 Release: 0.n0i.1.svn116%{dist} Group: System Environment/Libraries License: LGPLv2+ URL: https://hoslab.cs.helsinki.fi/savane/projects/geoinformatica/ Source0: http://map.hut.fi/files/Geoinformatica/snapshots/libral-0.61.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gdk-pixbuf-devel BuildRequires: gdal-devel Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig %description Libral is a C library for raster algebra. Libral contains also a system for rendering geospatial data on a pixel buffer. Mainly for the latter purpose libral also contains a system for vector data (points, lines, rectangles, and polygons). Lastly, libral contains a set of functions for hydrological analysis. This package is named "ral" because there is already a project named "libral" ("an address book engine", see developer.berlios.de). %package devel Summary: Development tools for Raster Algebra Library Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: gdk-pixbuf-devel Requires: gdal-devel Requires: pkgconfig %description devel Development files for building libral based applications. %prep %setup -q -n libral-%{version} %build %configure --disable-static %{__make} %{?_smp_mflags} %install %{__rm} -rf $RPM_BUILD_ROOT %{__make} install DESTDIR=$RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc AUTHORS lesser.txt README %{_libdir}/libral.so.* %exclude %{_libdir}/libral.la %files devel %defattr(-,root,root,-) %doc index.dox ChangeLog TODO %{_includedir}/ral %{_includedir}/ral.h %{_libdir}/libral.so %{_libdir}/pkgconfig/libral.pc %changelog * Fri Sep 28 2007 Marius FERARU - 0.61-0.n0i.1.svn116 - initial packaging