Author: bartowl Date: Thu Jul 7 18:19:19 2005 GMT Module: SPECS Tag: HEAD ---- Log message: - initial release - STBR (checked locally)
---- Files affected: SPECS: perl-Geo-Shapelib.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/perl-Geo-Shapelib.spec diff -u /dev/null SPECS/perl-Geo-Shapelib.spec:1.1 --- /dev/null Thu Jul 7 20:19:19 2005 +++ SPECS/perl-Geo-Shapelib.spec Thu Jul 7 20:19:14 2005 @@ -0,0 +1,76 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_with tests # perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pdir Geo +%define pnam Shapelib +Summary: Geo::Shapelib - Perl extension for reading and writing shapefiles as defined by ESRI(r) +Summary(pl): Geo::Shapelib - rozszerzenie Perla o obsługę r/w plików ESRI(r) SHP +Name: perl-Geo-Shapelib +Version: 0.18 +Release: 1 +License: GPL +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +%if %{with tests} +BuildRequires: perl-Tree-R +%endif +Requires: perl-Tree-R +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This is a library for reading, creating, and writing shapefiles as defined by +ESRI(r) using Perl. The Perl code uses Frank Warmerdam's Shapefile C Library +(http://shapelib.maptools.org/). The library is included in this distribution. + +%description -l pl +Biblioteka ta umożliwia wczytywanie, tworzenie oraz zapisywanie tzw. shapefiles +zdefiniowanych przez ESRI(r) z poziomu Perla. Kod wykorzystuje bibliotekę C +Shapefile Franka Warmerdama (http://shapelib.maptools.org/). Biblioteka ta jest +załączona w pakiecie. + +%prep +%setup -q -n %{pdir}-%{pnam}-%{version} + +%build +%{__perl} Makefile.PL \ + INSTALLDIRS=vendor + +%{__make} + +%{?with_tests:%{__make} test} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc Changes README +%{perl_vendorarch}/Geo/Shapelib.pm +%{perl_vendorarch}/auto/Geo/Shapelib/Shapelib.bs +%{perl_vendorarch}/auto/Geo/Shapelib/shputils +%dir %{perl_vendorarch}/auto/Geo/Shapelib +%attr(755,root,root) %{perl_vendorarch}/auto/Geo/Shapelib/Shapelib.so +%{_mandir}/man3/* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2005/07/07 18:19:14 bartowl +- initial release +- STBR (checked locally) + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
