%define pkg_name XML-Atom-Service %define pkg_version 0.15.4 %define rpm_pkg_version 0.15.4 %define rpm_pkg_release 1.n0i.3 Summary: Atom Service Document object Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/modules/by-module/XML/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: perl(Module::Build) BuildRequires: perl(Test::More) BuildRequires: perl(version) # it's not our job to critique one's coding style #BuildRequires: perl(Test::Perl::Critic) BuildRequires: perl(XML::Atom) >= 0.25 Requires: perl(XML::Atom) >= 0.25 # versioned dependency above %global perl_filter_req 'perl\\(XML::Atom\\)$' %description The Atom Publishing Protocol (Atompub) is a protocol for publishing and editing Web resources: http://www.ietf.org/internet-drafts/draft-ietf-atompub-protocol-17.txt XML::Atom::Service is a Service Document implementation. In the Atom Publishing Protocol, a client needs to first discover the capabilities and locations of Collections. The Service Document is designed to support this discovery process. The document describes the location and capabilities of Collections. %prep %setup -q -n %{pkg_name}-%{pkg_version} %{__mv} t/perlcritic.t t/perlcritic.t.orig %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc Changes README %changelog * Tue Sep 18 2007 Marius Feraru - 0.15.4-1.n0i.3 - version 0.15.4 * Sat Sep 15 2007 Marius Feraru - 0.15.2-1.n0i.2 - version 0.15.2 * Thu Sep 13 2007 Marius Feraru - 0.15.1-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer/1.14.10 - version 0.15.1