perl-Data-HexDump-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. Name: perl-Data-HexDump
  2. Version: 0.02
  3. Release: 2%{?_dist_release}
  4. Summary: Hexadecial Dumper
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Data-HexDump/
  8. Source0: http://www.cpan.org/modules/by-module/Data/Data-HexDump-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. BuildArch: noarch
  11. BuildRequires: perl(ExtUtils::MakeMaker)
  12. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  13. Vendor: Project Vine
  14. Distribution: Vine Linux
  15. %description
  16. Dump in hexadecimal the content of a scalar. The result is returned in a
  17. string. Each line of the result consists of the offset in the source in the
  18. leftmost column of each line, followed by one or more columns of data from
  19. the source in hexadecimal. The rightmost column of each line shows the
  20. printable characters (all others are shown as single dots).
  21. %prep
  22. %setup -q -n Data-HexDump-%{version}
  23. %build
  24. %{__perl} Makefile.PL INSTALLDIRS=vendor
  25. make %{?_smp_mflags}
  26. %install
  27. rm -rf %{buildroot}
  28. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  29. # rename binary not to conflict with util-linux
  30. mv %{buildroot}%{_bindir}/hexdump %{buildroot}%{_bindir}/hexdump.pl
  31. find %{buildroot} -type f -name .packlist -exec rm -f {} \;
  32. find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null \;
  33. chmod -R u+rwX,go+rX,go-w %{buildroot}/*
  34. %check
  35. make test
  36. %clean
  37. rm -rf %{buildroot}
  38. %files
  39. %defattr(-,root,root,-)
  40. %doc README
  41. %{_bindir}/hexdump.pl
  42. %{perl_vendorlib}/*
  43. %{_mandir}/man3/*
  44. %changelog
  45. * Wed Nov 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.02-2
  46. - rebuilt with perl 5.16.3
  47. * Sat Mar 10 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.02-1
  48. - initial build for Vine Linux
  49. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.02-12
  50. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  51. * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.02-11
  52. - Perl mass rebuild
  53. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.02-10
  54. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  55. * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.02-9
  56. - 661697 rebuild for fixing problems with vendorach/lib
  57. * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.02-8
  58. - Mass rebuild with perl-5.12.0
  59. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.02-7
  60. - rebuild against perl 5.10.1
  61. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.02-6
  62. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  63. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.02-5
  64. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  65. * Thu Feb 7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.02-4
  66. - rebuild for new perl
  67. * Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.02-3.1
  68. - correct license tag
  69. - add BR: perl(ExtUtils::MakeMaker)
  70. * Fri Sep 08 2006 Andreas Thienemann <andreas@bawue.net> - 0.02-3
  71. - FE6 Rebuild
  72. * Thu Mar 30 2006 Andreas Thienemann <andreas@bawue.net> 0.02-2
  73. - Fixed review showstoppers
  74. * Thu Mar 30 2006 Andreas Thienemann <andreas@bawue.net> 0.02-1
  75. - Cleaned up for FE
  76. - Specfile autogenerated by cpanspec 1.64.