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

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