A new user interface for you!

File ginger.spec of Package ginger

Name:		ginger
Version:	2.3.0
Release:	1
Summary:	Host management plugin for Wok - Webserver Originated from Kimchi
BuildRoot:	%{_topdir}/BUILD/%{name}-%{version}-%{release}
Group:		System Environment/Base
License:	LGPL/ASL2
Source0:	%{name}-%{version}.tar.gz
BuildArch:	noarch
BuildRequires:	gettext-devel >= 0.17
BuildRequires:	libxslt
BuildRequires:  python-lxml
Requires:	gettext >= 0.17
Requires:	wok >= 2.1.0
Requires:	ginger-base
Requires:	libuser-python
Requires:	python-ethtool
Requires:	python-ipaddr
Requires:	python-magic
Requires:	python-netaddr
Requires:	python-augeas
Requires:	python2-crypto
Requires:	hddtemp
Requires:	tuned
Requires:	lm_sensors

Ginger is a host management plugin for Wok (Webserver Originated from Kimchi),
that provides an intuitive web panel with common tools for configuring and
operating Linux systems. Kimchi is a Wok plugin for managing KVM/Qemu virtual

%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
%global with_systemd 1

%setup -q

automake --add-missing

rm -rf %{buildroot}
make DESTDIR=%{buildroot} install


%dir %{python_sitelib}/wok/plugins/ginger
%dir %{python_sitelib}/wok/plugins/ginger/control
%dir %{python_sitelib}/wok/plugins/ginger/model
%dir %{_datadir}/wok/plugins/ginger/ui
%dir %{_datadir}/wok/plugins/ginger/ui/config
%dir %{_datadir}/wok/plugins/ginger/ui/css
%dir %{_datadir}/wok/plugins/ginger/ui/css/base
%dir %{_datadir}/wok/plugins/ginger/ui/css/base/images
%dir %{_datadir}/wok/plugins/ginger/ui/images
%dir %{_datadir}/wok/plugins/ginger/ui/js
%dir %{_datadir}/wok/plugins/ginger/ui/pages
%dir %{_datadir}/wok/plugins/ginger/ui/pages/help
%dir %{_datadir}/wok/plugins/ginger/ui/pages/help/en_US
%dir %{_datadir}/wok/plugins/ginger/ui/pages/help/pt_BR
%dir %{_datadir}/wok/plugins/ginger/ui/pages/help/zh_CN
%dir %{_datadir}/wok/plugins/ginger/ui/pages/tabs

* Mon Oct 03 2016 Daniel Henrique Barboza <danielhb@linux.vnet.ibm.com>
- Removed tuned.adm service scriptlet commands

* Mon Sep 26 2016 Ramon Medeiros <ramonn@linux.vnet.ibm.com>
- Separate fedora rpm building

* Tue Jul 12 2016 Daniel Henrique Barboza <danielhb@linux.vnet.ibm.com>
- Added 'dir' directives for each dir and subdir in the 'files' section
- rpmlint fixes

* Tue May 31 2016 Ramon Medeiros <ramonn@linux.vnet.ibm.com>
- Update spec with Fedora community Guidelines

* Mon May 16 2016 Ramon Medeiros <ramonn@linux.vnet.ibm.com>
- Does not disable tuned service as dependency when update package

* Wed Mar 23 2016 Daniel Henrique Barboza <dhbarboza82@gmail.com>
- Removed 'pyparted' from dependencies because it is a Ginger-base dependency
- Removed 'python-cheetah' from build dependencies
- Added wok version restriction >= 2.1.0

* Tue Mar 1 2016 Daniel Henrique Barboza <dhbarboza82@gmail.com>
- added ui/images/*.svg in 'files' section

* Sat Feb 6 2016 Chandra Shekhar Reddy Potula <chandra@linux.vnet.ibm.com>
- Add libvirt service dependencies to Ginger

* Mon Jan 25 2016 Daniel Henrique Barboza <dhbarboza82@gmail.com>
- Changed 'controls' dir to 'control' in 'files' section
- Added 'datadir'/wok/plugins/ginger/ui/pages/*.html.tmpl to 'files'
- Changed 'models' dir to 'model' in 'files' section

* Fri Dec 25 2015 Daniel Henrique Barboza <dhbarboza82@gmail.com>
- Changed 'files' to include all ui/js/*.js js files
- Changed 'files' to include all ui/pages/help/*/*.html help files
- Changed 'files' to include all ui/pages/tabs/*.html.tmpl tabs

* Wed Dec 16 2015 Daniel Henrique Barboza  <dhbarboza82@gmail.com>
- Removed 'host-admin.css' from 'files'
- added 'ui/js/ginger-bootgrid.js' in 'files'

* Fri Dec 11 2015 Daniel Henrique Barboza  <dhbarboza82@gmail.com>
- Added ui/pages/tabs/host-admin.html.tmpl to 'files'

* Fri Nov 27 2015 Chandra Shekhar Reddy Potula <chandra@linux.vnet.ibm.com>
- Add missing dependencies for Ginger

* Thu Oct 2 2014 Rodrigo Trujillo <rodrigo.trujillo@linux.vnet.ibm.com>
- Add Help pages for Ginger
- Change build system to enable and release Help pages

* Wed Jul  2 2014 Paulo Vital <pvital@linux.vnet.ibm.com> 1.2.1
- Changed the package name from kimchi-ginger to ginger

* Wed Apr 16 2014 Zhou Zheng Sheng <zhshzhou@linux.vnet.ibm.com> 1.2.0
- Initial release of Kimchi-ginger dedicated RPM package