This repository has been archived by the owner on Dec 20, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ginger-base.spec
70 lines (58 loc) · 1.74 KB
/
ginger-base.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
Name: ginger-base
Version: 2.2.2
Release: 0%{?dist}
Summary: Wok plugin for base host management
BuildRoot: %{_topdir}/BUILD/%{name}-%{version}-%{release}
BuildArch: noarch
Group: System Environment/Base
License: LGPL/ASL2
Source0: gingerbase-%{version}.tar.gz
Patch1: gingerbase-2.2.2-no-software-updates.patch
Requires: wok >= 2.1.0
Requires: pyparted
Requires: python-cherrypy
Requires: python-configobj
Requires: python-lxml
Requires: python-psutil >= 0.6.0
Requires: rpm-python
Requires: gettext
Requires: git
Requires: sos
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gettext-devel
BuildRequires: libxslt
BuildRequires: python-lxml
%description
Ginger Base is an open source base host management plugin for Wok
(Webserver Originated from Kimchi), that provides an intuitive web panel with
common tools for configuring and managing the Linux systems.
%prep
%setup -q -n gingerbase-%{version}
%patch1 -p1 -b .no_software_updates
%build
./autogen.sh --system
%configure
make
%install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%attr(-,root,root)
%{python_sitelib}/wok/plugins/gingerbase
%{_datadir}/gingerbase
%{_prefix}/share/locale/*/LC_MESSAGES/gingerbase.mo
%{_datadir}/wok/plugins/gingerbase
%{_datadir}/wok/plugins/gingerbase/ui/pages/tabs/host-dashboard.html.tmpl
%{_datadir}/wok/plugins/gingerbase/ui/pages/tabs/host-update.html.tmpl
%{_sysconfdir}/wok/plugins.d/gingerbase.conf
%{_sharedstatedir}/gingerbase/
%changelog
* Tue Jan 24 2017 eGloo <[email protected]> 2.2.2
- First build
* Wed Mar 23 2016 Daniel Henrique Barboza <[email protected]>
- Added wok version restriction >= 2.1.0
* Tue Aug 25 2015 Chandra Shehkhar Reddy Potula <[email protected]> 0.0-1
- First build