commit 8824661de88e7deaa932670a2eb513e778274d86 Author: David Dick <ddick@xxxxxxxx> Date: Fri Apr 25 12:15:29 2014 +1000 Initial import (#1089653). .gitignore | 1 + perl-Devel-Hexdump.spec | 52 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 54 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..29d75e9 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Devel-Hexdump-0.02.tar.gz diff --git a/perl-Devel-Hexdump.spec b/perl-Devel-Hexdump.spec new file mode 100644 index 0000000..d201bd7 --- /dev/null +++ b/perl-Devel-Hexdump.spec @@ -0,0 +1,52 @@ +Name: perl-Devel-Hexdump +Version: 0.02 +Release: 1%{?dist} +Summary: Print nice hex dump of binary data +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Devel-Hexdump/ +Source0: http://www.cpan.org/modules/by-module/Devel/Devel-Hexdump-%{version}.tar.gz +BuildRequires: perl +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(Devel::PPPort) +BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Find) +BuildRequires: perl(Getopt::Long) +BuildRequires: perl(strict) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::NoWarnings) +BuildRequires: perl(XSLoader) +BuildRequires: perl(warnings) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This module provides a mechanism to output a nice hex dump of binary data. + +%prep +%setup -q -n Devel-Hexdump-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes LICENSE README +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/Devel* +%{_mandir}/man3/* + +%changelog +* Mon Apr 21 2014 David Dick <ddick@xxxxxxxx> - 0.02-1 +- Initial release diff --git a/sources b/sources index e69de29..f295a4d 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +0edf984f19d89eba867efd8685b8a8d8 Devel-Hexdump-0.02.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel