Name: perl-Glib-IO Version: 0.001 Release: 1%{?dist} Summary: Perl bindings to the GIO library License: LGPLv2+ URL: http://metacpan.org/release/Glib-IO Source0: https://cpan.metacpan.org/authors/id/X/XA/XAOC/Glib-IO-%{version}.tar.gz BuildArch: noarch BuildRequires: coreutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(Config) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) BuildRequires: perl(warnings) # Run time BuildRequires: perl(Glib::Object::Introspection) >= 0.014 # Tests: BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Glib::Object::Introspection) >= 0.014 # Remove under-specified dependencies %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Glib::Object::Introspection\\)$ %description The Glib::IO module allows a Perl developer to access the GIO library, the high level I/O and platform library of the GNOME development platform. %prep %setup -q -n Glib-IO-%{version} # Help generators to recognize a Perl code for F in t/*; do perl -i -MConfig -pe 'print qq{$Config{startperl}\n} if $. == 1 && !s{\A#!.*\bperl}{$Config{startperl}}' "$F" chmod +x "$F" done %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{make_install} %{_fixperms} %{buildroot} %check make test %files %license LICENSE %doc NEWS perl-Glib-IO.doap README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Wed Mar 24 2021 Michal Josef Spacek 0.001-1 - Version 0.001.