disabled service
OBS-URL: https://build.opensuse.org/package/show/devel:kanku/kanku?expand=0&rev=80
This commit is contained in:
parent
ad1b278bdd
commit
b1a39ad2b1
7
_service
7
_service
@ -1,5 +1,5 @@
|
||||
<services>
|
||||
<service name="obs_scm">
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="versionformat">@PARENT_TAG@.git%cd.%h</param>
|
||||
<param name="url">https://github.com/M0ses/kanku.git</param>
|
||||
<param name="scm">git</param>
|
||||
@ -7,10 +7,9 @@
|
||||
<param name="extract">dist/kanku.spec</param>
|
||||
<param name="revision">master</param>
|
||||
</service>
|
||||
<service name="tar" mode="buildtime"/>
|
||||
<service name="recompress" mode="buildtime">
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="compression">xz</param>
|
||||
<param name="file">*.tar</param>
|
||||
</service>
|
||||
<service name="set_version" mode="buildtime"/>
|
||||
<service name="set_version" mode="disabled"/>
|
||||
</services>
|
||||
|
@ -1,4 +0,0 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/M0ses/kanku.git</param>
|
||||
<param name="changesrevision">ed5bac080169cbc36c4208db35ea86d9c1ace0a7</param></service></servicedata>
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a0053d6248c36fb0951815c52246a543ebf475e2d5d953a19d48cb2ff2e7fdf8
|
||||
size 10594829
|
@ -1,5 +0,0 @@
|
||||
name: kanku
|
||||
version: 0.9.0.git20201205.ed5bac0
|
||||
mtime: 1607168807
|
||||
commit: ed5bac080169cbc36c4208db35ea86d9c1ace0a7
|
||||
|
@ -1,571 +0,0 @@
|
||||
#
|
||||
# spec file for package kanku
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
%define kanku_user kankurun
|
||||
%define kanku_group kanku
|
||||
%define kanku_vardir /var/lib/kanku/
|
||||
|
||||
Name: kanku
|
||||
# Version gets set by obs-service-tar_scm
|
||||
Version: 0.0.0
|
||||
Release: 0.0
|
||||
License: GPL-3.0
|
||||
Summary: Development and continuous integration made easy
|
||||
Url: https://github.com/M0ses/kanku
|
||||
Group: Productivity/Networking/Web/Utilities
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: systemd-rpm-macros
|
||||
|
||||
|
||||
# perl requires for %check
|
||||
BuildRequires: perl(Const::Fast)
|
||||
BuildRequires: perl(Test::Simple)
|
||||
BuildRequires: perl(YAML::PP)
|
||||
BuildRequires: perl(Config::Tiny)
|
||||
BuildRequires: perl(Path::Class)
|
||||
BuildRequires: perl(Sys::Virt)
|
||||
BuildRequires: perl(Moose)
|
||||
BuildRequires: perl(Log::Log4perl)
|
||||
BuildRequires: perl(MooseX::App)
|
||||
BuildRequires: perl(MooseX::Singleton)
|
||||
BuildRequires: perl(Dancer2::Plugin::REST)
|
||||
BuildRequires: perl(Expect)
|
||||
BuildRequires: perl(Net::SSH2)
|
||||
BuildRequires: perl(Net::IP)
|
||||
BuildRequires: perl(Net::OBS::Client)
|
||||
BuildRequires: perl(XML::Structured)
|
||||
BuildRequires: perl(DBIx::Class::Migration)
|
||||
BuildRequires: perl(Template)
|
||||
BuildRequires: perl(Template::Plugin::Filter::ANSIColor)
|
||||
BuildRequires: perl(Config::Tiny)
|
||||
BuildRequires: perl(Dancer2::Plugin::DBIC)
|
||||
BuildRequires: perl(Dancer2::Plugin::Auth::Extensible)
|
||||
BuildRequires: perl(Dancer2::Plugin::Auth::Extensible::Provider::DBIC)
|
||||
BuildRequires: perl(File::HomeDir)
|
||||
BuildRequires: perl(JSON::XS)
|
||||
BuildRequires: perl(DBIx::Class)
|
||||
BuildRequires: perl(DBIx::Class::Migration)
|
||||
BuildRequires: perl(DBIx::Class::Fixtures)
|
||||
BuildRequires: perl(File::LibMagic)
|
||||
BuildRequires: perl(IO::Uncompress::UnXz)
|
||||
BuildRequires: perl(Plack)
|
||||
BuildRequires: perl(Dancer2)
|
||||
BuildRequires: perl(Dancer2::Plugin::REST)
|
||||
BuildRequires: perl(XML::XPath)
|
||||
BuildRequires: perl(Term::ReadKey)
|
||||
BuildRequires: perl(IPC::Run)
|
||||
BuildRequires: perl(IO::Interactive)
|
||||
# DBD::SQLite is also provided by perl-DBD-SQLite-Amalgamation
|
||||
# but perl-DBD-SQLite-Amalgamation is breaks with SQL syntax errors
|
||||
# at job_histroy_sub table
|
||||
BuildRequires: perl-DBD-SQLite
|
||||
BuildRequires: perl(LWP::UserAgent)
|
||||
BuildRequires: perl(LWP::Protocol::https)
|
||||
BuildRequires: perl(Mail::Sendmail)
|
||||
BuildRequires: perl(Archive::Cpio)
|
||||
BuildRequires: perl(Dancer2)
|
||||
BuildRequires: perl(Dancer2::Plugin)
|
||||
BuildRequires: perl(Dancer2::Plugin::REST)
|
||||
BuildRequires: perl(Dancer2::Plugin::DBIC)
|
||||
BuildRequires: perl(Dancer2::Plugin::WebSocket)
|
||||
BuildRequires: perl(Dancer2::Plugin::Auth::Extensible)
|
||||
BuildRequires: perl(Net::AMQP::RabbitMQ)
|
||||
BuildRequires: perl(UUID)
|
||||
BuildRequires: libvirt-daemon
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: shared-mime-info
|
||||
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
Requires: kanku-cli
|
||||
Requires: kanku-web
|
||||
Requires: kanku-worker
|
||||
Requires: kanku-scheduler
|
||||
Requires: kanku-dispatcher
|
||||
Requires: kanku-triggerd
|
||||
|
||||
%description
|
||||
kanku is designed to give you a better integration of your kiwi images built
|
||||
by the Open Build Service (OBS) in your development and testing workflow.
|
||||
|
||||
It provides a framework for simple automation of complex setups,
|
||||
e.g. to prepare your development environment or run simple tests.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
/bin/true
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot} DOCDIR=%{_defaultdocdir}/kanku/
|
||||
%fdupes %{buildroot}/opt/kanku/share
|
||||
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rckanku-web
|
||||
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rckanku-worker
|
||||
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rckanku-dispatcher
|
||||
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rckanku-scheduler
|
||||
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rckanku-triggerd
|
||||
|
||||
%check
|
||||
# FIXME
|
||||
#prove -Ilib t/000_use.t
|
||||
|
||||
%files
|
||||
%exclude /etc
|
||||
%exclude /usr
|
||||
|
||||
%package common
|
||||
Summary: Common files for kanku
|
||||
|
||||
Recommends: osc
|
||||
Recommends: perl(IO::Uncompress::UnXz)
|
||||
Recommends: apache2
|
||||
Recommends: perl(YAML::PP::LibYAML)
|
||||
Requires: libvirt-daemon-qemu libvirt-daemon-config-network libvirt-daemon-config-nwfilter
|
||||
Requires: sudo
|
||||
Requires: perl(DBIx::Class::Fixtures)
|
||||
Requires: perl(Test::Simple)
|
||||
Requires: perl(YAML::PP)
|
||||
Requires: perl(Config::Tiny)
|
||||
Requires: perl(Path::Class)
|
||||
Requires: perl(Sys::Virt)
|
||||
Requires: perl(Moose)
|
||||
Requires: perl(MooseX::App)
|
||||
Requires: perl(Dancer2::Plugin::REST)
|
||||
Requires: perl(MooseX::Singleton)
|
||||
Requires: perl(Expect)
|
||||
Requires: perl(Net::SSH2)
|
||||
Requires: perl(Net::IP)
|
||||
Requires: perl(Net::OBS::Client)
|
||||
Requires: perl(XML::Structured)
|
||||
Requires: perl(DBIx::Class::Migration)
|
||||
Requires: perl(Template)
|
||||
Requires: perl(Log::Log4perl)
|
||||
Requires: perl(Config::Tiny)
|
||||
Requires: perl(Dancer2::Plugin::DBIC)
|
||||
Requires: perl(Dancer2::Plugin::Auth::Extensible)
|
||||
Requires: perl(Dancer2::Plugin::Auth::Extensible::Provider::DBIC)
|
||||
Requires: perl(File::HomeDir)
|
||||
Requires: perl(Template::Plugin::Filter::ANSIColor)
|
||||
Requires: perl(JSON::XS)
|
||||
Requires: perl(DBIx::Class)
|
||||
Requires: perl(DBIx::Class::Migration)
|
||||
Requires: perl(Template::Plugin::Filter::ANSIColor)
|
||||
Requires: perl(File::LibMagic)
|
||||
Requires: perl(IO::Uncompress::UnXz)
|
||||
Requires: perl-Plack
|
||||
Requires: perl(Dancer2)
|
||||
Requires: perl(Dancer2::Plugin::REST)
|
||||
Requires: perl(XML::XPath)
|
||||
Requires: perl(Term::ReadKey)
|
||||
Requires: perl(IPC::Run)
|
||||
Requires: perl(Const::Fast)
|
||||
# DBD::SQLite is also provided by perl-DBD-SQLite-Amalgamation
|
||||
# but perl-DBD-SQLite-Amalgamation is breaks with SQL syntax errors
|
||||
# at job_histroy_sub table
|
||||
Requires: perl-DBD-SQLite
|
||||
Requires: perl(LWP::Protocol::https)
|
||||
Requires: perl(Mail::Sendmail)
|
||||
Requires: perl(Archive::Cpio)
|
||||
Requires: perl(UUID)
|
||||
Requires: logrotate
|
||||
|
||||
Conflicts: perl-DBD-SQLite-Amalgamation
|
||||
|
||||
%description common
|
||||
TODO:
|
||||
add a useful description
|
||||
|
||||
%post common
|
||||
%tmpfiles_create %_tmpfilesdir/kanku.conf
|
||||
|
||||
%files common
|
||||
%defattr(-,root,root)
|
||||
%doc README.md TODO
|
||||
|
||||
%dir /usr/lib/kanku
|
||||
%dir /usr/lib/kanku/lib
|
||||
%dir /usr/lib/kanku/lib/Kanku
|
||||
%dir /usr/lib/kanku/lib/Kanku/Daemon
|
||||
|
||||
# share contains database related stuff
|
||||
%dir /usr/share/kanku
|
||||
/usr/share/kanku/fixtures
|
||||
/usr/share/kanku/migrations
|
||||
|
||||
%attr(755,root,root) /usr/bin/kanku
|
||||
%attr(755,root,root) /usr/lib/kanku/network-setup.pl
|
||||
|
||||
%dir /etc/kanku
|
||||
%ghost /etc/kanku/config.yml
|
||||
%dir /etc/kanku/logging/
|
||||
%config(noreplace) /etc/kanku/logging/console.conf
|
||||
%config(noreplace) /etc/kanku/logging/network-setup.conf
|
||||
%config(noreplace) /etc/kanku/logging/default.conf
|
||||
|
||||
%dir /etc/kanku/templates
|
||||
%dir /etc/kanku/templates/cmd
|
||||
%dir /etc/kanku/templates/cmd/setup
|
||||
%config /etc/kanku/templates/default-vm.tt2
|
||||
%config /etc/kanku/templates/with-spice.tt2
|
||||
%config /etc/kanku/templates/cmd/init.tt2
|
||||
%config /etc/kanku/templates/cmd/setup/*
|
||||
%dir /etc/kanku/templates/examples-vm/
|
||||
%config /etc/kanku/templates/examples-vm/obs-server-26.tt2
|
||||
%config /etc/kanku/templates/examples-vm/sles11sp3.tt2
|
||||
%config /etc/kanku/templates/examples-vm/obs-server.tt2
|
||||
|
||||
%dir /etc/kanku/jobs
|
||||
%dir /etc/kanku/jobs/examples
|
||||
%config /etc/kanku/jobs/examples/obs-server.yml
|
||||
%config /etc/kanku/jobs/examples/obs-server-26.yml
|
||||
%config /etc/kanku/jobs/examples/sles11sp3.yml
|
||||
|
||||
# %exclude %dir /etc/sudoers.d
|
||||
# %ghost /etc/sudoers.d/kanku
|
||||
|
||||
%exclude %dir /usr
|
||||
%exclude %dir /usr/bin/
|
||||
%exclude %dir /usr/sbin/
|
||||
%exclude %dir /usr/share/
|
||||
%exclude %dir /usr/lib/
|
||||
|
||||
%exclude %dir /etc/profile.d
|
||||
%config /etc/profile.d/kanku.sh
|
||||
|
||||
%exclude %dir /etc/logrotate.d/
|
||||
%config /etc/logrotate.d/kanku-common
|
||||
|
||||
%exclude %dir %_tmpfilesdir
|
||||
%_tmpfilesdir/kanku.conf
|
||||
|
||||
%dir /usr/lib/kanku/lib/Kanku/NotifyQueue/
|
||||
/usr/lib/kanku/lib/Kanku/NotifyQueue/*.pm
|
||||
/usr/lib/kanku/lib/Kanku/Handler/
|
||||
/usr/lib/kanku/lib/Kanku/Roles/
|
||||
/usr/lib/kanku/lib/Kanku/Schema/
|
||||
/usr/lib/kanku/lib/Kanku/Setup/
|
||||
/usr/lib/kanku/lib/Kanku/Util/
|
||||
/usr/lib/kanku/lib/Kanku/Util.pm
|
||||
/usr/lib/kanku/lib/Kanku/Task/
|
||||
/usr/lib/kanku/lib/OpenStack/
|
||||
/usr/lib/kanku/lib/Kanku/Config.pm
|
||||
/usr/lib/kanku/lib/Kanku/Handler.pod
|
||||
/usr/lib/kanku/lib/Kanku/Notifier
|
||||
/usr/lib/kanku/lib/Kanku/Job.pm
|
||||
/usr/lib/kanku/lib/Kanku/RabbitMQ.pm
|
||||
/usr/lib/kanku/lib/Kanku/Schema.pm
|
||||
/usr/lib/kanku/lib/Kanku/JobList.pm
|
||||
/usr/lib/kanku/lib/Kanku/Task.pm
|
||||
/usr/lib/kanku/lib/Kanku/Airbrake.pm
|
||||
/usr/lib/kanku/lib/Kanku/NotifyQueue.pm
|
||||
/usr/lib/kanku/lib/Kanku/GPG.pm
|
||||
/usr/lib/kanku/lib/Kanku/YAML.pm
|
||||
|
||||
%dir /usr/lib/kanku/lib/Kanku/WebSocket
|
||||
/usr/lib/kanku/lib/Kanku/WebSocket/Notification.pm
|
||||
/usr/lib/kanku/lib/Kanku/WebSocket/Session.pm
|
||||
|
||||
%dir /usr/lib/kanku/lib/Kanku/Airbrake
|
||||
/usr/lib/kanku/lib/Kanku/Airbrake/Dummy.pm
|
||||
|
||||
%dir /usr/lib/kanku/lib/Kanku/LibVirt
|
||||
/usr/lib/kanku/lib/Kanku/LibVirt/HostList.pm
|
||||
|
||||
%dir /usr/lib/kanku/lib/Kanku/Dispatch/
|
||||
/usr/lib/kanku/lib/Kanku/Dispatch/Local.pm
|
||||
|
||||
/usr/lib/kanku/lib/Kanku/Test/
|
||||
|
||||
%package cli
|
||||
Summary: Command line client for kanku
|
||||
Requires: kanku-common
|
||||
Requires: libvirt-client
|
||||
Requires(pre): libvirt-daemon libvirt-daemon-driver-qemu
|
||||
Requires(pre): sudo
|
||||
Requires: perl(Net::AMQP::RabbitMQ)
|
||||
Requires: perl(IO::Interactive)
|
||||
Requires: (perl(Passwd::Keyring::KDEWallet) if kwalletd5)
|
||||
Requires: (perl(Passwd::Keyring::Gnome) if gnome-keyring)
|
||||
|
||||
%description cli
|
||||
Command line client for kanku, mainly used for setup tasks
|
||||
and in developer mode
|
||||
|
||||
%files cli
|
||||
%dir /usr/share/kanku/views/cli/
|
||||
%dir /usr/share/kanku/views/cli/rjob
|
||||
/usr/share/kanku/views/cli/*.tt
|
||||
/usr/share/kanku/views/cli/rjob/*.tt
|
||||
/usr/lib/kanku/lib/Kanku/Cli/
|
||||
/usr/lib/kanku/lib/Kanku/Cli.pm
|
||||
/etc/bash_completion.d/kanku.sh
|
||||
|
||||
%package common-server
|
||||
Summary: Common server files or settings for kanku
|
||||
Requires(pre): libvirt-daemon libvirt-daemon-driver-qemu
|
||||
|
||||
%if 0%{?fedora}
|
||||
Requires(pre): shadow-utils
|
||||
%else
|
||||
Requires(pre): shadow
|
||||
%endif
|
||||
|
||||
%description common-server
|
||||
This package contains common server files, settings and dependencies
|
||||
for the kanku server components like kanku-worker, kanku-dispatcher,
|
||||
kanku-web, kanku-scheduler and kanku-triggerd
|
||||
|
||||
%pre common-server
|
||||
getent group %{kanku_group} >/dev/null || groupadd -r %{kanku_group}
|
||||
getent passwd %{kanku_user} >/dev/null || useradd -r -g %{kanku_group} -G libvirt -d %{kanku_vardir} -s /sbin/nologin -c "user for kanku" %{kanku_user}
|
||||
exit 0
|
||||
|
||||
%files common-server
|
||||
%defattr(-, root, root)
|
||||
%dir %attr(755, kankurun, kanku) /var/log/kanku
|
||||
%dir %attr(755, kankurun, kanku) /var/lib/kanku
|
||||
%dir %attr(755, kankurun, kanku) /var/lib/kanku/db
|
||||
%dir %attr(755, kankurun, kanku) /var/cache/kanku
|
||||
%ghost %dir %attr(755, kankurun, kanku) /run/kanku
|
||||
|
||||
%package web
|
||||
Summary: WebUI for kanku
|
||||
Requires: kanku-common
|
||||
Requires: kanku-common-server
|
||||
Requires: perl(Dancer2::Plugin::WebSocket)
|
||||
Requires: perl(Twiggy)
|
||||
Requires: perl(Mail::Message::Body::String)
|
||||
Requires: perl(Mail::Transport::Send)
|
||||
Requires: perl(Net::AMQP::RabbitMQ)
|
||||
Requires: perl(Template::Plugin::JSON::Escape)
|
||||
Requires: perl(UUID)
|
||||
%if 0%{?fedora}
|
||||
Requires: server(smtp)
|
||||
%else
|
||||
Requires: smtp_daemon
|
||||
%endif
|
||||
|
||||
%description web
|
||||
TODO:
|
||||
add a useful description
|
||||
|
||||
%post web
|
||||
%systemd_post kanku-web.service
|
||||
|
||||
%preun web
|
||||
%systemd_preun kanku-web.service
|
||||
|
||||
%postun web
|
||||
%systemd_postun_with_restart kanku-web.service
|
||||
|
||||
%files web
|
||||
%attr(755,root,root) /usr/lib/kanku/kanku-app.psgi
|
||||
%dir %attr(755, kankurun, kanku) /var/lib/kanku/sessions
|
||||
%dir /usr/share/kanku/views/
|
||||
%{_unitdir}/kanku-web.service
|
||||
%{_sbindir}/rckanku-web
|
||||
/usr/share/kanku/views/admin.tt
|
||||
/usr/share/kanku/views/guest.tt
|
||||
/usr/share/kanku/views/index.tt
|
||||
/usr/share/kanku/views/job.tt
|
||||
/usr/share/kanku/views/notify.tt
|
||||
/usr/share/kanku/views/notify_disabled.tt
|
||||
/usr/share/kanku/views/job_history.tt
|
||||
/usr/share/kanku/views/job_result.tt
|
||||
%dir /usr/share/kanku/views/layouts
|
||||
/usr/share/kanku/views/layouts/main.tt
|
||||
/usr/share/kanku/views/login.tt
|
||||
%dir /usr/share/kanku/views/login
|
||||
/usr/share/kanku/views/login/denied.tt
|
||||
/usr/share/kanku/views/admin.tt
|
||||
/usr/share/kanku/views/settings.tt
|
||||
/usr/share/kanku/views/signup.tt
|
||||
/usr/share/kanku/views/pwreset.tt
|
||||
/usr/share/kanku/views/reset_password.tt
|
||||
/usr/share/kanku/views/worker.tt
|
||||
|
||||
%dir /etc/apache2
|
||||
%dir /etc/apache2/conf.d
|
||||
%ghost %config (noreplace) /etc/apache2/conf.d/kanku.conf
|
||||
%config /etc/kanku/jobs/remove-domain.yml
|
||||
|
||||
# public contains css/js/bootstrap/jquery etc
|
||||
/usr/share/kanku/public/
|
||||
/usr/lib/kanku/lib/Kanku.pm
|
||||
/usr/lib/kanku/lib/Kanku/REST.pm
|
||||
/usr/lib/kanku/lib/Kanku/REST
|
||||
|
||||
%package worker
|
||||
Summary: Worker daemon for kanku
|
||||
|
||||
Requires: kanku-common
|
||||
Requires: kanku-common-server
|
||||
Requires: perl(Net::AMQP::RabbitMQ)
|
||||
Requires: perl(UUID)
|
||||
Requires: perl(Sys::CPU)
|
||||
Requires: perl(Sys::LoadAvg)
|
||||
Requires: perl(Sys::MemInfo)
|
||||
# apache2 is only needed for delivering console logs
|
||||
Recommends: apache2
|
||||
|
||||
%description worker
|
||||
A simple remote worker for kanku based on RabbitMQ
|
||||
|
||||
%post worker
|
||||
%systemd_post kanku-worker.service
|
||||
|
||||
%preun worker
|
||||
%systemd_preun kanku-worker.service
|
||||
|
||||
%postun worker
|
||||
%systemd_postun_with_restart kanku-worker.service
|
||||
|
||||
%files worker
|
||||
/etc/apache2/conf.d/kanku-worker.conf
|
||||
%{_unitdir}/kanku-worker.service
|
||||
%{_sbindir}/rckanku-worker
|
||||
%{_sbindir}/kanku-worker
|
||||
/usr/lib/kanku/lib/Kanku/Daemon/Worker.pm
|
||||
|
||||
%package dispatcher
|
||||
Summary: Dispatcher daemon for kanku
|
||||
|
||||
Requires: kanku-common
|
||||
Requires: kanku-common-server
|
||||
Requires: perl(Net::AMQP::RabbitMQ)
|
||||
Requires(pre): sudo
|
||||
Recommends: rabbitmq-server
|
||||
|
||||
%description dispatcher
|
||||
A simple dispatcher for kanku based on RabbitMQ
|
||||
|
||||
%post dispatcher
|
||||
%systemd_post kanku-dispatcher.service
|
||||
|
||||
%preun dispatcher
|
||||
%systemd_preun kanku-dispatcher.service
|
||||
|
||||
%postun dispatcher
|
||||
%systemd_postun_with_restart kanku-dispatcher.service
|
||||
|
||||
%files dispatcher
|
||||
%{_unitdir}/kanku-dispatcher.service
|
||||
%{_sbindir}/rckanku-dispatcher
|
||||
%{_sbindir}/kanku-dispatcher
|
||||
/usr/lib/kanku/lib/Kanku/Daemon/Dispatcher.pm
|
||||
/usr/lib/kanku/lib/Kanku/Dispatch/RabbitMQ.pm
|
||||
/usr/share/kanku/views/notifier/
|
||||
|
||||
%package scheduler
|
||||
Summary: Scheduler daemon for kanku
|
||||
Requires: kanku-common
|
||||
Requires: kanku-common-server
|
||||
|
||||
%description scheduler
|
||||
A simple scheduler for kanku based on RabbitMQ
|
||||
|
||||
%post scheduler
|
||||
%systemd_post kanku-scheduler.service
|
||||
|
||||
%preun scheduler
|
||||
%systemd_preun kanku-scheduler.service
|
||||
|
||||
%postun scheduler
|
||||
%systemd_postun_with_restart kanku-scheduler.service
|
||||
|
||||
%files scheduler
|
||||
%attr(755,root,root) %{_sbindir}/kanku-scheduler
|
||||
/usr/lib/kanku/lib/Kanku/Daemon/Scheduler.pm
|
||||
%{_unitdir}/kanku-scheduler.service
|
||||
%{_sbindir}/rckanku-scheduler
|
||||
|
||||
%package triggerd
|
||||
Summary: Trigger daemon for kanku
|
||||
Requires: kanku-common
|
||||
Requires: kanku-common-server
|
||||
|
||||
%description triggerd
|
||||
A simple triggerd for kanku based on RabbitMQ
|
||||
|
||||
%post triggerd
|
||||
%systemd_post kanku-triggerd.service
|
||||
|
||||
%preun triggerd
|
||||
%systemd_preun kanku-triggerd.service
|
||||
|
||||
%postun triggerd
|
||||
%systemd_postun_with_restart kanku-triggerd.service
|
||||
|
||||
%files triggerd
|
||||
%attr(755,root,root) %{_sbindir}/kanku-triggerd
|
||||
%{_unitdir}/kanku-triggerd.service
|
||||
%{_sbindir}/rckanku-triggerd
|
||||
%dir /usr/lib/kanku/lib/Kanku/Listener
|
||||
/usr/lib/kanku/lib/Kanku/Daemon/TriggerD.pm
|
||||
/usr/lib/kanku/lib/Kanku/Listener/RabbitMQ.pm
|
||||
|
||||
|
||||
%package doc
|
||||
Summary: Documentation files for kanku
|
||||
|
||||
%description doc
|
||||
This package contains the documentation files for kanku
|
||||
|
||||
%files doc
|
||||
%{_defaultdocdir}/kanku/
|
||||
|
||||
%package urlwrapper
|
||||
Summary: Url wrapper for kanku:// urls
|
||||
Requires: kanku-cli
|
||||
Requires: desktop-file-utils
|
||||
Requires: shared-mime-info
|
||||
Obsoletes: kanku-url-wrapper
|
||||
|
||||
%description urlwrapper
|
||||
A URL wrapper to start kanku from kanku:// urls in the browser
|
||||
|
||||
%post urlwrapper
|
||||
update-mime-database /usr/share/mime
|
||||
update-desktop-database
|
||||
|
||||
%preun urlwrapper
|
||||
update-mime-database /usr/share/mime
|
||||
update-desktop-database
|
||||
|
||||
%postun urlwrapper
|
||||
update-mime-database /usr/share/mime
|
||||
update-desktop-database
|
||||
|
||||
%files urlwrapper
|
||||
%attr(644,root,root) /usr/share/applications/kanku-urlwrapper.desktop
|
||||
%attr(644,root,root) /usr/share/mime/packages/kanku.xml
|
||||
%dir /usr/share/icons/hicolor
|
||||
%dir /usr/share/icons/hicolor/32x32
|
||||
%dir /usr/share/icons/hicolor/32x32/apps
|
||||
/usr/share/icons/hicolor/32x32/apps/kanku.png
|
||||
%dir /usr/share/icons/hicolor/48x48
|
||||
%dir /usr/share/icons/hicolor/48x48/apps
|
||||
/usr/share/icons/hicolor/48x48/apps/kanku.png
|
||||
%dir /usr/share/icons/hicolor/64x64
|
||||
%dir /usr/share/icons/hicolor/64x64/apps
|
||||
/usr/share/icons/hicolor/64x64/apps/kanku.png
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user