Summary: Perl module to allow constructors to be defined.
Name: perl-Attribute-Constructor
Version: 0.04
Release: 2
Copyright: Perl
Group: Development/Libraries

%define realname Attribute-Constructor
Packager: Eric Anderson <>
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Source: %{realname}-%{version}.tar.gz
Requires: perl
BuildArchitectures: noarch

A Perl module which a programmer to mark a method in a object as
a constructor. This will cause that method to automatically
create the object, bless it, and return it. The method will work
as a static method or a virtual method

# Provide perl-specific find-{provides,requires}.
%define __find_provides /usr/lib/rpm/find-provides.perl
%define __find_requires /usr/lib/rpm/find-requires.perl

%setup -n %{realname}-%{version}

CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL


eval `%{__perl} '-V:installarchlib'`
eval `${__perl} '-V:installsitearch'`
mkdir -p $RPM_BUILD_ROOT/$installarchlib
make PREFIX=$RPM_BUILD_ROOT/usr install
rm -f $RPM_BUILD_ROOT/$installarchlib/perllocal.pod
rm -f $RPM_BUILD_ROOT/$installsitearch/auto/Attribute/Handlers/.packlist

%doc Changes README
%doc %{_mandir}/*/*

* Wed Oct 30 2002 Eric Anderson <>
- Build for version 0.04
* Wed Oct 30 2002 Eric Anderson <>
- initial packaging of Attribute::Constructor module