Package init
This commit is contained in:
commit
deb0cfe793
BIN
IPC-SysV-2.07.tar.gz
Normal file
BIN
IPC-SysV-2.07.tar.gz
Normal file
Binary file not shown.
56
perl-IPC-SysV.spec
Normal file
56
perl-IPC-SysV.spec
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
Name: perl-IPC-SysV
|
||||||
|
Version: 2.07
|
||||||
|
Release: 5
|
||||||
|
Summary: Object class for SysV as well as the SysV IPC constants and system calls
|
||||||
|
License: GPL or Artistic
|
||||||
|
URL: https://metacpan.org/release/IPC-SysV
|
||||||
|
Source0: https://cpan.metacpan.org/authors/id/M/MH/MHX/IPC-SysV-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: gcc perl(ExtUtils::MakeMaker) perl-interpreter perl-generators
|
||||||
|
#for test
|
||||||
|
BuildRequires: perl(Test::More) >= 0.45
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(perl -V:version | cut -d"'" -f 2)) perl(DynaLoader)
|
||||||
|
|
||||||
|
%description
|
||||||
|
The SysV-IPC contains three packages
|
||||||
|
|
||||||
|
IPC::Semaphore
|
||||||
|
- Provides an object interface to using SysV IPC semaphores
|
||||||
|
|
||||||
|
IPC::Msg
|
||||||
|
- Provides an object interface to using SysV IPC messages
|
||||||
|
|
||||||
|
IPC::SysV
|
||||||
|
- Provides the constants required to use the system SysV IPC calls.
|
||||||
|
|
||||||
|
Currently there is not object support for SysV shared memory, but
|
||||||
|
SysV::SharedMem is a project for the future.
|
||||||
|
|
||||||
|
%package_help
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n IPC-SysV-%{version} -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="%{optflags}"
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
make pure_install DESTDIR=%{buildroot}
|
||||||
|
%{_fixperms} %{buildroot}
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test TEST_VERBOSE=1
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README
|
||||||
|
%{perl_vendorarch}/auto/*
|
||||||
|
%{perl_vendorarch}/IPC/*
|
||||||
|
|
||||||
|
%files help
|
||||||
|
%doc Changes TODO
|
||||||
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Aug 30 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.07-5
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user