-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkimchi.spec.fedora.in
67 lines (50 loc) · 1.4 KB
/
kimchi.spec.fedora.in
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
Name: kimchi
Version: @PACKAGE_VERSION@
Release: @PACKAGE_RELEASE@%{?dist}
Summary: Kimchi server application
BuildRoot: %{_topdir}/BUILD/%{name}-%{version}-%{release}
BuildArch: noarch
Group: System Environment/Base
License: LGPL/ASL2
Source0: %{name}-%{version}.tar.gz
@FEDORA_DEPS@
%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
%global with_systemd 1
%endif
%description
Web application to manage KVM/Qemu virtual machines
%prep
%setup -q
%build
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 19
%configure
%else
%configure --with-spice-html5
%endif
make
%install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%attr(-,root,root)
%{python3_sitelib}/wok/plugins/kimchi/
%{_datadir}/kimchi/doc/
%{_prefix}/share/locale/*/LC_MESSAGES/kimchi.mo
%{_datadir}/wok/plugins/kimchi/
%{_sysconfdir}/wok/plugins.d/kimchi.conf
%{_sysconfdir}/kimchi/
%{_sharedstatedir}/kimchi/
%{_sysconfdir}/systemd/system/wokd.service.d/kimchi.conf
%changelog
* Thu Jun 18 2015 Lucio Correia <luciojhc@linux.vnet.ibm.com> 2.0
- Run kimchi as a plugin
* Thu Feb 26 2015 Frédéric Bonnard <frediz@linux.vnet.ibm.com> 1.4.0
- Add man page for kimchid
* Tue Feb 11 2014 Crístian Viana <vianac@linux.vnet.ibm.com> 1.1.0
- Add help pages and XSLT dependency
* Tue Jul 16 2013 Adam Litke <agl@us.ibm.com> 0.1.0-1
- Adapted for autotools build
* Thu Apr 04 2013 Aline Manera <alinefm@br.ibm.com> 0.0-1
- First build