[packages/perl-Geo-ShapeFile] - initial, version 2.60

adwol adwol at pld-linux.org
Sat Apr 18 14:31:34 CEST 2015


commit d5914522968f150342d96cd38afceeecc679c2f5
Author: Adam Osuchowski <adwol at pld-linux.org>
Date:   Sat Apr 18 14:31:15 2015 +0200

    - initial, version 2.60

 perl-Geo-ShapeFile.spec | 64 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 64 insertions(+)
---
diff --git a/perl-Geo-ShapeFile.spec b/perl-Geo-ShapeFile.spec
new file mode 100644
index 0000000..d77d7c8
--- /dev/null
+++ b/perl-Geo-ShapeFile.spec
@@ -0,0 +1,64 @@
+#
+# Conditional build:
+%bcond_with	tests		# do not perform "make test"
+#
+%define		pdir	Geo
+%define		pnam	ShapeFile
+%include	/usr/lib/rpm/macros.perl
+Summary:	Geo::ShapeFile - Perl extension for handling ESRI GIS Shapefiles
+Summary(pl.UTF-8):	Geo::ShapeFile - rozszerzenie Perla do obsługi plików w formacie ESRI Shapefile
+Name:		perl-Geo-ShapeFile
+Version:	2.60
+Release:	1
+License:	BSD
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/Geo/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	25a95e2b9644b78a8d0810d1a5d3b13b
+URL:		http://search.cpan.org/dist/Geo-ShapeFile/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl(rlib)
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The Geo::ShapeFile module reads ESRI ShapeFiles containing GIS
+mapping data, it has support for shp (shape), shx (shape index),
+and dbf (data base) formats.
+
+%description -l pl.UTF-8
+Moduł Geo::ShapeFile czyta pliki w formacie ESRI ShapeFile
+zawierające dane GIS. Rozpoznaje pliki shp (kształty),
+shx (indeksy) i dbf (dane atrybutów).
+
+%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} pure_install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a eg/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/Geo/*.pm
+%{perl_vendorlib}/Geo/ShapeFile
+%{_mandir}/man3/*
+%{_examplesdir}/%{name}-%{version}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Geo-ShapeFile.git/commitdiff/d5914522968f150342d96cd38afceeecc679c2f5



More information about the pld-cvs-commit mailing list