forked from pool/perl-AnyEvent
fix deps
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-AnyEvent?expand=0&rev=24
This commit is contained in:
committed by
Git OBS Bridge
parent
dc16237c53
commit
df929646c6
@@ -1,8 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 22 17:02:17 UTC 2011 - chris@computersalat.de
|
||||
Thu Aug 25 15:42:54 UTC 2011 - chris@computersalat.de
|
||||
|
||||
- fix deps
|
||||
o build for RHEL, CentoS (Unknown tag: Recommends)
|
||||
o build for RHEL, CentoS, SLE_10 (Unknown tag: Recommends)
|
||||
- cpanspec
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 11 22:03:01 UTC 2011 - pascal.bleser@opensuse.org
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package perl-AnyEvent
|
||||
# spec file for package perl-AnyEvent (Version 5.34)
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@@ -15,20 +15,21 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: perl-AnyEvent
|
||||
Version: 5.34
|
||||
Release: 1
|
||||
Summary: DBI of Event Loop Programming
|
||||
Source: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/AnyEvent-%{version}.tar.gz
|
||||
Url: http://search.cpan.org/dist/AnyEvent
|
||||
License: GPL+ or Artistic
|
||||
%define cpan_name AnyEvent
|
||||
Summary: DBI of event loop programming
|
||||
Group: Development/Libraries/Perl
|
||||
License: GNU General Public License version 2 or later or Artistic (GPLv2+ or Artistic)
|
||||
Url: http://search.cpan.org/dist/AnyEvent/
|
||||
Source: http://www.cpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
%if ! ( 0%{?rhel_version} || 0%{?centos_version} )
|
||||
%{perl_requires}
|
||||
%if 0%{suse_version} > 1010
|
||||
Recommends: perl(Async::Interrupt) >= 1
|
||||
Recommends: perl(EV) >= 3.05
|
||||
Recommends: perl(Guard) >= 1.02
|
||||
@@ -38,61 +39,35 @@ Recommends: perl(Net::SSLeay) >= 1.33
|
||||
%endif
|
||||
|
||||
%description
|
||||
AnyEvent provides a uniform interface to various event loops. This allows
|
||||
module authors to use event loop functionality without forcing module
|
||||
users to use a specific event loop implementation (since more than one
|
||||
event loop cannot coexist peacefully).
|
||||
The interface itself is vaguely similar, but not identical to the Event
|
||||
module.
|
||||
the AnyEvent manpage provides a uniform interface to various event loops.
|
||||
This allows module authors to use event loop functionality without forcing
|
||||
module users to use a specific event loop implementation (since more than
|
||||
one event loop cannot coexist peacefully).
|
||||
|
||||
The interface itself is vaguely similar, but not identical to the the Event
|
||||
manpage module.
|
||||
|
||||
%prep
|
||||
%setup -q -n "AnyEvent-%{version}"
|
||||
%__sed -i '/^auto_install/d' Makefile.PL
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
find . -type f -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
%__perl Makefile.PL PREFIX="%{_prefix}"
|
||||
%__make %{?_smp_flags}
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
|
||||
%check
|
||||
%__make test
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes COPYING README util
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc Changes README
|
||||
%{perl_vendorarch}/AE.pm
|
||||
%{perl_vendorarch}/AnyEvent.pm
|
||||
%{perl_vendorarch}/AnyEvent/DNS.pm
|
||||
%{perl_vendorarch}/AnyEvent/Debug.pm
|
||||
%doc %{perl_vendorarch}/AnyEvent/FAQ.pod
|
||||
%{perl_vendorarch}/AnyEvent/Handle.pm
|
||||
%dir %{perl_vendorarch}/AnyEvent/Impl
|
||||
%{perl_vendorarch}/AnyEvent/Impl/Cocoa.pm
|
||||
%{perl_vendorarch}/AnyEvent/Impl/EV.pm
|
||||
%{perl_vendorarch}/AnyEvent/Impl/Event.pm
|
||||
%{perl_vendorarch}/AnyEvent/Impl/EventLib.pm
|
||||
%{perl_vendorarch}/AnyEvent/Impl/Glib.pm
|
||||
%{perl_vendorarch}/AnyEvent/Impl/IOAsync.pm
|
||||
%{perl_vendorarch}/AnyEvent/Impl/Irssi.pm
|
||||
%{perl_vendorarch}/AnyEvent/Impl/POE.pm
|
||||
%{perl_vendorarch}/AnyEvent/Impl/Perl.pm
|
||||
%{perl_vendorarch}/AnyEvent/Impl/Qt.pm
|
||||
%{perl_vendorarch}/AnyEvent/Impl/Tk.pm
|
||||
%doc %{perl_vendorarch}/AnyEvent/Intro.pod
|
||||
%{perl_vendorarch}/AnyEvent/Socket.pm
|
||||
%{perl_vendorarch}/AnyEvent/Strict.pm
|
||||
%{perl_vendorarch}/AnyEvent/TLS.pm
|
||||
%{perl_vendorarch}/AnyEvent/Util.pm
|
||||
%dir %{perl_vendorarch}/AnyEvent/Util
|
||||
%{perl_vendorarch}/AnyEvent/Util/idna.pl
|
||||
%{perl_vendorarch}/AnyEvent/Util/uts46data.pl
|
||||
%{perl_vendorarch}/AnyEvent/constants.pl
|
||||
%{perl_vendorarch}
|
||||
%doc %{perl_man3dir}/*.%{perl_man3ext}%{ext_man}
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user