]> git.pld-linux.org Git - packages/perl-Geo-Shapelib.git/blob - perl-Geo-Shapelib.spec
perl 5.38.0 rebuild
[packages/perl-Geo-Shapelib.git] / perl-Geo-Shapelib.spec
1 #
2 # Conditional build:
3 %bcond_with     tests   # perform "make test"
4 #
5 %define         pdir    Geo
6 %define         pnam    Shapelib
7 Summary:        Geo::Shapelib - Perl extension for reading and writing shapefiles as defined by ESRI(r)
8 Summary(pl.UTF-8):      Geo::Shapelib - rozszerzenie Perla o obsługę r/w plików ESRI(r) SHP
9 Name:           perl-Geo-Shapelib
10 Version:        0.20
11 Release:        17
12 License:        GPL
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/Geo/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5:  ca0246d5b5c8950153a5c48eea0d2d2c
16 URL:            http://search.cpan.org/dist/Geo-Shapelib/
17 BuildRequires:  perl-devel >= 1:5.8.0
18 BuildRequires:  rpm-perlprov >= 4.1-13
19 %if %{with tests}
20 BuildRequires:  perl-Tree-R
21 %endif
22 Requires:       perl-Tree-R
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 This is a library for reading, creating, and writing shapefiles as
27 defined by ESRI(r) using Perl. The Perl code uses Frank Warmerdam's
28 Shapefile C Library (http://shapelib.maptools.org/). The library is
29 included in this distribution.
30
31 %description -l pl.UTF-8
32 Biblioteka ta umożliwia wczytywanie, tworzenie oraz zapisywanie tzw.
33 shapefiles zdefiniowanych przez ESRI(r) z poziomu Perla. Kod
34 wykorzystuje bibliotekę C Shapefile Franka Warmerdama
35 (http://shapelib.maptools.org/). Biblioteka ta jest załączona w
36 pakiecie.
37
38 %prep
39 %setup -q -n %{pdir}-%{pnam}-%{version}
40
41 %build
42 %{__perl} Makefile.PL \
43         INSTALLDIRS=vendor
44
45 %{__make}
46
47 %{?with_tests:%{__make} test}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc Changes README
61 %{perl_vendorarch}/Geo/Shapelib.pm
62 %dir %{perl_vendorarch}/auto/Geo/Shapelib
63 %{perl_vendorarch}/auto/Geo/Shapelib/shputils
64 %attr(755,root,root) %{perl_vendorarch}/auto/Geo/Shapelib/Shapelib.so
65 %{_mandir}/man3/*
This page took 0.059859 seconds and 4 git commands to generate.