summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-03-04 08:17:21 +0000
committerCoprDistGit <infra@openeuler.org>2025-03-04 08:17:21 +0000
commit2ef7325144572e4cf9bbcadb6bb582cff11960a7 (patch)
tree4f799909823cb2551551780fc7874f390f434caf
parent203e35cf909388cc468cc04b5b237d5351ab1739 (diff)
automatic import of perl-AnyEvent-I3openeuler20.03
-rw-r--r--.gitignore1
-rw-r--r--perl-AnyEvent-I3.spec71
-rw-r--r--sources1
3 files changed, 73 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..61a4266 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/AnyEvent-I3-0.19.tar.gz
diff --git a/perl-AnyEvent-I3.spec b/perl-AnyEvent-I3.spec
new file mode 100644
index 0000000..268f4d7
--- /dev/null
+++ b/perl-AnyEvent-I3.spec
@@ -0,0 +1,71 @@
+Name: perl-AnyEvent-I3
+Version: 0.19
+Release: 2
+Summary: Communicate with the i3 window manager
+License: GPL-1.0-or-later OR Artistic-1.0-Perl
+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)
+
+%{?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_build
+
+%install
+make pure_install DESTDIR=%{buildroot}
+%{_fixperms} %{buildroot}/*
+
+%check
+make test
+
+%files
+%doc Changes README
+%{perl_vendorlib}/AnyEvent/I3.pm
+%{_mandir}/man3/*.3*
+
+%changelog
+* Sun Jan 19 2025 Funda Wang <fundawang@yeah.net> - 0.19-2
+- drop useless perl(:MODULE_COMPAT) requirement
+
+* Thu Sep 12 2024 Ge Wang <wang__ge@126.com> - 0.19-1
+- Update to version 0.19
+
+* Wed Sep 14 2022 lichaoran <pkwarcraft@hotmail.com> - 0.17-1
+- init package
diff --git a/sources b/sources
new file mode 100644
index 0000000..e93f425
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+52307413b05bafc419d95106f125d122 AnyEvent-I3-0.19.tar.gz