You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
2.1 KiB
72 lines
2.1 KiB
Name: perl-Digest-Perl-MD5
|
|
Version: 1.8
|
|
Release: 8%{?dist}
|
|
Summary: Perl implementation of Ron Rivest's MD5 Algorithm
|
|
Group: Development/Libraries
|
|
License: GPL+ or Artistic
|
|
URL: http://search.cpan.org/dist/Digest-Perl-MD5/
|
|
Source0: http://search.cpan.org/CPAN/authors/id/D/DE/DELTA/Digest-Perl-MD5-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
|
BuildRequires: perl(Exporter)
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
BuildRequires: perl(Test)
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
%description
|
|
A pure-perl implementation of Ron Rivest's MD5 Algorithm.
|
|
|
|
%prep
|
|
%setup -q -n Digest-Perl-MD5-%{version}
|
|
|
|
# Remove spurious exec permissions
|
|
chmod -c -x README lib/Digest/Perl/MD5.pm
|
|
|
|
%build
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
rm -rf %{buildroot}
|
|
make pure_install DESTDIR=%{buildroot}
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
|
|
%{_fixperms} %{buildroot}
|
|
|
|
%check
|
|
make test
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc CHANGES README
|
|
%{perl_vendorlib}/Digest/
|
|
%{_mandir}/man3/Digest::Perl::MD5.3pm*
|
|
|
|
%changelog
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-8
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.8-7
|
|
- Perl 5.18 rebuild
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.8-4
|
|
- Perl 5.16 rebuild
|
|
|
|
* Wed Jan 11 2012 Paul Howarth <paul@city-fan.org> - 1.8-3
|
|
- Fedora 17 mass rebuild
|
|
|
|
* Mon Aug 22 2011 Paul Howarth <paul@city-fan.org> - 1.8-2
|
|
- BR: perl (Exporter) and perl(Test) (#732484)
|
|
|
|
* Mon Aug 22 2011 Paul Howarth <paul@city-fan.org> - 1.8-1
|
|
- Initial RPM version
|