[perl-MooseX-Role-Tempdir] Initial import (#1172215)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 3cfbf54f893020a0492996bf5629601416a5412c
Author: Petr Šabata <contyk@xxxxxxxxxx>
Date:   Wed Dec 10 17:02:22 2014 +0100

    Initial import (#1172215)

 .gitignore                    |    1 +
 perl-MooseX-Role-Tempdir.spec |   54 +++++++++++++++++++++++++++++++++++++++++
 sources                       |    1 +
 3 files changed, 56 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..794d111 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/MooseX-Role-Tempdir-0.03.tar.gz
diff --git a/perl-MooseX-Role-Tempdir.spec b/perl-MooseX-Role-Tempdir.spec
new file mode 100644
index 0000000..ab47ee7
--- /dev/null
+++ b/perl-MooseX-Role-Tempdir.spec
@@ -0,0 +1,54 @@
+Name:           perl-MooseX-Role-Tempdir
+Version:        0.03
+Release:        1%{?dist}
+Summary:        Moose role to provide temporary directories
+License:        GPL+ or Artistic
+URL:            http://search.cpan.org/dist/MooseX-Role-Tempdir/
+Source0:        http://www.cpan.org/authors/id/I/IA/IAMB/MooseX-Role-Tempdir-%{version}.tar.gz
+BuildArch:      noarch
+# Build
+BuildRequires:  perl
+BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Runtime
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(MooseX::Role::Parameterized)
+# Tests only
+BuildRequires:  perl(Test::More)
+# Optional tests
+BuildRequires:  perl(Pod::Coverage) >= 0.18
+BuildRequires:  perl(Test::Pod) >= 1.22
+BuildRequires:  perl(Test::Pod::Coverage) >= 1.08
+Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
+
+%description
+This is a very simple Moose role that provides an attribute 'tmpdir' and
+creates a temporary directory (via File::Temp) to go along with it. One
+temporary directory will be created for every object with this role, so
+keep that in mind if you're going crazy with lots of objects or
+creation/destruction.
+
+%prep
+%setup -q -n MooseX-Role-Tempdir-%{version}
+
+%build
+perl Build.PL installdirs=vendor
+./Build
+
+%install
+./Build install destdir=%{buildroot} create_packlist=0
+%{_fixperms} %{buildroot}/*
+
+%check
+./Build test
+
+%files
+
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Tue Dec 09 2014 Petr Šabata <contyk@xxxxxxxxxx> 0.03-1
+- Initial packaging
diff --git a/sources b/sources
index e69de29..e2b44c2 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c0858e4f20a447c805f3ee0d078adbfa  MooseX-Role-Tempdir-0.03.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





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux