Name: perl-AnyEvent-I3 Version: 0.17 Release: 1 Summary: Communicate with the i3 window manager License: GPL+ or Artistic URL: https://metacpan.org/pod/AnyEvent::I3 Source0: https://cpan.metacpan.org/authors/id/M/MS/MSTPLBG/AnyEvent-I3-%{version}.tar.gz BuildArch: noarch # Build BuildRequires: coreutils BuildRequires: findutils BuildRequires: make BuildRequires: perl-interpreter BuildRequires: perl-generators BuildRequires: perl(lib) BuildRequires: perl(inc::Module::Install) BuildRequires: perl(Module::Install::Metadata) BuildRequires: perl(Module::Install::WriteAll) BuildRequires: sed # Run-time BuildRequires: perl(AnyEvent) BuildRequires: perl(AnyEvent::Handle) BuildRequires: perl(AnyEvent::Socket) BuildRequires: perl(base) BuildRequires: perl(constant) BuildRequires: perl(Encode) BuildRequires: perl(Exporter) BuildRequires: perl(JSON::XS) BuildRequires: perl(Scalar::Util) BuildRequires: perl(strict) BuildRequires: perl(warnings) # Tests BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %{?perl_default_filter} %description This module connects to the i3 window manager using the UNIX socket based IPC interface it provides (if enabled in the configuration file). You can then subscribe to events or send messages and receive their replies. %prep %setup -qn AnyEvent-I3-%{version} rm -rf inc sed -i -e '/^inc\//d' MANIFEST %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -delete %{_fixperms} %{buildroot}/* %check make test %files %doc Changes README %{perl_vendorlib}/AnyEvent/I3.pm %{_mandir}/man3/*.3* %changelog * Wed Sep 14 2022 lichaoran - 0.17-1 - init package