- Fix demo scripts.
- Sync with fedora-rpmdevtools' perl spec template.
This commit is contained in:
parent
826bf88ec9
commit
b9af436eb9
@ -1,7 +1,7 @@
|
|||||||
Summary: Various mail-related perl modules
|
Summary: Various mail-related perl modules
|
||||||
Name: perl-MailTools
|
Name: perl-MailTools
|
||||||
Version: 1.67
|
Version: 1.67
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
|
|
||||||
License: GPL or Artistic
|
License: GPL or Artistic
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -10,8 +10,10 @@ Source0: http://www.cpan.org/authors/id/M/MA/MARKOV/MailTools-%{version}.
|
|||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl >= 1:5.6.1, perl(Net::Domain), perl(Net::SMTP)
|
BuildRequires: perl >= 1:5.6.1
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
BuildRequires: perl(Net::Domain)
|
||||||
|
BuildRequires: perl(Net::SMTP)
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
%description
|
%description
|
||||||
MailTools is a set of Perl modules related to mail applications.
|
MailTools is a set of Perl modules related to mail applications.
|
||||||
@ -19,26 +21,31 @@ MailTools is a set of Perl modules related to mail applications.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n MailTools-%{version}
|
%setup -q -n MailTools-%{version}
|
||||||
|
cd examples
|
||||||
|
for file in *.PL ; do %{__perl} $file ; done ; chmod -x *_demo
|
||||||
|
rm *.PL # yeah, causes warnings from MakeMaker, but we don't care
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
%{__make} %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{__rm} -rf "$RPM_BUILD_ROOT"
|
rm -rf $RPM_BUILD_ROOT
|
||||||
%{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||||
%{_bindir}/find $RPM_BUILD_ROOT -type f -name .packlist -exec %{__rm} -f {} ';'
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
||||||
%{_bindir}/find $RPM_BUILD_ROOT -type d -depth -exec %{__rmdir} {} 2>/dev/null ';'
|
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||||||
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
|
|
||||||
%check || :
|
%check
|
||||||
%{__make} test
|
make test
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
%{__rm} -rf "$RPM_BUILD_ROOT"
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -50,6 +57,10 @@ MailTools is a set of Perl modules related to mail applications.
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Dec 14 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.67-2
|
||||||
|
- Fix demo scripts.
|
||||||
|
- Sync with fedora-rpmdevtools' perl spec template.
|
||||||
|
|
||||||
* Fri Jul 1 2005 Paul Howarth <paul@city-fan.org> - 1.67-1
|
* Fri Jul 1 2005 Paul Howarth <paul@city-fan.org> - 1.67-1
|
||||||
- update to 1.67 (#161830)
|
- update to 1.67 (#161830)
|
||||||
- assume perl_vendorlib is set
|
- assume perl_vendorlib is set
|
||||||
@ -58,7 +69,7 @@ MailTools is a set of Perl modules related to mail applications.
|
|||||||
- use macros consistently
|
- use macros consistently
|
||||||
- add dist tag
|
- add dist tag
|
||||||
|
|
||||||
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.66-2
|
||||||
- rebuilt
|
- rebuilt
|
||||||
|
|
||||||
* Sat Jan 22 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:1.66-1
|
* Sat Jan 22 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:1.66-1
|
||||||
|
Loading…
Reference in New Issue
Block a user