perl-XML-Atom/perl-XML-Atom.spec

Name: perl-XML-Atom
Summary: Atom API and Feed Support
Version: 0.37
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/XML-Atom/
Description: Atom API and Feed Support.

CentOS 7 x86_64

The build was succesful. The following RPMs were generated:

Build Status

CentOS 6 x86_64

The build was succesful. The following RPMs were generated:

Build Status

Contents

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

# $Id$
# Authority: dries
# Upstream: Benjamin Trott <cpan$stupidfool,org>
# ExcludeDist: el4

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

%define real_name XML-Atom

Summary: Atom API and Feed Support
Name: perl-XML-Atom
Version: 0.37
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/XML-Atom/

Source: http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/XML-Atom-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
BuildRequires: perl(Class::Data::Inheritable)
BuildRequires: perl(DateTime)
BuildRequires: perl(Digest::SHA1)
#BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(LWP::UserAgent)
BuildRequires: perl(MIME::Base64)
BuildRequires: perl(URI)
BuildRequires: perl(XML::LibXML) >= 1.69
BuildRequires: perl(XML::XPath)
BuildRequires: perl >= 5.8.1
Requires: perl(Class::Data::Inheritable)
Requires: perl(DateTime)
Requires: perl(Digest::SHA1)
Requires: perl(LWP::UserAgent)
Requires: perl(MIME::Base64)
Requires: perl(URI)
Requires: perl(XML::LibXML) >= 1.69
Requires: perl(XML::XPath)
Requires: perl >= 5.8.1

%filter_from_requires /^perl*/d
%filter_setup


%description
Atom API and Feed Support.

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

%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}" 
%{__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/XML::Atom.3pm*
%doc %{_mandir}/man3/XML::Atom::*.3pm*
%dir %{perl_vendorlib}/XML/
%{perl_vendorlib}/XML/Atom/
%{perl_vendorlib}/XML/Atom.pm

%changelog
* Wed Dec 30 2009 Christoph Maser <cmr@financial.com> - 0.37-1
- Updated to version 0.37.

* Tue Dec 22 2009 Christoph Maser <cmr@financial.com> - 0.36-1
- Updated to version 0.36.

* Thu May 28 2009 Christoph Maser <cmr@financial.com> - 0.35-1
- Updated to release 0.35.

* Thu May 28 2009 Christoph Maser <cmr@financial.com> - 0.33-1
- Updated to release 0.33.
- use --skipdeps because installed perl-DateTime is not detected correctly

* Wed Nov 26 2008 Dag Wieers <dag@wieers.com> - 0.32-1
- Updated to release 0.32.

* Mon Nov 19 2007 Dag Wieers <dag@wieers.com> - 0.28-1
- Updated to release 0.28.

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

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

* Wed Dec 21 2005 Dries Verachtert <dries@ulyssis.org> - 0.16-1
- Initial package.