rpms/perl-Perlbal-XS-HTTPHeaders/EL-5 perl-Perlbal-XS-HTTPHeaders.spec, NONE, 1.1

Ruben Kerkhof (ruben) fedora-extras-commits at redhat.com
Wed Aug 22 07:13:44 UTC 2007


Author: ruben

Update of /cvs/pkgs/rpms/perl-Perlbal-XS-HTTPHeaders/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17866

Added Files:
	perl-Perlbal-XS-HTTPHeaders.spec 
Log Message:
include spec


--- NEW FILE perl-Perlbal-XS-HTTPHeaders.spec ---
Name:           perl-Perlbal-XS-HTTPHeaders
Version:        0.19
Release:        2%{?dist}
Summary:        Perlbal extension for processing HTTP headers
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Perlbal-XS-HTTPHeaders/
Source0:        http://search.cpan.org/CPAN/authors/id/M/MA/MARKSMITH/Perlbal-XS-HTTPHeaders-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  perl(Perlbal) perl(Test::More) perl(ExtUtils::MakeMaker)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
This module is used to read HTTP headers from a string and to parse them
into an internal storage format for easy access and modification. You can
also ask the module to reconstitute the headers into one big string, useful
if you're writing a proxy and need to read and write headers while
maintaining the ability to modify individual parts of the whole.

%prep
%setup -q -n Perlbal-XS-HTTPHeaders-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}

%install
rm -rf %{buildroot}

make pure_install PERL_INSTALL_ROOT=%{buildroot}

find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} %{buildroot}/*

%check
make test

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Perlbal*
%{_mandir}/man3/*

%changelog
* Fri Aug 17 2007 Ruben Kerkhof <ruben at rubenkerkhof.com> 0.19-2
- Correct license tag
* Sat May 12 2007 Ruben Kerkhof <ruben at rubenkerkhof.com> 0.19-1
- Initial import





More information about the fedora-extras-commits mailing list