8
0
forked from pool/perl-AnyEvent
Pascal Bleser
2011-06-11 22:05:46 +00:00
committed by Git OBS Bridge
parent db530ec9c0
commit 7d34be444b
4 changed files with 61 additions and 55 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ed478c392c06767f2b7388bc3fb6ee00ecdbca9f8d73689c4e6eadc76cdd1b11
size 177287

3
AnyEvent-5.34.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0801a35233f2f1a9e53f25d253c22332946eda3fe7b24819e7451401efae83cf
size 226736

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Jun 11 22:03:01 UTC 2011 - pascal.bleser@opensuse.org
- switch to bm.pl, as cpanspec created an RPM that didn't provide
perl(AnyEvent)
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Jun 11 01:27:13 UTC 2011 - pascal.bleser@opensuse.org Sat Jun 11 01:27:13 UTC 2011 - pascal.bleser@opensuse.org

View File

@@ -1,40 +1,16 @@
# # vim: set sw=4 ts=4 et nu:
# spec file for package perl-AnyEvent (Version 5.34)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-AnyEvent Name: perl-AnyEvent
Summary: DBI of event loop programming
Version: 5.34 Version: 5.34
Release: 1 Release: 0
License: Artistic License, GPL 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
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/AnyEvent/ License: GNU General Public License version 2 or later or Artistic (GPLv2+ or Artistic)
# http://www.cpan.org/modules/by-module/AnyEvent/AnyEvent-%{version}.tar.gz BuildRoot: %{_tmppath}/build-%{name}-%{version}
Source: AnyEvent-%{version}.tar.bz2
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires} %{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
#
Provides: perl(AnyEvent) = %{version}
#
Recommends: perl(Async::Interrupt) >= 1 Recommends: perl(Async::Interrupt) >= 1
Recommends: perl(EV) >= 3.05 Recommends: perl(EV) >= 3.05
Recommends: perl(Guard) >= 1.02 Recommends: perl(Guard) >= 1.02
@@ -43,37 +19,61 @@ Recommends: perl(JSON::XS) >= 2.2
Recommends: perl(Net::SSLeay) >= 1.33 Recommends: perl(Net::SSLeay) >= 1.33
%description %description
AnyEvent provides an identical interface to multiple event loops. This AnyEvent provides a uniform interface to various event loops. This allows
allows module authors to utilise an event loop without forcing module users module authors to use event loop functionality without forcing module
to use the same event loop (as only a single event loop can coexist users to use a specific event loop implementation (since more than one
peacefully at any one time). event loop cannot coexist peacefully).
The interface itself is vaguely similar, but not identical to the Event The interface itself is vaguely similar, but not identical to the Event
module. module.
%prep %prep
%setup -q -n AnyEvent-%{version} %setup -q -n "AnyEvent-%{version}"
%__sed -i '/^auto_install/d' Makefile.PL
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor %__perl Makefile.PL PREFIX="%{_prefix}"
%{__make} %{?_smp_mflags} %__make %{?_smp_flags}
%check
%{__make} test
%install %install
%perl_make_install %perl_make_install
# remove .packlist file %perl_process_packlist
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
# remove perllocal.pod file %check
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib %__make test
%perl_gen_filelist
%clean %clean
%{__rm} -rf $RPM_BUILD_ROOT %{?buildroot:%__rm -rf "%{buildroot}"}
%files -f %{name}.files %files
%defattr(-,root,root,-) %defattr(-,root,root)
%doc Changes COPYING README %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