rpms/perl-Class-Unload/devel perl-Class-Unload.spec,NONE,1.1
Marcela Mašláňová
mmaslano at fedoraproject.org
Wed Dec 10 08:04:36 UTC 2008
Author: mmaslano
Update of /cvs/pkgs/rpms/perl-Class-Unload/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18127
Added Files:
perl-Class-Unload.spec
Log Message:
Add spec.
--- NEW FILE perl-Class-Unload.spec ---
Name: perl-Class-Unload
Version: 0.05
Release: 2%{?dist}
Summary: Unload given Class
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Class-Unload/
Source0: http://www.cpan.org/authors/id/I/IL/ILMARI/Class-Unload-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl >= 0:5.005
BuildRequires: perl(Class::Inspector)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
Unloads the given class by clearing out its symbol table and removing it
from INC.
%prep
%setup -q -n Class-Unload-%{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
* Mon Dec 08 2008 Marcela MaÅ¡láÅová <mmaslano at redhat.com> 0.05-2
- fix summary and description
* Fri Dec 05 2008 Marcela MaÅ¡láÅová <mmaslano at redhat.com> 0.05-1
- Specfile autogenerated by cpanspec 1.77.
More information about the Fedora-perl-devel-list
mailing list