-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrockit-diskspace.spec
121 lines (97 loc) · 3.44 KB
/
rockit-diskspace.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
Name: rockit-diskspace
Version: %{_version}
Release: 1
Summary: Disk usage monitor.
Url: https://github.com/rockit-astro/diskspaced
License: GPL-3.0
BuildArch: noarch
%description
%build
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_unitdir}
mkdir -p %{buildroot}/etc/bash_completion.d
mkdir -p %{buildroot}%{_sysconfdir}/diskspaced/
%{__install} %{_sourcedir}/diskspaced %{buildroot}%{_bindir}
%{__install} %{_sourcedir}/diskspace %{buildroot}%{_bindir}
%{__install} %{_sourcedir}/diskspaced@.service %{buildroot}%{_unitdir}
%{__install} %{_sourcedir}/completion/diskspace %{buildroot}/etc/bash_completion.d/diskspace
%{__install} %{_sourcedir}/config/clasp_cmos.json %{buildroot}%{_sysconfdir}/diskspaced/
%{__install} %{_sourcedir}/config/clasp_swir.json %{buildroot}%{_sysconfdir}/diskspaced/
%{__install} %{_sourcedir}/config/halfmetre.json %{buildroot}%{_sysconfdir}/diskspaced/
%{__install} %{_sourcedir}/config/onemetre.json %{buildroot}%{_sysconfdir}/diskspaced/
%{__install} %{_sourcedir}/config/sting_das1.json %{buildroot}%{_sysconfdir}/diskspaced/
%{__install} %{_sourcedir}/config/sting_das2.json %{buildroot}%{_sysconfdir}/diskspaced/
%{__install} %{_sourcedir}/config/warwick.json %{buildroot}%{_sysconfdir}/diskspaced/
%{__install} %{_sourcedir}/config/ngts_m06.json %{buildroot}%{_sysconfdir}/diskspaced/
%{__install} %{_sourcedir}/config/portable.json %{buildroot}%{_sysconfdir}/diskspaced/
%package server
Summary: Disk usage server
Group: Unspecified
Requires: python3-rockit-diskspace
%description server
%package client
Summary: Disk usage client
Group: Unspecified
Requires: python3-rockit-diskspace
%description client
%files server
%defattr(0755,root,root,-)
%{_bindir}/diskspaced
%defattr(-,root,root,-)
%{_unitdir}/diskspaced@.service
%files client
%defattr(0755,root,root,-)
%{_bindir}/diskspace
/etc/bash_completion.d/diskspace
%package data-clasp
Summary: Disk usage configuration for CLASP telescope
Group: Unspecified
%description data-clasp
%files data-clasp
%defattr(0644,root,root,-)
%{_sysconfdir}/diskspaced/clasp_cmos.json
%{_sysconfdir}/diskspaced/clasp_swir.json
%package data-halfmetre
Summary: Disk usage configuration for the half metre telescope
Group: Unspecified
%description data-halfmetre
%files data-halfmetre
%defattr(0644,root,root,-)
%{_sysconfdir}/diskspaced/halfmetre.json
%package data-onemetre
Summary: Disk usage configuration for the W1m telescope
Group: Unspecified
%description data-onemetre
%files data-onemetre
%defattr(0644,root,root,-)
%{_sysconfdir}/diskspaced/onemetre.json
%package data-sting
Summary: Disk usage configuration for the STING telescope
Group: Unspecified
%description data-sting
%files data-sting
%defattr(0644,root,root,-)
%{_sysconfdir}/diskspaced/sting_das1.json
%{_sysconfdir}/diskspaced/sting_das2.json
%package data-warwick
Summary: Disk usage configuration for the Windmill Hill observatory
Group: Unspecified
%description data-warwick
%files data-warwick
%defattr(0644,root,root,-)
%{_sysconfdir}/diskspaced/warwick.json
%package data-ngts-m06
Summary: Disk usage configuration for NGTS M06
Group: Unspecified
%description data-ngts-m06
%files data-ngts-m06
%defattr(0644,root,root,-)
%{_sysconfdir}/diskspaced/ngts_m06.json
%package data-portable
Summary: Disk usage configuration for the portable telescope
Group: Unspecified
%description data-portable
%files data-portable
%defattr(0644,root,root,-)
%{_sysconfdir}/diskspaced/portable.json
%changelog