%define module Object-Signature %define name perl-%{module} %define version 1.05 %define release %mkrel 1 Name: %{name} Version: %{version} Release: %{release} Summary: Generate cryptographic signatures for objects License: Artistic/GPL Group: Development/Perl Url: http://search.cpan.org/dist/%{module}/ Source: http://www.cpan.org/modules/by-module/PAR/%{module}-%{version}.tar.bz2 %if %{mdkversion} < 1010 BuildRequires: perl-devel %endif BuildArch: noarch Buildroot: %{_tmppath}/%{name}-%{version} %description Object::Signature is an abstract base class that you can inherit from in order to allow your objects to generate unique cryptographic signatures. %prep %setup -q -n %{module}-%{version} chmod 644 README Changes lib/Object/Signature.pm %build %{__perl} Makefile.PL INSTALLDIRS=vendor < /dev/null %make %check %{__make} test %install rm -rf %{buildroot} %makeinstall_std %files %defattr(-,root,root) %doc README Changes %{perl_vendorlib}/Object %{_mandir}/*/* %clean rm -rf %{buildroot} %changelog * Sat Dec 09 2006 Olivier Thauvin <nanardon@mandriva.org> 1.05-1mdv2007.0 + Revision: 94371 - 1.05 - Import perl-Object-Signature * Tue May 30 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1.04-1mdv2007.0 - new version - spec cleanup - rpmbuildupate aware - fix directory ownership * Thu Jan 05 2006 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 1.03-1mdk - First Mandriva release