From e757b89eafe88bc49756924dd70dd93e902b8c15 Mon Sep 17 00:00:00 2001 From: Paul Howarth <p...@city-fan.org> Date: Thu, 22 Sep 2016 15:09:52 +0100 Subject: Initial import (perl-IO-FDPass-1.1-3)
This small low-level module only has one purpose: pass a file descriptor to another process, using a (streaming) UNIX domain socket (on POSIX systems) or any (streaming) socket (on WIN32 systems). The ability to pass file descriptors on Windows is currently the unique selling point of this module. Have I mentioned that it is really small, too? --- .gitignore | 1 + perl-IO-FDPass.spec | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 76 insertions(+) create mode 100644 perl-IO-FDPass.spec diff --git a/.gitignore b/.gitignore index e69de29..169ba0c 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/IO-FDPass-[0-9.]*.tar.gz diff --git a/perl-IO-FDPass.spec b/perl-IO-FDPass.spec new file mode 100644 index 0000000..a325044 --- /dev/null +++ b/perl-IO-FDPass.spec @@ -0,0 +1,74 @@ +Name: perl-IO-FDPass +Version: 1.1 +Release: 3%{?dist} +Summary: Pass a file descriptor over a socket +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/IO-FDPass/ +Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/IO-FDPass-%{version}.tar.gz +# Module Build +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: gcc +BuildRequires: make +BuildRequires: perl +BuildRequires: perl-devel +BuildRequires: perl-generators +BuildRequires: perl(Canary::Stability) +BuildRequires: perl(ExtUtils::MakeMaker) +# Module Runtime +BuildRequires: perl(XSLoader) +# Test Suite +BuildRequires: perl(Socket) +# Dependencies +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(XSLoader) + +# Avoid provides from private shared objects +%{?perl_default_filter} + +%description +This small low-level module only has one purpose: pass a file descriptor to +another process, using a (streaming) UNIX domain socket (on POSIX systems) or +any (streaming) socket (on WIN32 systems). The ability to pass file descriptors +on Windows is currently the unique selling point of this module. Have I +mentioned that it is really small, too? + +%prep +%setup -q -n IO-FDPass-%{version} + +%build +PERL_CANARY_STABILITY_NOPROMPT=1 perl Makefile.PL \ + INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -delete +find %{buildroot} -type f -name '*.bs' -empty -delete +%{_fixperms} %{buildroot} + +%check +make test + +%files +%if 0%{?_licensedir:1} +%license COPYING +%else +%doc COPYING +%endif +%doc Changes README +%{perl_vendorarch}/auto/IO/ +%{perl_vendorarch}/IO/ +%{_mandir}/man3/IO::FDPass.3* + +%changelog +* Thu Sep 22 2016 Paul Howarth <p...@city-fan.org> - 1.1-3 +- Incorporate package review feedback (#1378014) + - Silence rpmlint warning about capitalization of UNIX in %%description + - Quieten interaction with Canary::Stability during build process + +* Wed Sep 21 2016 Paul Howarth <p...@city-fan.org> - 1.1-2 +- Sanitize for Fedora submission + +* Sat Sep 10 2016 Paul Howarth <p...@city-fan.org> - 1.1-1 +- Initial RPM build diff --git a/sources b/sources index e69de29..fa323e2 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +c01c8e99ccdd51900f2b21547aeedf98 IO-FDPass-1.1.tar.gz -- cgit v0.12 http://pkgs.fedoraproject.org/cgit/perl-IO-FDPass.git/commit/?h=f23&id=e757b89eafe88bc49756924dd70dd93e902b8c15 _______________________________________________ perl-devel mailing list -- perl-devel@lists.fedoraproject.org To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org