File: perl-Geo-GoogleEarth-Pluggable.spec

package info (click to toggle)
libgeo-googleearth-pluggable-perl 0.15-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 332 kB
  • sloc: perl: 817; makefile: 14
file content (62 lines) | stat: -rw-r--r-- 1,908 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
Name:           perl-Geo-GoogleEarth-Pluggable
Version:        0.15
Release:        1%{?dist}
Summary:        Generates GoogleEarth Documents
License:        BSD
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Geo-GoogleEarth-Pluggable/
Source0:        http://www.cpan.org/modules/by-module/Geo/Geo-GoogleEarth-Pluggable-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(Test::Simple) >= 0.44
BuildRequires:  perl(Archive::Zip)
BuildRequires:  perl(IO::Scalar)
BuildRequires:  perl(Method::Autoload)
BuildRequires:  perl(Module::Pluggable)
BuildRequires:  perl(XML::LibXML::LazyBuilder)
BuildRequires:  perl(Package::New)
Requires:       perl(Archive::Zip)
Requires:       perl(IO::Scalar)
Requires:       perl(Method::Autoload)
Requires:       perl(Module::Pluggable)
Requires:       perl(XML::LibXML::LazyBuilder)
Requires:       perl(Package::New)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
Geo::GoogleEarth::Pluggable is a Perl object oriented interface that allows
for the creation of XML documents that can be used with Google Earth.

%prep
%setup -q -n Geo-GoogleEarth-Pluggable-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT

make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT

find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} $RPM_BUILD_ROOT/*

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc Changes LICENSE README Todo
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Mon Dec 27 2010 Michael R. Davis (mdavis@stopllc.com) 0.12-1
- Specfile autogenerated by cpanspec 1.78.