port from fedora
Signed-off-by: lichaoran <pkwarcraft@hotmail.com>
This commit is contained in:
parent
1e577f82c4
commit
31f615d372
BIN
AnyEvent-I3-0.17.tar.gz
Normal file
BIN
AnyEvent-I3-0.17.tar.gz
Normal file
Binary file not shown.
67
perl-AnyEvent-I3.spec
Normal file
67
perl-AnyEvent-I3.spec
Normal file
@ -0,0 +1,67 @@
|
||||
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 <pkwarcraft@hotmail.com> - 0.17-1
|
||||
- init package
|
||||
4
perl-AnyEvent-I3.yaml
Normal file
4
perl-AnyEvent-I3.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: metacpan
|
||||
src_repo: AnyEvent-I3
|
||||
tag_prefix: "^"
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user