generated from smedev/Template-for-SMEServer-Core-Perl
* Wed Jan 22 2025 Jean-Philippe Pialasse <jpp@koozali.org> 4.34-1.sme
- Update to version 4.34
This commit is contained in:
parent
e9a1777514
commit
318bfa0499
BIN
EV-4.34.tar.gz
(Stored with Git LFS)
Normal file
BIN
EV-4.34.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
110
perl-EV.spec
110
perl-EV.spec
@ -1,61 +1,77 @@
|
||||
%define name perl-EV
|
||||
%define version 1.0
|
||||
%define release 1
|
||||
Summary: This is what perl-EV does.
|
||||
Name: %{name}
|
||||
Version: %{version}
|
||||
Release: %{release}%{?dist}
|
||||
Source: %{name}-%{version}.tar.gz
|
||||
License: GNU GPL version 2
|
||||
Group: SMEserver/addon
|
||||
BuildRoot: %{_tmppath}/%{name}-buildroot
|
||||
Prefix: %{_prefix}
|
||||
BuildArchitectures: noarch
|
||||
BuildRequires: smeserver-devtools
|
||||
Requires: smeserver-release >= 11.0
|
||||
AutoReqProv: no
|
||||
Name: perl-EV
|
||||
Version: 4.34
|
||||
Release: 1%{?org_tag}%{?dist}
|
||||
Summary: Perl interface to libev, a high performance full-featured event loop
|
||||
License: GPL+ or Artistic (and libev is 2-clause BSD)
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/EV/
|
||||
Source0: http://www.cpan.org/authors/id/M/ML/MLEHMANN/EV-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: perl(common::sense)
|
||||
BuildRequires: perl(Canary::Stability)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
Requires: perl(common::sense)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
Autoreq: no
|
||||
%if %{rhel} >= 8
|
||||
Provides: perl(EV) = %{version}
|
||||
%endif
|
||||
|
||||
%description
|
||||
perl-EV - Wrapper for the libev high-performance event loop library
|
||||
This module provides an interface to libev
|
||||
(<http://software.schmorp.de/pkg/libev.html>). While the included documentation
|
||||
is comprehensive, one might also consult the documentation of libev itself
|
||||
(<http://cvs.schmorp.de/libev/ev.html>) for more subtle details on watcher
|
||||
semantics or some discussion on the available backends, or how to force a
|
||||
specific backend with "LIBEV_FLAGS", or just about in any case because it has
|
||||
much more detailed information.
|
||||
|
||||
%changelog
|
||||
* Day MMMM DD YYYY <brianr@koozali.org> 1.0-1.sme
|
||||
- Initial code - create RPM [SME:99999]
|
||||
This module provides an interface to libev
|
||||
(http://software.schmorp.de/pkg/libev.html). While the documentation below
|
||||
is comprehensive, one might also consult the documentation of libev itself
|
||||
(http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod or perldoc EV::libev)
|
||||
for more subtle details on watcher semantics or some discussion on the
|
||||
available backends, or how to force a specific backend with LIBEV_FLAGS, or
|
||||
just about in any case because it has much more detailed information.
|
||||
|
||||
%prep
|
||||
|
||||
%setup -q
|
||||
%setup -q -n EV-%{version}
|
||||
|
||||
%build
|
||||
echo | %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
|
||||
rm -f %{name}-%{version}-filelist
|
||||
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
|
||||
> %{name}-%{version}-filelist
|
||||
#echo "%doc COPYING" >> %{name}-%{version}-filelist
|
||||
#--dir <dir> 'attr(755,user,grp)' \
|
||||
#--file <file> 'attr(755,root,root)' \
|
||||
rm -rf %{buildroot}
|
||||
|
||||
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
||||
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
||||
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
||||
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%clean
|
||||
cd ..
|
||||
rm -rf %{name}-%{version}
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%pre
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes COPYING README
|
||||
%{perl_vendorarch}/auto/*
|
||||
%{perl_vendorarch}/EV*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%preun
|
||||
%changelog
|
||||
* Wed Jan 22 2025 Jean-Philippe Pialasse <jpp@koozali.org> 4.34-1.sme
|
||||
- Update to version 4.34
|
||||
|
||||
%post
|
||||
* Thu Jan 27 2022 Gavin Carr <gavin@openfusion.net> 4.33-1
|
||||
- Update to version 4.33.
|
||||
|
||||
%postun
|
||||
#uninstall
|
||||
%files -f %{name}-%{version}-filelist
|
||||
%defattr(-,root,root)
|
||||
* Wed Jul 23 2014 Gavin Carr <gavin@openfusion.com.au> 4.17-1
|
||||
- Update to version 4.17.
|
||||
|
||||
* Sun May 26 2013 Gavin Carr <gavin@openfusion.com.au> 4.15-1
|
||||
- Update to version 4.15.
|
||||
|
||||
* Thu Mar 29 2012 Gavin Carr <gavin@openfusion.com.au> 4.11-1
|
||||
- Update to version 4.11.
|
||||
|
||||
* Fri Mar 25 2011 Gavin Carr <gavin@openfusion.com.au> 4.03-1
|
||||
- Specfile autogenerated by cpanspec 1.79.
|
||||
|
Loading…
x
Reference in New Issue
Block a user