%global pkg_name HTTP-Cookies-Mozilla %global pkg_version 1.12 %global rpm_pkg_version 1.12 %global rpm_pkg_release 1.n0i.4 Summary: Work with the Mozilla cookies.txt file 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/authors/id/B/BD/BDFOY/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl %if %{!?_without_test:1}0 BuildRequires: perl(HTTP::Cookies) >= 1.25 BuildRequires: perl(Text::Diff) %endif %description This package overrides the load() and save() methods of HTTP::Cookies so it can work with Mozilla cookie files. This module should be able to work with all Mozilla derived browsers (FireBird, Camino, et alia). %prep %setup -q -n %{pkg_name}-%{pkg_version} %{__perl} -pi -e "s{ (?<=\.)3(?=\') }{\\\$(MAN3EXT)}xs" Makefile.PL %build # tests are based on clumsy "internet" assumptions %{perl_build -t} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc Changes LICENSE README %changelog * Tue Nov 13 2007 Marius Feraru - 1.12-1.n0i.4 - version 1.12 - spec update (new reb00t build tools) * Wed Aug 01 2007 Marius Feraru - 1.11-1.n0i.3 - version 1.11 * Tue May 22 2007 Marius Feraru - 1.10-1.n0i.2 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 - version 1.10 * Sat Jul 01 2006 Marius Feraru - 1.09-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer v1.12.1 - rebuild on perl 5.8.8