Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:redwil:15.4
wok-plugins-ginger
wok-plugins-ginger.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File wok-plugins-ginger.spec of Package wok-plugins-ginger
# # spec file for package wok-plugins-ginger # # Copyright (c) 2018 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 base_version 2.3.0 Name: wok-plugins-ginger Version: 2.4.0 Release: %{version}%{?dist} Summary: WoK plugin for host management License: Apache-2.0 Group: System/Management BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: https://github.com/kimchi-project/ginger Source0: https://github.com/kimchi-project/ginger/archive/%{version}.tar.gz Requires: libuser-python Requires: libvirt-daemon Requires: libvirt-daemon-config-network Requires: python-augeas Requires: python-ipaddr Requires: python-magic Requires: python-netaddr Requires: wok-plugins-gingerbase >= %{base_version} BuildRequires: automake BuildRequires: fdupes BuildRequires: libxslt-tools BuildRequires: openssl BuildRequires: python-Cython BuildRequires: python-libxml2 BuildRequires: python-lxml BuildRequires: python-requests BuildRequires: python-setuptools BuildRequires: python3-libsass BuildRequires: wok-devel BuildArch: noarch %description Ginger is a host management plugin for Wok (Webserver Originated from Kimchi) that provides a web panel with common tools for configuring and managing the Linux systems. %prep %setup -n ginger-%{version} # it is a LOT easier to keep this simple patching sed -ri 's@".*/ui/(.*)@/usr/share/wok\1@g' ui/css/src/ginger.scss # force change of systemd system location trough monkey patching # so if they finally fix it or make global this will just be old relic but working sed -ri 's@/etc/systemd/system@%_unitdir@g' Makefile.am %build ./autogen.sh --with-spice-html5 \ --with-systemdsystemunitdir=%{_unitdir} \ --prefix=%{_usr} \ --sysconfdir=%{_sysconfdir} \ --localstatedir=%{_localstatedir} make %install make DESTDIR=%{buildroot} install %find_lang ginger %fdupes %{buildroot}/%{python_sitelib} %files -f ginger.lang %defattr(-,root,root) %doc AUTHORS ChangeLog %if 0%{?suse_version} > 1320 || 0%{?leap_version} >= 420200 %license COPYING COPYING.ASL2 COPYING.LGPL %else %doc COPYING COPYING.ASL2 COPYING.LGPL %endif %dir %{_sysconfdir}/wok %dir %{_sysconfdir}/wok/plugins.d %config %{_sysconfdir}/wok/plugins.d/ginger.conf %dir %{python_sitelib}/wok %dir %{python_sitelib}/wok/plugins %{python_sitelib}/wok/plugins/ginger %dir %{_datadir}/wok %dir %{_datadir}/wok/plugins %{_datadir}/wok/plugins/ginger %if 0%{?suse_version} >= 1210 %dir %{_unitdir}/wokd.service.d %{_unitdir}/wokd.service.d/ginger.conf %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor