|
|
eda81f9 |
Summary: Create bubble-babble fingerprints
|
|
|
eda81f9 |
Name: perl-Digest-BubbleBabble
|
|
|
0e5efb0 |
Version: 0.02
|
|
|
46f5bc3 |
Release: 6%{?dist}
|
|
|
d4d8242 |
License: GPL+ or Artistic
|
|
|
eda81f9 |
Group: Development/Libraries
|
|
|
eda81f9 |
Url: http://search.cpan.org/dist/Digest-BubbleBabble/
|
|
|
eda81f9 |
Source0: http://search.cpan.org/CPAN/authors/id/B/BT/BTROTT/Digest-BubbleBabble-%{version}.tar.gz
|
|
|
18ba901 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
|
|
eda81f9 |
BuildArch: noarch
|
|
|
18ba901 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
6a55c06 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
9ac49e7 |
BuildRequires: perl(Test::Pod)
|
|
|
9ac49e7 |
# Test::Synopsis requires Test::Builder::Module, available from Perl 5.8.8 (EL-5)
|
|
|
9ac49e7 |
# Digest::SHA1 is only used in the Synopsis code to be tested by Test::Synopsis
|
|
|
9ac49e7 |
%if %(perl -e 'print (($] >= 5.008008) ? 1 : 0);')
|
|
|
9ac49e7 |
BuildRequires: perl(Digest::SHA1), perl(Test::Synopsis)
|
|
|
9ac49e7 |
%endif
|
|
|
eda81f9 |
|
|
|
eda81f9 |
%description
|
|
|
eda81f9 |
Digest::BubbleBabble takes a message digest (generated by either of the MD5 or
|
|
|
eda81f9 |
SHA-1 message digest algorithms) and creates a fingerprint of that digest in
|
|
|
eda81f9 |
"bubble babble" format. Bubble babble is a method of representing a message
|
|
|
eda81f9 |
digest as a string of "real" words, to make the fingerprint easier to remember.
|
|
|
eda81f9 |
The "words" are not necessarily real words, but they look more like words than
|
|
|
eda81f9 |
a string of hex characters.
|
|
|
eda81f9 |
|
|
|
eda81f9 |
Bubble babble fingerprinting is used by the SSH2 suite (and, consequently, by
|
|
|
eda81f9 |
Net::SSH::Perl, the Perl SSH implementation) to display easy-to-remember key
|
|
|
eda81f9 |
fingerprints. The key (a DSA or RSA key) is converted into a textual form,
|
|
|
eda81f9 |
digested using Digest::SHA1, and run through bubblebabble to create the key
|
|
|
eda81f9 |
fingerprint.
|
|
|
eda81f9 |
|
|
|
eda81f9 |
%prep
|
|
|
eda81f9 |
%setup -q -n Digest-BubbleBabble-%{version}
|
|
|
eda81f9 |
|
|
|
eda81f9 |
%build
|
|
|
18ba901 |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
18ba901 |
make %{?_smp_mflags}
|
|
|
eda81f9 |
|
|
|
eda81f9 |
%install
|
|
|
18ba901 |
rm -rf %{buildroot}
|
|
|
18ba901 |
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
|
|
18ba901 |
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
18ba901 |
find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
|
|
|
549ff44 |
%{_fixperms} %{buildroot}
|
|
|
eda81f9 |
|
|
|
9ac49e7 |
%check
|
|
|
9ac49e7 |
make test
|
|
|
9ac49e7 |
make test TEST_FILES="xt/*.t"
|
|
|
9ac49e7 |
|
|
|
eda81f9 |
%clean
|
|
|
18ba901 |
rm -rf %{buildroot}
|
|
|
eda81f9 |
|
|
|
eda81f9 |
%files
|
|
|
55b41bb |
%defattr(-,root,root,-)
|
|
|
5fca00e |
%doc Changes
|
|
|
eda81f9 |
%{perl_vendorlib}/Digest/
|
|
|
eda81f9 |
%{_mandir}/man3/Digest::BubbleBabble.3pm*
|
|
|
eda81f9 |
|
|
|
eda81f9 |
%changelog
|
|
|
46f5bc3 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.02-6
|
|
|
46f5bc3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
46f5bc3 |
|
|
|
15bd039 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.02-5
|
|
|
15bd039 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
15bd039 |
|
|
|
c0030bd |
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 0.02-4
|
|
|
c0030bd |
- Perl 5.16 rebuild
|
|
|
c0030bd |
|
|
|
c677a4e |
* Wed Jan 11 2012 Paul Howarth <paul@city-fan.org> - 0.02-3
|
|
|
c677a4e |
- Fedora 17 mass rebuild
|
|
|
c677a4e |
|
|
Petr Sabata |
8b70372 |
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 0.02-2
|
|
Petr Sabata |
8b70372 |
- Perl mass rebuild
|
|
Petr Sabata |
8b70372 |
|
|
|
0e5efb0 |
* Thu Mar 24 2011 Paul Howarth <paul@city-fan.org> - 0.02-1
|
|
|
0e5efb0 |
- Update to 0.02:
|
|
|
0e5efb0 |
- Fixed a bug affecting input strings with an odd number of characters
|
|
|
0e5efb0 |
- Cleaned up Makefile.PL
|
|
|
0e5efb0 |
- Removed magic svn keywords
|
|
|
0e5efb0 |
- Added author tests (xt/) and modified SYNOPSIS for all modules to make
|
|
|
0e5efb0 |
them pass the compilation test
|
|
|
18ba901 |
- Nobody else likes macros for commands
|
|
|
549ff44 |
- Use %%{_fixperms} macro instead of our own chmod incantation
|
|
|
9ac49e7 |
- Add buildreqs perl(Digest::SHA1), perl(Test::Pod) and perl(Test::Synopsis)
|
|
|
9ac49e7 |
and run author tests
|
|
|
0e5efb0 |
|
|
|
3496581 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.01-15
|
|
|
3496581 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
3496581 |
|
|
|
c48063b |
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.01-14
|
|
|
a6602bf |
- Rebuild to fix problems with vendorarch/lib (#661697)
|
|
|
c48063b |
|
|
|
287789a |
* Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.01-13
|
|
|
287789a |
- Mass rebuild with perl-5.12.0
|
|
|
287789a |
|
|
|
041ed29 |
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.01-12
|
|
|
041ed29 |
- Mass rebuild with perl-5.12.0
|
|
|
041ed29 |
|
|
|
ac396b4 |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.01-11
|
|
|
a6602bf |
- Rebuild against perl 5.10.1
|
|
|
ac396b4 |
|
|
|
de79e34 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.01-10
|
|
|
de79e34 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
de79e34 |
|
|
|
e34da65 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.01-9
|
|
|
e34da65 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
e34da65 |
|
|
|
0458e33 |
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.01-8
|
|
|
0458e33 |
- Rebuild for perl 5.10 (again)
|
|
|
0458e33 |
|
|
|
1237b2b |
* Thu Jan 31 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.01-7
|
|
|
a6602bf |
- Rebuild for new perl
|
|
|
1237b2b |
|
|
|
d4d8242 |
* Mon Aug 13 2007 Paul Howarth <paul@city-fan.org> 0.01-6
|
|
|
d4d8242 |
- Clarify license as GPL v1 or later, or Artistic (same as perl)
|
|
|
d4d8242 |
|
|
|
6a55c06 |
* Wed Apr 18 2007 Paul Howarth <paul@city-fan.org> 0.01-5
|
|
|
6a55c06 |
- Buildrequire perl(ExtUtils::MakeMaker)
|
|
|
55b41bb |
- Fix argument order for find with -depth
|
|
|
55b41bb |
|
|
|
6446445 |
* Tue Aug 29 2006 Paul Howarth <paul@city-fan.org> 0.01-4
|
|
|
6446445 |
- FE6 mass rebuild
|
|
|
6446445 |
|
|
|
406491e |
* Wed Feb 15 2006 Paul Howarth <paul@city-fan.org> 0.01-3
|
|
|
406491e |
- Rebuild for perl 5.8.8 (FC5)
|
|
|
406491e |
|
|
|
5fca00e |
* Tue Jan 3 2006 Paul Howarth <paul@city-fan.org> 0.01-2
|
|
|
5fca00e |
- Don't include README, which contains only install instructions (#175280)
|
|
|
5fca00e |
|
|
|
eda81f9 |
* Fri Nov 25 2005 Paul Howarth <paul@city-fan.org> 0.01-1
|
|
|
eda81f9 |
- Initial build
|