Search
j0ke.net Open Build Service
>
Projects
>
vhcs
>
perl-MIME-tools
> perl-MIME-tools.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File perl-MIME-tools.spec of Package perl-MIME-tools
%define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib) %define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch) %define real_name MIME-tools Summary: Perl modules for parsing (and creating!) MIME entities Name: perl-MIME-tools Version: 5.425 Release: 1 License: GPL Group: Applications/CPAN URL: http://search.cpan.org/dist/MIME-tools/ Source: http://www.cpan.org/modules/by-module/MIME/MIME-tools-%{version}.tar.gz #Patch: http://www.roaringpenguin.com/mimedefang/mime-tools-patch.txt #Patch1: MIME-Tools.diff BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch BuildRequires: perl(IO::Stringy) >= 1.211, perl-MailTools Requires: perl(IO::Stringy) >= 1.211, perl-MailTools >= 1.15 %description MIME-tools - modules for parsing (and creating!) MIME entities Modules in this toolkit : Abstract message holder (file, scalar, etc.), OO interface for decoding MIME messages, an extracted and decoded MIME entity, Mail::Field subclasses for parsing fields, a parsed MIME header (Mail::Header subclass), parser and tool for building your own MIME parser, and utilities. %prep %setup -n %{real_name}-%{version} #patch -p1 #patch1 -p1 %build %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}" %{__make} %{?_smp_mflags} #{__make} test %install %{__rm} -rf %{buildroot} %makeinstall ### Clean up buildroot %{__rm} -rf %{buildroot}%{perl_archlib} %{buildroot}%{perl_vendorarch} %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc COPYING INSTALLING MANIFEST README* examples/ %doc %{_mandir}/man3/*.3pm* %{perl_vendorlib}/MIME/ %changelog * Sun Apr 02 2006 VHCS Packager <vhcs@j0ke.net> - initial release