SHA256
1
0
forked from pool/kanku

Accepting request 874009 from devel:kanku

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/874009
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kanku?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2021-02-20 21:12:56 +00:00 committed by Git OBS Bridge
commit 895e2684f8
6 changed files with 200 additions and 176 deletions

View File

@ -1,4 +1,4 @@
<servicedata> <servicedata>
<service name="tar_scm"> <service name="tar_scm">
<param name="url">https://github.com/M0ses/kanku.git</param> <param name="url">https://github.com/M0ses/kanku.git</param>
<param name="changesrevision">330e0e1baaef3e4bb01fecc7c8deb768705d00f1</param></service></servicedata> <param name="changesrevision">b7a464a8576b36c6da6fb81637aaa8c982e2bfa7</param></service></servicedata>

View File

@ -2,7 +2,7 @@ Format: 1.0
Source: kanku Source: kanku
Binary: kanku Binary: kanku
Architecture: any Architecture: any
Version: 0.10.0 Version: 0.10.2
Maintainer: unknown <unknown@debian.org> Maintainer: unknown <unknown@debian.org>
Standards-Version: 3.8.2 Standards-Version: 3.8.2
Homepage: https://github.com/M0ses/kanku Homepage: https://github.com/M0ses/kanku

View File

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

3
kanku-0.10.2.tar.xz Normal file
View File

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

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Sat Feb 13 12:18:01 UTC 2021 - FSchreiner@suse.com
- Update to version 0.10.2:
* [dist] fixed typo in spec
* [dist] fixed spec for i686
* [dist] added default-vm.tt2.i686
* [util] improved terminal handling in VM::Console for Debian Unstable
* [dist] added debian files to extract via service
* [dist] removed debian files - use DEBTRANSFORM
* [dist] updated debian changelog
* [setup] fixed network_name in distributed setup
* [dist] fixed missing quotes for _arch
* removed TODOs and added req for qemu
* [dist] imported changes in spec file from jengelh
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jan 28 10:03:59 UTC 2021 - Frank Schreiner <FSchreiner@suse.com> Thu Jan 28 10:03:59 UTC 2021 - Frank Schreiner <FSchreiner@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package kanku # spec file for package kanku
# #
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2021 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -12,90 +12,91 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
%define kanku_user kankurun %define kanku_user kankurun
%define kanku_group kanku %define kanku_group kanku
%define kanku_vardir /var/lib/kanku/ %define kanku_vardir /var/lib/kanku/
Name: kanku Name: kanku
# Version gets set by obs-service-tar_scm # Version gets set by obs-service-tar_scm
Version: 0.10.0 Version: 0.10.2
Release: 0 Release: 0
License: GPL-3.0 License: GPL-3.0-only
Summary: Development and continuous integration Summary: Development and continuous integration
Url: https://github.com/M0ses/kanku URL: https://github.com/M0ses/kanku
Group: Productivity/Networking/Web/Utilities Group: Productivity/Networking/Web/Utilities
Source: %{name}-%{version}.tar.xz Source: %{name}-%{version}.tar.xz
BuildArch: noarch BuildArch: noarch
BuildRequires: perl-macros
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: perl-macros
BuildRequires: systemd-rpm-macros BuildRequires: systemd-rpm-macros
# perl requires for %check # perl requires for %check
BuildRequires: perl(Const::Fast) BuildRequires: perl(Const::Fast)
BuildRequires: perl(Test::Simple) BuildRequires: perl(Config::Tiny)
BuildRequires: perl(YAML::PP) BuildRequires: perl(Config::Tiny)
BuildRequires: perl(Config::Tiny) BuildRequires: perl(DBIx::Class)
BuildRequires: perl(Path::Class) BuildRequires: perl(DBIx::Class::Fixtures)
BuildRequires: perl(Sys::Virt) BuildRequires: perl(DBIx::Class::Migration)
BuildRequires: perl(Moose) BuildRequires: perl(DBIx::Class::Migration)
BuildRequires: perl(Log::Log4perl) BuildRequires: perl(Dancer2)
BuildRequires: perl(MooseX::App) BuildRequires: perl(Dancer2::Plugin::Auth::Extensible)
BuildRequires: perl(MooseX::Singleton) BuildRequires: perl(Dancer2::Plugin::Auth::Extensible::Provider::DBIC)
BuildRequires: perl(Dancer2::Plugin::REST) BuildRequires: perl(Dancer2::Plugin::DBIC)
BuildRequires: perl(Expect) BuildRequires: perl(Dancer2::Plugin::REST)
BuildRequires: perl(Net::SSH2) BuildRequires: perl(Dancer2::Plugin::REST)
BuildRequires: perl(Net::IP) BuildRequires: perl(Expect)
BuildRequires: perl(Net::OBS::Client) BuildRequires: perl(File::HomeDir)
BuildRequires: perl(XML::Structured) BuildRequires: perl(File::LibMagic)
BuildRequires: perl(DBIx::Class::Migration) BuildRequires: perl(IO::Interactive)
BuildRequires: perl(Template) BuildRequires: perl(IO::Uncompress::UnXz)
BuildRequires: perl(Template::Plugin::Filter::ANSIColor) BuildRequires: perl(IPC::Run)
BuildRequires: perl(Config::Tiny) BuildRequires: perl(JSON::XS)
BuildRequires: perl(Dancer2::Plugin::DBIC) BuildRequires: perl(Log::Log4perl)
BuildRequires: perl(Dancer2::Plugin::Auth::Extensible) BuildRequires: perl(Moose)
BuildRequires: perl(Dancer2::Plugin::Auth::Extensible::Provider::DBIC) BuildRequires: perl(MooseX::App)
BuildRequires: perl(File::HomeDir) BuildRequires: perl(MooseX::Singleton)
BuildRequires: perl(JSON::XS) BuildRequires: perl(Net::IP)
BuildRequires: perl(DBIx::Class) BuildRequires: perl(Net::OBS::Client)
BuildRequires: perl(DBIx::Class::Migration) BuildRequires: perl(Net::SSH2)
BuildRequires: perl(DBIx::Class::Fixtures) BuildRequires: perl(Path::Class)
BuildRequires: perl(File::LibMagic) BuildRequires: perl(Plack)
BuildRequires: perl(IO::Uncompress::UnXz) BuildRequires: perl(Sys::Virt)
BuildRequires: perl(Plack) BuildRequires: perl(Template)
BuildRequires: perl(Dancer2) BuildRequires: perl(Template::Plugin::Filter::ANSIColor)
BuildRequires: perl(Dancer2::Plugin::REST) BuildRequires: perl(Term::ReadKey)
BuildRequires: perl(XML::XPath) BuildRequires: perl(Test::Simple)
BuildRequires: perl(Term::ReadKey) BuildRequires: perl(XML::Structured)
BuildRequires: perl(IPC::Run) BuildRequires: perl(XML::XPath)
BuildRequires: perl(IO::Interactive) BuildRequires: perl(YAML::PP)
# DBD::SQLite is also provided by perl-DBD-SQLite-Amalgamation # DBD::SQLite is also provided by perl-DBD-SQLite-Amalgamation
# but perl-DBD-SQLite-Amalgamation is breaks with SQL syntax errors # but perl-DBD-SQLite-Amalgamation is breaks with SQL syntax errors
# at job_histroy_sub table # at job_histroy_sub table
BuildRequires: perl-DBD-SQLite BuildRequires: perl-DBD-SQLite
BuildRequires: perl(LWP::UserAgent) BuildRequires: desktop-file-utils
BuildRequires: perl(LWP::Protocol::https) BuildRequires: libvirt-daemon
BuildRequires: perl(Mail::Sendmail) BuildRequires: shared-mime-info
BuildRequires: perl(Archive::Cpio) BuildRequires: perl(Archive::Cpio)
BuildRequires: perl(Dancer2) BuildRequires: perl(Dancer2)
BuildRequires: perl(Dancer2::Plugin) BuildRequires: perl(Dancer2::Plugin)
BuildRequires: perl(Dancer2::Plugin::REST) BuildRequires: perl(Dancer2::Plugin::Auth::Extensible)
BuildRequires: perl(Dancer2::Plugin::DBIC) BuildRequires: perl(Dancer2::Plugin::DBIC)
BuildRequires: perl(Dancer2::Plugin::WebSocket) BuildRequires: perl(Dancer2::Plugin::REST)
BuildRequires: perl(Dancer2::Plugin::Auth::Extensible) BuildRequires: perl(Dancer2::Plugin::WebSocket)
BuildRequires: perl(Net::AMQP::RabbitMQ) BuildRequires: perl(LWP::Protocol::https)
BuildRequires: perl(UUID) BuildRequires: perl(LWP::UserAgent)
BuildRequires: libvirt-daemon BuildRequires: perl(Mail::Sendmail)
BuildRequires: desktop-file-utils BuildRequires: perl(Net::AMQP::RabbitMQ)
BuildRequires: shared-mime-info BuildRequires: perl(UUID)
Requires: kanku-cli Requires: kanku-cli
Requires: kanku-web Requires: kanku-dispatcher
Requires: kanku-worker Requires: kanku-scheduler
Requires: kanku-scheduler Requires: kanku-triggerd
Requires: kanku-dispatcher Requires: kanku-web
Requires: kanku-triggerd Requires: kanku-worker
%description %description
kanku is a utility for integration of kiwi images built kanku is a utility for integration of kiwi images built
@ -128,62 +129,64 @@ ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rckanku-triggerd
%exclude /usr %exclude /usr
%package common %package common
Summary: Common files for kanku Summary: Common files for kanku
Recommends: osc Recommends: apache2
Recommends: perl(IO::Uncompress::UnXz) Recommends: osc
Recommends: apache2 Recommends: perl(IO::Uncompress::UnXz)
Recommends: perl(YAML::PP::LibYAML) Recommends: perl(YAML::PP::LibYAML)
Requires: libvirt-daemon-qemu libvirt-daemon-config-network libvirt-daemon-config-nwfilter Requires: libvirt-daemon-config-network
Requires: sudo Requires: libvirt-daemon-config-nwfilter
Requires: perl(DBIx::Class::Fixtures) Requires: libvirt-daemon-qemu
Requires: perl(Test::Simple) Requires: perl-Plack
Requires: perl(YAML::PP) Requires: sudo
Requires: perl(Config::Tiny) Requires: perl(Config::Tiny)
Requires: perl(Path::Class) Requires: perl(Config::Tiny)
Requires: perl(Sys::Virt) Requires: perl(Const::Fast)
Requires: perl(Moose) Requires: perl(DBIx::Class)
Requires: perl(MooseX::App) Requires: perl(DBIx::Class::Fixtures)
Requires: perl(Dancer2::Plugin::REST) Requires: perl(DBIx::Class::Migration)
Requires: perl(MooseX::Singleton) Requires: perl(DBIx::Class::Migration)
Requires: perl(Expect) Requires: perl(Dancer2)
Requires: perl(Net::SSH2) Requires: perl(Dancer2::Plugin::Auth::Extensible)
Requires: perl(Net::IP) Requires: perl(Dancer2::Plugin::Auth::Extensible::Provider::DBIC)
Requires: perl(Net::OBS::Client) Requires: perl(Dancer2::Plugin::DBIC)
Requires: perl(XML::Structured) Requires: perl(Dancer2::Plugin::REST)
Requires: perl(DBIx::Class::Migration) Requires: perl(Dancer2::Plugin::REST)
Requires: perl(Template) Requires: perl(Expect)
Requires: perl(Log::Log4perl) Requires: perl(File::HomeDir)
Requires: perl(Config::Tiny) Requires: perl(File::LibMagic)
Requires: perl(Dancer2::Plugin::DBIC) Requires: perl(IO::Uncompress::UnXz)
Requires: perl(Dancer2::Plugin::Auth::Extensible) Requires: perl(IPC::Run)
Requires: perl(Dancer2::Plugin::Auth::Extensible::Provider::DBIC) Requires: perl(JSON::XS)
Requires: perl(File::HomeDir) Requires: perl(Log::Log4perl)
Requires: perl(Template::Plugin::Filter::ANSIColor) Requires: perl(Moose)
Requires: perl(JSON::XS) Requires: perl(MooseX::App)
Requires: perl(DBIx::Class) Requires: perl(MooseX::Singleton)
Requires: perl(DBIx::Class::Migration) Requires: perl(Net::IP)
Requires: perl(Template::Plugin::Filter::ANSIColor) Requires: perl(Net::OBS::Client)
Requires: perl(File::LibMagic) Requires: perl(Net::SSH2)
Requires: perl(IO::Uncompress::UnXz) Requires: perl(Path::Class)
Requires: perl-Plack Requires: perl(Sys::Virt)
Requires: perl(Dancer2) Requires: perl(Template)
Requires: perl(Dancer2::Plugin::REST) Requires: perl(Template::Plugin::Filter::ANSIColor)
Requires: perl(XML::XPath) Requires: perl(Template::Plugin::Filter::ANSIColor)
Requires: perl(Term::ReadKey) Requires: perl(Term::ReadKey)
Requires: perl(IPC::Run) Requires: perl(Test::Simple)
Requires: perl(Const::Fast) Requires: perl(XML::Structured)
Requires: perl(XML::XPath)
Requires: perl(YAML::PP)
# DBD::SQLite is also provided by perl-DBD-SQLite-Amalgamation # DBD::SQLite is also provided by perl-DBD-SQLite-Amalgamation
# but perl-DBD-SQLite-Amalgamation is breaks with SQL syntax errors # but perl-DBD-SQLite-Amalgamation is breaks with SQL syntax errors
# at job_histroy_sub table # at job_histroy_sub table
Requires: perl-DBD-SQLite Requires: perl-DBD-SQLite
Requires: perl(LWP::Protocol::https) Requires: logrotate
Requires: perl(Mail::Sendmail) Requires: perl(Archive::Cpio)
Requires: perl(Archive::Cpio) Requires: perl(LWP::Protocol::https)
Requires: perl(UUID) Requires: perl(Mail::Sendmail)
Requires: logrotate Requires: perl(UUID)
Conflicts: perl-DBD-SQLite-Amalgamation Conflicts: perl-DBD-SQLite-Amalgamation
%description common %description common
common config and lib files used in kanku common config and lib files used in kanku
@ -289,15 +292,15 @@ common config and lib files used in kanku
/usr/lib/kanku/lib/Kanku/Test/ /usr/lib/kanku/lib/Kanku/Test/
%package cli %package cli
Summary: Command line client for kanku Summary: Command line client for kanku
Requires: kanku-common Requires: kanku-common
Requires: libvirt-client Requires: libvirt-client
Requires(pre): libvirt-daemon libvirt-daemon-driver-qemu Requires(pre): libvirt-daemon libvirt-daemon-driver-qemu
Requires(pre): sudo Requires(pre): sudo
Requires: perl(Net::AMQP::RabbitMQ) Requires: (perl(Passwd::Keyring::Gnome) if gnome-keyring)
Requires: perl(IO::Interactive) Requires: (perl(Passwd::Keyring::KDEWallet) if kwalletd5)
Requires: (perl(Passwd::Keyring::KDEWallet) if kwalletd5) Requires: perl(IO::Interactive)
Requires: (perl(Passwd::Keyring::Gnome) if gnome-keyring) Requires: perl(Net::AMQP::RabbitMQ)
%description cli %description cli
Command line client for kanku, mainly used for setup tasks Command line client for kanku, mainly used for setup tasks
@ -313,17 +316,17 @@ and in developer mode.
/etc/bash_completion.d/kanku.sh /etc/bash_completion.d/kanku.sh
%package common-server %package common-server
Summary: Common server files or settings for kanku Summary: Common server files or settings for kanku
Requires(pre): libvirt-daemon libvirt-daemon-driver-qemu Requires(pre): libvirt-daemon libvirt-daemon-driver-qemu
%if 0%{?fedora} %if 0%{?fedora}
Requires(pre): shadow-utils Requires(pre): shadow-utils
%else %else
Requires(pre): shadow Requires(pre): shadow
%endif %endif
%description common-server %description common-server
This package contains common server files, settings and dependencies This package contains common server files, settings and dependencies
for the kanku server components like kanku-worker, kanku-dispatcher, for the kanku server components like kanku-worker, kanku-dispatcher,
kanku-web, kanku-scheduler and kanku-triggerd. kanku-web, kanku-scheduler and kanku-triggerd.
@ -340,20 +343,20 @@ getent passwd %{kanku_user} >/dev/null || useradd -r -g %{kanku_group} -G libvir
%ghost %dir %attr(755, kankurun, kanku) /run/kanku %ghost %dir %attr(755, kankurun, kanku) /run/kanku
%package web %package web
Summary: WebUI for kanku Summary: WebUI for kanku
Requires: kanku-common Requires: kanku-common
Requires: kanku-common-server Requires: kanku-common-server
Requires: perl(Dancer2::Plugin::WebSocket) Requires: perl(Dancer2::Plugin::WebSocket)
Requires: perl(Twiggy) Requires: perl(Mail::Message::Body::String)
Requires: perl(Mail::Message::Body::String) Requires: perl(Mail::Transport::Send)
Requires: perl(Mail::Transport::Send) Requires: perl(Net::AMQP::RabbitMQ)
Requires: perl(Net::AMQP::RabbitMQ) Requires: perl(Template::Plugin::JSON::Escape)
Requires: perl(Template::Plugin::JSON::Escape) Requires: perl(Twiggy)
Requires: perl(UUID) Requires: perl(UUID)
%if 0%{?fedora} %if 0%{?fedora}
Requires: server(smtp) Requires: server(smtp)
%else %else
Requires: smtp_daemon Requires: smtp_daemon
%endif %endif
%description web %description web
@ -406,17 +409,23 @@ WebUI for kanku using perl Dancer
/usr/lib/kanku/lib/Kanku/REST /usr/lib/kanku/lib/Kanku/REST
%package worker %package worker
Summary: Worker daemon for kanku Summary: Worker daemon for kanku
Requires: kanku-common Requires: kanku-common
Requires: kanku-common-server Requires: kanku-common-server
Requires: perl(Net::AMQP::RabbitMQ) Requires: perl(Net::AMQP::RabbitMQ)
Requires: perl(UUID) Requires: perl(Sys::CPU)
Requires: perl(Sys::CPU) Requires: perl(Sys::LoadAvg)
Requires: perl(Sys::LoadAvg) Requires: perl(Sys::MemInfo)
Requires: perl(Sys::MemInfo) Requires: perl(UUID)
%if "%{_arch}" == "x86_64" || "%{_arch}" == "i686"
Requires: qemu-kvm
%endif
%if "%{_arch}" == "aarch64"
Requires: qemu-arm
%endif
# apache2 is only needed for delivering console logs # apache2 is only needed for delivering console logs
Recommends: apache2 Recommends: apache2
%description worker %description worker
A remote worker for kanku based on RabbitMQ. A remote worker for kanku based on RabbitMQ.
@ -438,13 +447,13 @@ A remote worker for kanku based on RabbitMQ.
/usr/lib/kanku/lib/Kanku/Daemon/Worker.pm /usr/lib/kanku/lib/Kanku/Daemon/Worker.pm
%package dispatcher %package dispatcher
Summary: Dispatcher daemon for kanku Summary: Dispatcher daemon for kanku
Requires: kanku-common Requires: kanku-common
Requires: kanku-common-server Requires: kanku-common-server
Requires: perl(Net::AMQP::RabbitMQ) Requires: perl(Net::AMQP::RabbitMQ)
Requires(pre): sudo Requires(pre): sudo
Recommends: rabbitmq-server Recommends: rabbitmq-server
%description dispatcher %description dispatcher
A dispatcher for kanku based on RabbitMQ. A dispatcher for kanku based on RabbitMQ.
@ -467,9 +476,9 @@ A dispatcher for kanku based on RabbitMQ.
/usr/share/kanku/views/notifier/ /usr/share/kanku/views/notifier/
%package scheduler %package scheduler
Summary: Scheduler daemon for kanku Summary: Scheduler daemon for kanku
Requires: kanku-common Requires: kanku-common
Requires: kanku-common-server Requires: kanku-common-server
%description scheduler %description scheduler
A scheduler for kanku based on RabbitMQ. A scheduler for kanku based on RabbitMQ.
@ -490,9 +499,9 @@ A scheduler for kanku based on RabbitMQ.
%{_sbindir}/rckanku-scheduler %{_sbindir}/rckanku-scheduler
%package triggerd %package triggerd
Summary: Trigger daemon for kanku Summary: Trigger daemon for kanku
Requires: kanku-common Requires: kanku-common
Requires: kanku-common-server Requires: kanku-common-server
%description triggerd %description triggerd
A triggerd for kanku based on RabbitMQ. A triggerd for kanku based on RabbitMQ.
@ -514,9 +523,8 @@ A triggerd for kanku based on RabbitMQ.
/usr/lib/kanku/lib/Kanku/Daemon/TriggerD.pm /usr/lib/kanku/lib/Kanku/Daemon/TriggerD.pm
/usr/lib/kanku/lib/Kanku/Listener/RabbitMQ.pm /usr/lib/kanku/lib/Kanku/Listener/RabbitMQ.pm
%package doc %package doc
Summary: Documentation files for kanku Summary: Documentation files for kanku
%description doc %description doc
This package contains the documentation files for kanku. This package contains the documentation files for kanku.
@ -525,11 +533,11 @@ This package contains the documentation files for kanku.
%{_defaultdocdir}/kanku/ %{_defaultdocdir}/kanku/
%package urlwrapper %package urlwrapper
Summary: Url wrapper for kanku:// urls Summary: Url wrapper for kanku:// urls
Requires: kanku-cli Requires: desktop-file-utils
Requires: desktop-file-utils Requires: kanku-cli
Requires: shared-mime-info Requires: shared-mime-info
Obsoletes: kanku-url-wrapper Obsoletes: kanku-url-wrapper
%description urlwrapper %description urlwrapper
A URL wrapper to start kanku from kanku:// urls in the browser. A URL wrapper to start kanku from kanku:// urls in the browser.