8
0
Stephan Kulow
2016-11-28 13:07:18 +00:00
committed by Git OBS Bridge
commit 34375d964e
5 changed files with 106 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:fda6d2c317cb380a345e487f2cb675e2a3b77b8004b506cc3056008851ddd7f6
size 59836

View File

@@ -0,0 +1,11 @@
-------------------------------------------------------------------
Mon Nov 28 11:05:12 UTC 2016 - dheidler@suse.com
- Disable 32 bit (dep does not run on 32 bit)
- Version 0.0.6 from cpan
-------------------------------------------------------------------
Mon Nov 28 09:29:10 UTC 2016 - dheidler@suse.com
- Initial Package

View File

@@ -0,0 +1,68 @@
#
# spec file for package perl-Mojo-RabbitMQ-Client
#
# Copyright (c) 2016 SUSE LINUX 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-Mojo-RabbitMQ-Client
Version: 0.0.6
Release: 0
Summary: Mojo::IOLoop based RabbitMQ client
License: Artistic-2.0
Group: Development/Libraries/Perl
Url: https://github.com/inway/mojo-rabbitmq-client
Source0: http://search.cpan.org/CPAN/authors/id/S/SE/SEBAPOD/Mojo-RabbitMQ-Client-%{version}.tar.gz
BuildArch: noarch
# Net::AMQP only supports 64 bit: https://rt.cpan.org/Public/Bug/Display.html?id=87816
ExcludeArch: i586 armv7l
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Mojolicious) >= 6.10
BuildRequires: perl(Net::AMQP)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Exception)
BuildRequires: perl(List::MoreUtils)
BuildRequires: perl(File::ShareDir)
BuildRequires: perl(Module::Build::Tiny)
Requires: perl(Mojolicious) >= 6.10
Requires: perl(Net::AMQP)
Requires: perl(List::MoreUtils)
Requires: perl(File::ShareDir)
%{perl_requires}
%description
This is a rewrite of great module AnyEvent::RabbitMQ to work on top Mojo::IOLoop.
%prep
%setup -q -n Mojo-RabbitMQ-Client-%{version}
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%build
%{__perl} Build.PL --installdirs=vendor
./Build --flags=%{?_smp_mflags}
%check
./Build test
%install
./Build install --destdir=%{buildroot} --create_packlist=0
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes examples LICENSE README.md
%changelog