Name: perl-Inline-Struct Version: 0.06 Release: 1%{?dist} Summary: Manipulate C structures directly from Perl License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Inline-Struct/ Source0: http://www.cpan.org/authors/id/N/NE/NEILW/Inline-Struct-%{version}.tar.gz BuildArch: noarch BuildRequires: perl BuildRequires: perl(Carp) BuildRequires: perl(Data::Dumper) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(Inline) BuildRequires: perl(Inline::C) BuildRequires: perl(Parse::RecDescent) BuildRequires: perl(strict) BuildRequires: perl(vars) Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) Requires: perl(Parse::RecDescent) %description Inline::Struct is not a new language. It's a language extension designed to be used by Inline::C. It parses struct definitions and creates typemaps and XS code which bind each struct into a Perl class. This code is passed to Inline::C, which compiles it in the normal way. %prep %setup -q -n Inline-Struct-%{version} %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=true make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} %{_fixperms} %{buildroot}/* %check make test %files %doc README TODO %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Wed Jul 16 2014 Petr Ĺ abata 0.06-1 - Initial packaging