forked from ceph/calamari-clients
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclients.spec
42 lines (35 loc) · 1.14 KB
/
clients.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
#
# Calamari clients Spec File
#
%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
%endif
#################################################################################
# common
#################################################################################
Name: calamari-clients
Version: %{version}
Release: %{?revision}%{?dist}
Summary: Calamari GUI front-end components
Requires: calamari-server
License: MIT
Group: System/Filesystems
URL: http://ceph.com/
Source0: %{name}_%{version}.tar.gz
%description
Contains the JavaScript GUI content for the Calamari frontend components
(dashboard, login screens, administration screens)
%prep
echo "prep"
%install
echo "install"
mkdir -p %{buildroot}
cd %{buildroot}
tar xfz %{tarname}
%clean
echo "clean"
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf "$RPM_BUILD_ROOT"
%files -n calamari-clients
/opt/calamari/webapp/content
%changelog