Accepting request 140060 from home:kostyasha:branches:openSUSE:Tools:Unstable

OBS-URL: https://build.opensuse.org/request/show/140060
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Net-RabbitMQ?expand=0&rev=1
This commit is contained in:
Stephan Kulow
2012-11-04 07:27:11 +00:00
committed by Git OBS Bridge
commit 4164190da0
7 changed files with 101 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

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

View File

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

View File

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

View File

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

65
perl-Net-RabbitMQ.spec Normal file
View File

@@ -0,0 +1,65 @@
#
# spec file for package perl-Net-RabbitMQ (Version 0.2.0)
#
# Copyright (c) 2011 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/
#
Name: perl-Net-RabbitMQ
Version: 0.2.0
Release: 1
License: MPLv1.1
%define cpan_name Net-RabbitMQ
Summary: interact with RabbitMQ over AMQP using librabbitmq
Url: http://search.cpan.org/dist/Net-RabbitMQ/
Group: Development/Libraries/Perl
Source: http://www.cpan.org/authors/id/J/JE/JESUS/%{cpan_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
%{perl_requires}
%description
'Net::RabbitMQ' provides a simple wrapper around the librabbitmq library
that allows connecting, delcaring exchanges and queues, binding and
unbinding queues, publising, consuming and receiving events.
Error handling in this module is primarily achieve by Perl_croak (die). You
should be making good use of eval around these methods to ensure that you
appropriately catch the errors.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags}
%check
%if 0%{?_with_network_tests}
%{__make} test
%endif
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes LICENSE LICENSE-MPL-RabbitMQ README
%changelog