source: projects/specs/trunk/p/perl-String-CRC32/perl-String-CRC32-vl.spec @ 12120

Revision 12120, 2.9 KB checked in by tomop, 5 years ago (diff)

perl-5.26 and friends

Line 
1Summary:        Perl interface for cyclic redundency check generation
2Name:           perl-String-CRC32
3Version:        1.7
4Release:        1%{?_dist_release}
5
6Group:          Development/Libraries
7License:        Public Domain
8URL:            http://search.cpan.org/dist/String-CRC32/
9Source0:        http://search.cpan.org/CPAN/authors/id/S/SO/SOENKE/String-CRC32-%{version}.tar.gz
10BuildRoot:      %{_tmppath}/%{name}-%{version}-root
11
12BuildRequires:  perl >= 2:5.26.2
13Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
14
15Vendor: Project Vine
16Distribution: Vine Linux
17
18%description
19This packages provides a perl module to generate checksums from strings
20and from files.
21
22The checksums are the same as those calculated by ZMODEM, PKZIP,
23PICCHECK and many others.
24There's another perl module called String::CRC which allows to calculate
25not only 32 bit CRC numbers, but the generated sums differ from those of
26the programs mentioned above.
27
28%prep
29%setup -q -n String-CRC32-%{version}
30
31%build
32%{__perl} Makefile.PL INSTALLDIRS=vendor
33make %{?_smp_mflags}
34
35%install
36rm -rf $RPM_BUILD_ROOT
37make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
38find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
39find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
40find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
41chmod -R u+w $RPM_BUILD_ROOT/*
42
43%check || :
44make test
45
46%clean
47rm -rf $RPM_BUILD_ROOT
48
49%files
50%defattr(-,root,root,-)
51%license LICENSE
52%doc README.md
53%{perl_vendorarch}/String/
54%{perl_vendorarch}/auto/String
55%{_mandir}/man3/*.3*
56
57%changelog
58* Sun May 19 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.7-1
59- new upstream release.
60- rebuilt with perl-5.26.
61
62* Thu Jul  3 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5-1
63- new upstream release.
64
65* Wed Mar 30 2011 IWAI, Masaharu <iwai@alib.jp> 1.4-2
66- build with perl 5.12.3
67- add Vendor and Distribution tags
68
69* Wed Apr 30 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.4-1
70- applied new versioning policy
71
72* Mon Dec 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.4-0vl1
73- new upstream release
74
75* Sat Feb 18 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.3-3vl1
76- rebuild for VineSeed
77
78* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.3-3.FC5.2
79- bump again for double-long bug on ppc(64)
80
81* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.3-3.FC5.1
82- rebuilt for new gcc4.1 snapshot and glibc changes
83
84* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 0:1.03-3.FC5
85- rebuild for new perl-5.8.8
86
87* Thu Jan 19 2006 Jason Vas Dias <jvdias@redhat.com> - 0:1.03-2.FC5
88- bug 176175 addendum: license should be 'Public Domain'
89
90* Fri Jan 13 2006 Jason Vas Dias <jvdias@redhat.com> - 0.1.03-1.4.FC5
91- fix bug 177700: differentiate version from FE4, FE dev versions
92
93* Fri Dec 16 2005 Jason Vas Dias <jvdias@redhat.com> - 0:1.03-1
94- Initial build.
95- Required by lftp-3.3.x+
96- Imported to fix bug 176175
Note: See TracBrowser for help on using the repository browser.