Name: perl-FFI-C %global debug_package %{nil} BuildArch: noarch Version: 0.15 Release: 1%{?dist} Summary: C data types for FFI License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/FFI-C/ Source0: http://www.cpan.org/authors/id/P/PL/PLICEASE/FFI-C-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl >= 0:5.008001 BuildRequires: perl(Capture::Tiny) BuildRequires: perl(Class::Inspector) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(FFI::Platypus) >= 1.24 BuildRequires: perl(FFI::Platypus::Memory) BuildRequires: perl(FFI::Platypus::Record) BuildRequires: perl(FFI::Platypus::Type::Enum) >= 0.03 BuildRequires: perl(Path::Tiny) BuildRequires: perl(Ref::Util) BuildRequires: perl(Sub::Identify) >= 0.05 BuildRequires: perl(Sub::Install) BuildRequires: perl(Sub::Util) BuildRequires: perl(Test2::V0) >= 0.000081 Requires: perl(Class::Inspector) Requires: perl(FFI::Platypus) >= 1.24 Requires: perl(FFI::Platypus::Memory) Requires: perl(FFI::Platypus::Type::Enum) >= 0.03 Requires: perl(Ref::Util) Requires: perl(Sub::Identify) >= 0.05 Requires: perl(Sub::Install) Requires: perl(Sub::Util) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This distribution provides tools for building classes to interface for common C data types. Arrays, struct, union and nested types based on those are supported. %prep %setup -q -n FFI-C-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test ||: %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes LICENSE META.json README author.yml dist.ini perlcriticrc %{perl_vendorlib}/FFI* %{_mandir}/man3/* %changelog * Sun Apr 28 2024 rpm 0.15-1 - Specfile autogenerated by cpanspec 1.78.