rpms/perl-Digest-CRC/devel perl-Digest-CRC.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Christopher Stone (xulchris) fedora-extras-commits at redhat.com
Wed Oct 17 20:21:11 UTC 2007


Author: xulchris

Update of /cvs/extras/rpms/perl-Digest-CRC/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17332/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Digest-CRC.spec 
Log Message:
Initial check-in


--- NEW FILE perl-Digest-CRC.spec ---
Name:           perl-Digest-CRC
Version:        0.10
Release:        2%{?dist}
Summary:        Generic CRC functions

Group:          Development/Libraries
License:        Public Domain
URL:            http://search.cpan.org/dist/Digest-CRC/
Source0:        http://search.cpan.org/CPAN/authors/id/O/OL/OLIMAUL/Digest-CRC-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  perl(ExtUtils::MakeMaker)
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
The Digest::CRC module calculates CRC sums of all sorts. It contains wrapper
functions with the correct parameters for CRC-CCITT, CRC-16 and CRC-32.


%prep
%setup -qn Digest-CRC-%{version}


%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
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 ';'
chmod -R u+w $RPM_BUILD_ROOT/*

# remove zero-length files
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;


%check
make test


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc Changes META.yml README t
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Digest
%{_mandir}/man3/*.3*


%changelog
* Tue Oct 16 2007 Christopher Stone <chris.stone at gmail.com> 0.10-2
- Remove zero length files.

* Tue Oct 16 2007 Christopher Stone <chris.stone at gmail.com> 0.10-1
- Initial Release.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Digest-CRC/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	17 Oct 2007 16:30:02 -0000	1.1
+++ .cvsignore	17 Oct 2007 20:20:39 -0000	1.2
@@ -0,0 +1 @@
+Digest-CRC-0.10.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Digest-CRC/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	17 Oct 2007 16:30:02 -0000	1.1
+++ sources	17 Oct 2007 20:20:39 -0000	1.2
@@ -0,0 +1 @@
+2a065f4081fd923f2245e66597befcfb  Digest-CRC-0.10.tar.gz




More information about the fedora-extras-commits mailing list