perl-Math-Base85-vl.spec 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. Name: perl-Math-Base85
  2. Version: 0.2
  3. Release: 1%{?_dist_release}
  4. Summary: Perl extension for base 85 numbers, as referenced by RFC 1924
  5. Group: Development/Libraries
  6. License: GPL+ or Artistic
  7. URL: http://search.cpan.org/dist/Math-Base85/
  8. Source0: http://search.cpan.org/CPAN/authors/id/T/TM/TMONROE/Math-Base85-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  10. BuildArch: noarch
  11. BuildRequires: perl(ExtUtils::MakeMaker)
  12. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  13. %description
  14. RFC 1924 describes a compact, fixed-size representation of IPv6 addresses
  15. which uses a base 85 number system. This module handles some of the uglier
  16. details of it.
  17. %prep
  18. %setup -q -n Math-Base85-%{version}
  19. %build
  20. %{__perl} Makefile.PL INSTALLDIRS=vendor
  21. make %{?_smp_mflags}
  22. %install
  23. rm -rf %{buildroot}
  24. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  25. find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
  26. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
  27. chmod -R u+w %{buildroot}/*
  28. %check
  29. make test
  30. %clean
  31. rm -rf %{buildroot}
  32. %files
  33. %defattr(-,root,root,-)
  34. %doc Changes README rfc1924.txt
  35. %{perl_vendorlib}/*
  36. %{_mandir}/man?/*
  37. %changelog
  38. * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.2-1
  39. - initial build for Vine Linux
  40. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-12
  41. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  42. * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.2-11
  43. - Perl mass rebuild
  44. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-10
  45. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  46. * Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.2-9
  47. - 661697 rebuild for fixing problems with vendorach/lib
  48. * Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.2-8
  49. - Mass rebuild with perl-5.12.0
  50. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.2-7
  51. - rebuild against perl 5.10.1
  52. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-6
  53. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  54. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-5
  55. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  56. * Thu Mar 6 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.2-4
  57. - rebuild for new perl
  58. * Wed May 23 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.2-3
  59. - Bump release for rebuild
  60. * Tue May 22 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.2-2
  61. - Add rfc1924.txt to %%doc
  62. - Remove unnecessary BR
  63. - Fix license tag
  64. * Sat May 05 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.2-1
  65. - Initial build