From 5847c872bf5521323b90ea0ef69e0578387ae548 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jples...@redhat.com>
Date: Mon, 10 Jul 2017 08:51:54 +0200
Subject: Initial import

---
 .gitignore               |  1 +
 perl-MooX-Singleton.spec | 50 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                  |  1 +
 3 files changed, 52 insertions(+)
 create mode 100644 perl-MooX-Singleton.spec

diff --git a/.gitignore b/.gitignore
index e69de29..dd72fa1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/MooX-Singleton-1.20.tar.gz
diff --git a/perl-MooX-Singleton.spec b/perl-MooX-Singleton.spec
new file mode 100644
index 0000000..dac862a
--- /dev/null
+++ b/perl-MooX-Singleton.spec
@@ -0,0 +1,50 @@
+Name:           perl-MooX-Singleton
+Version:        1.20
+Release:        1%{?dist}
+Summary:        Turn your Moo class into singleton
+License:        GPL+ or Artistic
+URL:            http://search.cpan.org/dist/MooX-Singleton/
+Source0:        
http://www.cpan.org/authors/id/A/AJ/AJGB/MooX-Singleton-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  make
+BuildRequires:  perl-generators
+BuildRequires:  perl-interpreter
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Run-time
+BuildRequires:  perl(Role::Tiny)
+# Tests
+BuildRequires:  perl(File::Find)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(Moo)
+BuildRequires:  perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+
+%description
+This is a Moo role that provides "instance" method turning your object
+into singleton.
+
+%prep
+%setup -q -n MooX-Singleton-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%license LICENSE
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Mon Jul 03 2017 Jitka Plesnikova <jples...@redhat.com> - 1.20-1
+- Initial release
diff --git a/sources b/sources
index e69de29..ca2a169 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (MooX-Singleton-1.20.tar.gz) = 
6fea66cc67440bab49766b658d0443373ca70ef101bb46191c79f7ad47e35f52a4813759769194f9f964981e639e187e071e01e2f1193833da14eefbe5131d8d
-- 
cgit v1.1


        
https://src.fedoraproject.org/cgit/perl-MooX-Singleton.git/commit/?h=master&id=5847c872bf5521323b90ea0ef69e0578387ae548
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to