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