File perl-Email-MIME-ContentType.spec of Package perl-Email-MIME-ContentType

%define modname	Email-MIME-ContentType
Name:           perl-%{modname}
Version:        1.014
Release:        1
Summary:        Parse a MIME Content-Type Header
BuildRequires:  perl
BuildRequires:  perl-macros
License:        GPL/Artistic
Group:          Development/Libraries/Perl
Source:         %{modname}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-root
%{perl_requires}

%description
This routine parses email content type headers according to section 5.1 of RFC
2045. It returns a hash as above, with entries for the discrete type, the
composite type, and a hash of attributes.

Authors:
--------
    Casey West <casey@geeknest.com>
    Simon Cozens <simon@cpan.org>

%prep
%setup -q -n %{modname}-%{version}

%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
make
make test

%install
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist

%clean
rm -rf %{buildroot}

%files
%defattr(-, root, root)
%doc Changes LICENSE README
%doc %{_mandir}/man?/*
%{perl_vendorlib}/Email
%{perl_vendorarch}/auto/Email

%changelog

* Fri Sep 14 2007 - James Oakley <jfunk@funktronics.ca> - 1.014-1
- Initial release
openSUSE Build Service is sponsored by