В сообщении от 1 июня 2010 15:48:14 автор Yury V. Zaytsev написал:
> Having a package draft would be of help, otherwise Christoph or Steve
> might look at it when they have time.

I used cpanspec tool to generate specfile and modified it a bit to be saner 
(added BuildRequires and modified description a bit). See attachment.

Thanks.
-- 
George A. Nikandrov
ZAO "Lanit-Tercom"
Name:           perl-Net-SMTP_auth
Version:        0.08
Release:        2%{?dist}
Summary:        Simple Mail Transfer Protocol Client with AUTHentication
License:        Artistic or GPL
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Net-SMTP_auth/
Source0:        http://www.cpan.org/modules/by-module/Net/Net-SMTP_auth-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:	perl(Net::SMTP)
BuildRequires:	perl(Authen::SASL)
BuildRequires:	perl(Digest::HMAC_MD5)
BuildRequires:	perl(MIME::Base64)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))


%description
This module implements a client interface to the SMTP and ESMTP protocol
AUTH service extension, enabling a perl5 application to talk to and
authenticate against SMTP servers.

%prep
%setup -q -n Net-SMTP_auth-%{version}

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

%install
rm -rf $RPM_BUILD_ROOT

make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT

find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} $RPM_BUILD_ROOT/*

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

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

%changelog
* Tue Jun 01 2010 George Nikandrov <[email protected]> 0.08-2
- Updated BuildRequires and cleaned up description.

* Tue Jun 01 2010 George Nikandrov <[email protected]> 0.08-1
- Specfile autogenerated by cpanspec 1.78.
_______________________________________________
suggest mailing list
[email protected]
http://lists.rpmforge.net/mailman/listinfo/suggest

Reply via email to