rpms/perl-Callback/FC-6 perl-Callback.spec,NONE,1.1

Madhavprasad Keshav Pai (mkpai) fedora-extras-commits at redhat.com
Wed Jul 25 11:42:23 UTC 2007


Author: mkpai

Update of /cvs/pkgs/rpms/perl-Callback/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16070

Added Files:
	perl-Callback.spec 
Log Message:
added spec file for tagging



--- NEW FILE perl-Callback.spec ---
Name:           perl-Callback
Version:        1.07
Release:        1%{?dist}
Summary:        Object interface for function callbacks
License:        GPL/Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Callback/
Source0:        http://www.cpan.org/modules/by-module/Callback/Callback-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(Storable)

%description
Callback provides a standard interface to register callbacks. Those
callbacks can be either purely functional (i.e. a function call with
arguments) or object-oriented (a method call on an object).

%prep
%setup -q -n Callback-%{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 CHANGELOG README
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Thu Mar 15 2007 mkpai 1.07-1
- Specfile autogenerated by cpanspec 1.69.1.




More information about the scm-commits mailing list