perl-WWW-Google-SiteMap/perl-WWW-Google-SiteMap.spec

Name: perl-WWW-Google-SiteMap
Summary: Perl module to create sitemaps
Version: 1.10
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/WWW-Google-SiteMap/
Description: perl-WWW-Google-SiteMap is a Perl module to create sitemaps.

This package contains the following Perl modules:

WWW::Google::SiteMap
WWW::Google::SiteMap::Index
WWW::Google::SiteMap::Ping
WWW::Google::SiteMap::Robot
WWW::Google::SiteMap::URL

CentOS 7 x86_64

The build could not start because the following file is missing: WWW-Google-SiteMap-1.10.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: WWW-Google-SiteMap-1.10.tar.gz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag
# Upstream: Jason Kohles <cpan$jasonkohles,com>

%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)

%define real_name WWW-Google-SiteMap

Summary: Perl module to create sitemaps
Name: perl-WWW-Google-SiteMap
Version: 1.10
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/WWW-Google-SiteMap/

Source: http://www.cpan.org/modules/by-module/WWW/WWW-Google-SiteMap-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
BuildRequires: perl, perl(ExtUtils::MakeMaker)
BuildRequires: perl(IO::File)
BuildRequires: perl(XML::Twig)


%description
perl-WWW-Google-SiteMap is a Perl module to create sitemaps.

This package contains the following Perl modules:

    WWW::Google::SiteMap
    WWW::Google::SiteMap::Index
    WWW::Google::SiteMap::Ping
    WWW::Google::SiteMap::Robot
    WWW::Google::SiteMap::URL

%prep
%setup -n %{real_name}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}" --skipdeps
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install

### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc Changes MANIFEST META.yml README
%doc %{_mandir}/man3/*.3pm*
%dir %{perl_vendorlib}/WWW/
%dir %{perl_vendorlib}/WWW/Google/
%{perl_vendorlib}/WWW/Google/SiteMap/
%{perl_vendorlib}/WWW/Google/SiteMap.pm

%changelog
* Tue Sep  1 2009 Christoph Maser <cmr@financial.com> - 1.10-1
- Updated to version 1.10.

* Mon Sep 18 2006 Dries Verachtert <dries@ulyssis.org> - 1.09-1
- Updated to release 1.09.

* Fri Jun  2 2006 Dries Verachtert <dries@ulyssis.org> - 1.08-1
- Updated to release 1.08.

* Sun Mar 26 2006 Dries Verachtert <dries@ulyssis.org> - 1.07-1
- Updated to release 1.07.

* Sat Jan  7 2006 Dries Verachtert <dries@ulyssis.org> - 1.04-1
- Updated to release 1.04.

* Fri Dec  9 2005 Dries Verachtert <dries@ulyssis.org> - 1.03-1
- Initial package.