[perl-Data-Hexify] Add initial package (RHBZ#705798).

Richard W.M. Jones rjones at fedoraproject.org
Thu Jun 9 14:04:59 UTC 2011


commit 9dee5da75358ff16588fc37eb7c0c0ff11a2f0a9
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Thu Jun 9 15:04:10 2011 +0100

    Add initial package (RHBZ#705798).

 .gitignore            |    1 +
 perl-Data-Hexify.spec |   50 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources               |    1 +
 3 files changed, 52 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..77e3c02 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Data-Hexify-1.00.tar.gz
diff --git a/perl-Data-Hexify.spec b/perl-Data-Hexify.spec
new file mode 100644
index 0000000..0ba28d4
--- /dev/null
+++ b/perl-Data-Hexify.spec
@@ -0,0 +1,50 @@
+Name:           perl-Data-Hexify
+Version:        1.00
+Release:        1%{?dist}
+Summary:        Perl extension to hexdump arbitrary data
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Data-Hexify/
+Source0:        http://www.cpan.org/authors/id/J/JV/JV/Data-Hexify-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Exporter)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+
+%description
+Perl extension to hexdump arbitrary data.
+
+
+%prep
+%setup -q -n Data-Hexify-%{version}
+
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+
+%install
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+
+%check
+make test
+
+
+%files
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+
+%changelog
+* Thu Jun  9 2011 Richard W.M. Jones <rjones at redhat.com> - 1.00-1
+- Initial packaging of version 1.00 (originally from cpanspec).
diff --git a/sources b/sources
index e69de29..80246f3 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+56c858d08044162e12d96d0967d17cb2  Data-Hexify-1.00.tar.gz



More information about the perl-devel mailing list