[perl-Sentinel/f20] Initial import.

Emmanuel Seyman eseyman at fedoraproject.org
Mon Sep 8 18:17:25 UTC 2014


commit 64fe15b18cfa0897c5ece55e721b6da5d8669f87
Author: Emmanuel Seyman <emmanuel at seyman.fr>
Date:   Mon Sep 8 20:17:18 2014 +0200

    Initial import.

 .gitignore         |    1 +
 perl-Sentinel.spec |   64 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources            |    1 +
 3 files changed, 66 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..335d866 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Sentinel-0.05.tar.gz
diff --git a/perl-Sentinel.spec b/perl-Sentinel.spec
new file mode 100644
index 0000000..00b79a1
--- /dev/null
+++ b/perl-Sentinel.spec
@@ -0,0 +1,64 @@
+Name:           perl-Sentinel
+Version:        0.05
+Release:        2%{?dist}
+Summary:        Create lightweight SCALARs with get/set callbacks
+License:        GPL+ or Artistic
+
+URL:            http://search.cpan.org/dist/Sentinel/
+Source0:        http://www.cpan.org/authors/id/P/PE/PEVANS/Sentinel-%{version}.tar.gz
+
+BuildRequires:  perl
+BuildRequires:  perl(constant)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(ExtUtils::CBuilder)
+BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Scalar::Util)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Test::Pod)
+BuildRequires:  perl(Test::Refcount)
+BuildRequires:  perl(warnings)
+BuildRequires:  perl(XSLoader)
+
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(XSLoader)
+
+%{?perl_default_filter}
+
+%description
+This module provides a single lvalue function, sentinel, which yields a
+scalar that invoke callbacks to get or set its value. Primarily this is
+useful to create lvalue object accessors or other functions, to invoke
+actual code when a new value is set, rather than simply updating a
+scalar variable.
+
+%prep
+%setup -q -n Sentinel-%{version}
+
+%build
+%{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
+./Build
+
+%install
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+
+%check
+./Build test
+
+%files
+%doc Changes README
+%license LICENSE
+%{perl_vendorarch}/auto/Sentinel
+%{perl_vendorarch}/Sentinel*
+%{_mandir}/man3/Sentinel*
+
+%changelog
+* Sun Sep 07 2014 Emmanuel Seyman <emmanuel at seyman.fr> - 0.05-2
+- Take into account review comments (#1139007)
+
+* Wed Sep 03 2014 Emmanuel Seyman <emmanuel at seyman.fr> 0.05-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..646f1dd 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+97d748ea005bc541a850f0f66913d5f8  Sentinel-0.05.tar.gz


More information about the scm-commits mailing list