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
c3052cfb21
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
|
Name: perl-EV
|
||||||
%define version 1.0
|
Version: 4.34
|
||||||
%define release 1
|
Release: 1%{?org_tag}%{?dist}
|
||||||
Summary: This is what perl-EV does.
|
Summary: Perl interface to libev, a high performance full-featured event loop
|
||||||
Name: %{name}
|
License: GPL+ or Artistic (and libev is 2-clause BSD)
|
||||||
Version: %{version}
|
Group: Development/Libraries
|
||||||
Release: %{release}%{?dist}
|
URL: http://search.cpan.org/dist/EV/
|
||||||
Source: %{name}-%{version}.tar.gz
|
Source0: http://www.cpan.org/authors/id/M/ML/MLEHMANN/EV-%{version}.tar.gz
|
||||||
License: GNU GPL version 2
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
Group: SMEserver/addon
|
BuildRequires: perl(common::sense)
|
||||||
BuildRoot: %{_tmppath}/%{name}-buildroot
|
BuildRequires: perl(Canary::Stability)
|
||||||
Prefix: %{_prefix}
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
BuildArchitectures: noarch
|
Requires: perl(common::sense)
|
||||||
BuildRequires: smeserver-devtools
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
Requires: smeserver-release >= 11.0
|
Autoreq: no
|
||||||
AutoReqProv: no
|
%if %{rhel} >= 8
|
||||||
|
Provides: perl(EV) = %{version}
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
perl-EV - Wrapper for the libev high-performance event loop library
|
This module provides an interface to libev
|
||||||
This module provides an interface to libev
|
(http://software.schmorp.de/pkg/libev.html). While the documentation below
|
||||||
(<http://software.schmorp.de/pkg/libev.html>). While the included documentation
|
is comprehensive, one might also consult the documentation of libev itself
|
||||||
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)
|
||||||
(<http://cvs.schmorp.de/libev/ev.html>) for more subtle details on watcher
|
for more subtle details on watcher semantics or some discussion on the
|
||||||
semantics or some discussion on the available backends, or how to force a
|
available backends, or how to force a specific backend with LIBEV_FLAGS, or
|
||||||
specific backend with "LIBEV_FLAGS", or just about in any case because it has
|
just about in any case because it has much more detailed information.
|
||||||
much more detailed information.
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Day MMMM DD YYYY <brianr@koozali.org> 1.0-1.sme
|
|
||||||
- Initial code - create RPM [SME:99999]
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
%setup -q -n EV-%{version}
|
||||||
%setup -q
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
echo | %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf %{buildroot}
|
||||||
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
|
|
||||||
rm -f %{name}-%{version}-filelist
|
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
||||||
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
|
|
||||||
> %{name}-%{version}-filelist
|
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
||||||
#echo "%doc COPYING" >> %{name}-%{version}-filelist
|
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
||||||
#--dir <dir> 'attr(755,user,grp)' \
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||||
#--file <file> 'attr(755,root,root)' \
|
|
||||||
|
%{_fixperms} %{buildroot}/*
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
cd ..
|
rm -rf %{buildroot}
|
||||||
rm -rf %{name}-%{version}
|
|
||||||
|
|
||||||
%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
|
* Wed Jul 23 2014 Gavin Carr <gavin@openfusion.com.au> 4.17-1
|
||||||
#uninstall
|
- Update to version 4.17.
|
||||||
%files -f %{name}-%{version}-filelist
|
|
||||||
%defattr(-,root,root)
|
* 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