Name: perl-Mail-Alias
Summary: Direct manipulation of email alias files
Version: 1.12
Release: 1.2
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Mail-Alias/
Description: Mail::Alias allows you to directly access the contents of E-Mail alias files.
You can perform the following actions:
Set the name of the current aliases file being accessed
Verify the presence of aliases
Retrieve an alias line from the file
Add aliases
Change the addresses for aliases
Delete aliases
Direct access of the files has a small price. When files are being manipulated directly, operations are somewhat slower than they would be if the entire alias file contents was brought into memory first. However, this provides the most flexibility, and does not disrupt the ordering of the file, or any comments in the file. This delay factor will not be a problem unless you have huge alias files. After you make changes, don't forget you will need to rebuild the active alias database (for SENDMAIL this is done by executing the NEWALIASES command).
The build was succesful. The following RPMs were generated:
The build was succesful. The following RPMs were generated:
The spec file used by the build system currently has the following contents:
# $Id$ # Authority: dries # Upstream: Tom Zeltwanger <perl$ename,com> %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib) %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch) %define real_name Mail-Alias Summary: Direct manipulation of email alias files Name: perl-Mail-Alias Version: 1.12 Release: 1.2%{?dist} License: Artistic/GPL Group: Applications/CPAN URL: http://search.cpan.org/dist/Mail-Alias/ Source: http://www.cpan.org/modules/by-module/Mail/Mail-Alias-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) %description Mail::Alias allows you to directly access the contents of E-Mail alias files. You can perform the following actions: Set the name of the current aliases file being accessed Verify the presence of aliases Retrieve an alias line from the file Add aliases Change the addresses for aliases Delete aliases Direct access of the files has a small price. When files are being manipulated directly, operations are somewhat slower than they would be if the entire alias file contents was brought into memory first. However, this provides the most flexibility, and does not disrupt the ordering of the file, or any comments in the file. This delay factor will not be a problem unless you have huge alias files. After you make changes, don't forget you will need to rebuild the active alias database (for SENDMAIL this is done by executing the NEWALIASES command). %prep %setup -n %{real_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}" %{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} %{__make} pure_install ### Clean up buildroot find %{buildroot} -name .packlist -exec %{__rm} {} \; %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc Changes MANIFEST README %doc %{_mandir}/man3/Mail::Alias.3pm* %dir %{perl_vendorlib}/Mail/ #%{perl_vendorlib}/Mail/Alias/ %{perl_vendorlib}/Mail/Alias.pm %changelog * Thu Jul 22 2004 Dries Verachtert <dries@ulyssis.org> - 1.12-1 - Initial package.