source: projects/specs/trunk/p/perl-Data-HexDump/perl-Data-HexDump-vl.spec @ 9081

Revision 9081, 3.3 KB checked in by inagaki, 9 years ago (diff)

2014-11-12 Ryoichi INAGAKI <ryo1@…>


Line 
1Name:           perl-Data-HexDump
2Version:        0.02
3Release:        2%{?_dist_release}
4Summary:        Hexadecial Dumper
5License:        GPL+ or Artistic
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/Data-HexDump/
8Source0:        http://www.cpan.org/modules/by-module/Data/Data-HexDump-%{version}.tar.gz
9
10BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
11BuildArch:      noarch
12BuildRequires:  perl(ExtUtils::MakeMaker)
13Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
14
15Vendor:         Project Vine
16Distribution:   Vine Linux
17
18%description
19Dump in hexadecimal the content of a scalar. The result is returned in a
20string. Each line of the result consists of the offset in the source in the
21leftmost column of each line, followed by one or more columns of data from
22the source in hexadecimal. The rightmost column of each line shows the
23printable 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
30make %{?_smp_mflags}
31
32%install
33rm -rf %{buildroot}
34
35make pure_install PERL_INSTALL_ROOT=%{buildroot}
36# rename binary not to conflict with util-linux
37mv %{buildroot}%{_bindir}/hexdump %{buildroot}%{_bindir}/hexdump.pl
38
39find %{buildroot} -type f -name .packlist -exec rm -f {} \;
40find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null \;
41
42chmod -R u+rwX,go+rX,go-w %{buildroot}/*
43
44%check
45make test
46
47%clean
48rm -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.
Note: See TracBrowser for help on using the repository browser.