psabata pushed to perl-File-Slurper (f22). "Initial import (#1261063)"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Sep 9 13:15:12 UTC 2015


From 4266d267e3a7e1b4caaf40baee974b8dd722965e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= <contyk at redhat.com>
Date: Wed, 9 Sep 2015 15:14:22 +0200
Subject: Initial import (#1261063)


diff --git a/.gitignore b/.gitignore
index e69de29..0e78518 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/File-Slurper-0.008.tar.gz
diff --git a/perl-File-Slurper.spec b/perl-File-Slurper.spec
new file mode 100644
index 0000000..243575b
--- /dev/null
+++ b/perl-File-Slurper.spec
@@ -0,0 +1,53 @@
+Name:           perl-File-Slurper
+Version:        0.008
+Release:        1%{?dist}
+Summary:        Simple, sane and efficient module to slurp a file
+License:        GPL+ or Artistic
+URL:            http://search.cpan.org/dist/File-Slurper/
+Source0:        http://www.cpan.org/authors/id/L/LE/LEONT/File-Slurper-%{version}.tar.gz
+BuildArch:      noarch
+# Build
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Runtime
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(constant)
+BuildRequires:  perl(Exporter) >= 5.57
+BuildRequires:  perl(PerlIO::utf8_strict)
+# Tests only
+BuildRequires:  perl(File::Spec::Functions)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
+Recommends:     perl(PerlIO::utf8_strict)
+
+%description
+This module provides functions for fast and correct slurping and spewing.
+All functions are optionally exported.
+
+%prep
+%setup -q -n File-Slurper-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=%{buildroot}
+%{_fixperms} %{buildroot}/*
+
+%check
+make test
+
+%files
+%license LICENSE
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Tue Sep 08 2015 Petr Ĺ abata <contyk at redhat.com> 0.008-1
+- Initial packaging
diff --git a/sources b/sources
index e69de29..b3a7ae4 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+6e4f8ab76e38dc3f3fec6a0f575bf132  File-Slurper-0.008.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-File-Slurper.git/commit/?h=f22&id=4266d267e3a7e1b4caaf40baee974b8dd722965e


More information about the perl-devel mailing list