%define pkg_name XML-Atom-Syndication %define pkg_version 0.94 %define rpm_pkg_version 0.94 %define rpm_pkg_release 1.n0i.5 Summary: A simple lightweight client for consuming Atom syndication feeds Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/T/TI/TIMA/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: perl(ExtUtils::MakeMaker) %if %{!?_without_test:1}0 BuildRequires: perl(Class::ErrorHandler) BuildRequires: perl(MIME::Base64) BuildRequires: perl(XML::Elemental) >= 2 BuildRequires: perl(XML::Writer) >= 0.6 %endif %description While the real strength of the Atom effort is the API and its unified format, retreiving feeds over HTTP and consuming their contents, similar like with RSS, will be a common use. The module endeavors to provide developers with a package that is simple, lightweight and easy install. %prep %setup -q -n %{pkg_name}-%{pkg_version} %{__find} . -name '._*' -delete %{fix_eol} %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 May 22 2007 Marius Feraru - 0.94-1.n0i.5 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 - version 0.94 * Tue Jun 20 2006 Marius Feraru - 0.92-1.n0i.4 - version 0.92 * Mon Mar 27 2006 Marius Feraru - 0.90_1-1.n0i.3.0.901 - version 0.901 * Wed Aug 17 2005 Marius FERARU 0.09_1-1.n0i.2.0.091 - version 0.091 * Mon Aug 01 2005 Marius Feraru 0.09-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7