File perl-Mail-Sendmail.spec of Package perl-Mail-Sendmail

#
# spec file for package perl-Mail-Sendmail (Version 0.79)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           perl-Mail-Sendmail
%define       real_name Mail-Sendmail
Summary:        Simple platform independent mailer
Url:            http://www.cpan.org/modules/by-module/Mail/
Group:          Development/Libraries/Perl
License:        Artistic License
Version:        0.79
Release:        100
Source:         %{real_name}-%{version}.tar.bz2
Patch0:         perl-Mail-Sendmail-Mailsend.patch
Requires:       perl = %{perl_version}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Simple platform independent e-mail from your perl script.



Authors:
--------
    Milivoj Ivkovic <mi@alma.ch>

%prep
%setup -n %{real_name}-%{version}
%patch0

%build
perl Makefile.PL 
make %{?jobs:-j%jobs}

%check
make test

%install
%perl_make_install
%perl_process_packlist

%clean
rm -rf %{buildroot}

%files 
%defattr(-, root, root)
%doc Changes README MANIFEST
%doc %{_mandir}/man?/*
%doc %{perl_vendorlib}/Mail/
%dir %{perl_vendorlib}/Mail
%dir %{perl_vendorarch}/auto/Mail
%{perl_vendorarch}/auto/Mail/Sendmail
%{perl_vendorlib}/Mail/*
/var/adm/perl-modules/%{name}

%changelog
* Sun Dec 21 2008 coolo@suse.de
- sync with build service
* Tue Feb 19 2008 coolo@suse.de
- fix perl dependencies
* Fri Feb 23 2007 tpatzig@suse.de
- initial package build
openSUSE Build Service is sponsored by