]>
Commit | Line | Data |
---|---|---|
7e1fcc70 JR |
1 | Summary: Cluster-based virtualization management software |
2 | Name: ganeti | |
72edee4c | 3 | Version: 2.9.3 |
fc5546e1 | 4 | Release: 0.2 |
7e1fcc70 JR |
5 | License: GPL v2 |
6 | Group: Applications/System | |
72edee4c JR |
7 | Source0: http://downloads.ganeti.org/releases/2.9/%{name}-%{version}.tar.gz |
8 | # Source0-md5: 0542ca872bf2d57284359fcc8dc565ef | |
7adb0d04 | 9 | Source1: %{name}.tmpfiles |
a24e1f94 ER |
10 | Source2: %{name}-confd.init |
11 | Source3: %{name}-masterd.init | |
12 | Source4: %{name}-noded.init | |
13 | Source5: %{name}-rapi.init | |
2b0c5c25 JR |
14 | Source6: %{name}-luxid.init |
15 | Source7: %{name}-mond.init | |
612be331 | 16 | Source8: %{name}.sysconfig |
554d0f8c | 17 | Patch0: fix-no-kvm.patch |
bc935a7a | 18 | Patch1: systemd.patch |
4a9e23c9 | 19 | Patch2: daemon-util-use-service.patch |
a09ee49f | 20 | Patch3: mtl.patch |
7e1fcc70 | 21 | URL: https://code.google.com/p/ganeti/ |
bc935a7a JR |
22 | BuildRequires: autoconf |
23 | BuildRequires: automake | |
24 | BuildRequires: curl-devel | |
7e1fcc70 JR |
25 | BuildRequires: fakeroot |
26 | BuildRequires: gawk | |
27 | BuildRequires: ghc | |
86f7b894 | 28 | BuildRequires: ghc-Crypto |
7e1fcc70 JR |
29 | BuildRequires: ghc-QuickCheck |
30 | BuildRequires: ghc-curl | |
31 | BuildRequires: ghc-haskell-platform | |
86f7b894 | 32 | BuildRequires: ghc-hinotify |
2b0c5c25 | 33 | BuildRequires: ghc-hslogger >= 1.2.3 |
7e1fcc70 | 34 | BuildRequires: ghc-json |
86f7b894 | 35 | BuildRequires: ghc-regex-pcre |
fc5546e1 JR |
36 | BuildRequires: ghc-snap-server |
37 | BuildRequires: ghc-temporary | |
86f7b894 | 38 | BuildRequires: ghc-utf8-string |
bc935a7a | 39 | BuildRequires: gmp-devel |
7e1fcc70 JR |
40 | BuildRequires: hlint |
41 | BuildRequires: hscolour | |
fc5546e1 | 42 | BuildRequires: pandoc |
7e1fcc70 JR |
43 | BuildRequires: python |
44 | BuildRequires: python-affinity | |
86f7b894 | 45 | BuildRequires: python-bitarray |
fc5546e1 | 46 | BuildRequires: python-coverage |
a24e1f94 | 47 | BuildRequires: python-devel |
a24e1f94 | 48 | BuildRequires: python-distribute |
86f7b894 | 49 | BuildRequires: python-ipaddr |
fc5546e1 | 50 | BuildRequires: python-mock >= 1.0.1 |
7e1fcc70 JR |
51 | BuildRequires: python-modules |
52 | BuildRequires: python-paramiko | |
fc5546e1 | 53 | BuildRequires: python-pep8 |
bc935a7a | 54 | BuildRequires: python-pyOpenSSL |
7e1fcc70 JR |
55 | BuildRequires: python-pycurl |
56 | BuildRequires: python-pyinotify | |
57 | BuildRequires: python-pyparsing | |
58 | BuildRequires: python-simplejson | |
43241b14 | 59 | BuildRequires: rpm-pythonprov |
7e1fcc70 | 60 | BuildRequires: rpmbuild(macros) >= 1.647 |
43241b14 | 61 | Requires(post,preun): /sbin/chkconfig |
7e1fcc70 | 62 | Requires(post,preun,postun): systemd-units >= 38 |
adaac8ef JR |
63 | Requires: bridge-utils |
64 | Requires: drbdsetup >= 8.0.12 | |
adaac8ef JR |
65 | Requires: iproute2 |
66 | Requires: iputils-arping | |
67 | Requires: lvm2 | |
68 | Requires: openssh-clients | |
69 | Requires: openssh-server | |
70 | Requires: python | |
71 | Requires: python-affinity | |
fcaac2d3 | 72 | Requires: python-bitarray |
adaac8ef JR |
73 | Requires: python-devel |
74 | Requires: python-distribute | |
3a27219c | 75 | Requires: python-ipaddr |
adaac8ef JR |
76 | Requires: python-modules |
77 | Requires: python-paramiko | |
78 | Requires: python-pycurl | |
79 | Requires: python-pyinotify | |
80 | Requires: python-pyOpenSSL | |
81 | Requires: python-pyparsing | |
82 | Requires: python-simplejson | |
43241b14 | 83 | Requires: rc-scripts |
adaac8ef | 84 | Requires: socat |
7e1fcc70 | 85 | Requires: systemd-units >= 0.38 |
adaac8ef | 86 | #Suggests: ganeti-instance-debootstrap |
9d3ca6c9 | 87 | Suggests: qemu |
adaac8ef | 88 | Suggests: xen |
7e1fcc70 JR |
89 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
90 | ||
91 | %description | |
92 | Ganeti is a cluster virtual server management software tool built on | |
93 | top of existing virtualization technologies such as Xen or KVM and | |
94 | other Open Source software. | |
95 | ||
554d0f8c JR |
96 | %package htools |
97 | Summary: Cluster allocation tools for Ganeti | |
98 | Group: Applications/System | |
99 | Requires: %{name} = %{version}-%{release} | |
7e1fcc70 | 100 | |
554d0f8c JR |
101 | %description htools |
102 | These are additional tools used for enhanced allocation and capacity | |
103 | calculation on Ganeti clusters. | |
7e1fcc70 | 104 | |
554d0f8c JR |
105 | The tools provided are: |
106 | - hail, an iallocator script for ganeti | |
107 | - hbal, used to redistribute instances on the cluster | |
108 | - hspace, used for capacity calculation | |
109 | - hscan, used to gather cluster files for offline use in hbal/hspace | |
7e1fcc70 | 110 | |
bc935a7a JR |
111 | %package -n bash-completion-ganeti |
112 | Summary: bash-completion for ganeti | |
113 | Group: Applications/Shells | |
114 | Requires: %{name} = %{version} | |
115 | ||
116 | %description -n bash-completion-ganeti | |
117 | bash-completion for ganeti. | |
118 | ||
7e1fcc70 JR |
119 | %prep |
120 | %setup -q | |
554d0f8c | 121 | %patch0 -p1 |
bc935a7a | 122 | %patch1 -p1 |
4a9e23c9 | 123 | %patch2 -p1 |
a09ee49f | 124 | %patch3 -p1 |
7e1fcc70 JR |
125 | |
126 | %build | |
bc935a7a JR |
127 | %{__aclocal} -I autotools |
128 | %{__autoconf} | |
129 | %{__automake} | |
7e1fcc70 JR |
130 | # DON'T use full path to xl binary, just 'xl' (see lib/hypervisor/hv_xen.py for a reason) |
131 | %configure \ | |
132 | IP_PATH=/sbin/ip \ | |
133 | DOT=/usr/bin/dot \ | |
fc5546e1 | 134 | PYCOVERAGE=/usr/bin/coverage-2.7 \ |
7e1fcc70 JR |
135 | PYLINT=/usr/bin/pylint \ |
136 | SOCAT=/usr/bin/socat \ | |
137 | QEMUIMG_PATH=/usr/bin/qemu-img \ | |
138 | --enable-syslog \ | |
685d8c34 JR |
139 | --enable-confd \ |
140 | --enable-monitoring \ | |
7e1fcc70 JR |
141 | --enable-socat-escape \ |
142 | --with-ssh-initscript=/etc/rc.d/init.d/sshd \ | |
fcaac2d3 | 143 | --with-ssh-config-dir=/etc/ssh \ |
685d8c34 JR |
144 | --with-kvm-path=/usr/bin/qemu-kvm \ |
145 | --enable-restricted-commands \ | |
146 | --with-user-prefix="gnt-" \ | |
147 | --with-group-prefix="gnt-" | |
7e1fcc70 JR |
148 | |
149 | %{__make} | |
150 | ||
151 | %install | |
152 | rm -rf $RPM_BUILD_ROOT | |
43241b14 | 153 | install -d $RPM_BUILD_ROOT{%{systemdunitdir},%{systemdtmpfilesdir}} \ |
bc935a7a | 154 | $RPM_BUILD_ROOT/etc/{ganeti,cron.d,bash_completion.d,sysconfig,rc.d/init.d} |
7e1fcc70 JR |
155 | |
156 | %{__make} install \ | |
157 | DESTDIR=$RPM_BUILD_ROOT | |
158 | ||
3926baa3 JR |
159 | install -d $RPM_BUILD_ROOT%{_datadir}/ganeti/os |
160 | ||
a24e1f94 ER |
161 | cp -p %{SOURCE1} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/ganeti.conf |
162 | install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/ganeti-confd | |
163 | install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/ganeti-masterd | |
164 | install -p %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/ganeti-noded | |
165 | install -p %{SOURCE5} $RPM_BUILD_ROOT/etc/rc.d/init.d/ganeti-rapi | |
2b0c5c25 JR |
166 | install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/rc.d/init.d/ganeti-luxid |
167 | install -p %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/ganeti-mond | |
bc935a7a | 168 | |
4a9e23c9 JR |
169 | %{__sed} -i -e 's|@LIBDIR@|%{_libdir}|g' $RPM_BUILD_ROOT/etc/rc.d/init.d/ganeti-* |
170 | ||
612be331 JR |
171 | cp -p %{SOURCE8} $RPM_BUILD_ROOT/etc/sysconfig/ganeti |
172 | ||
a24e1f94 ER |
173 | cp -p doc/examples/bash_completion $RPM_BUILD_ROOT/etc/bash_completion.d/ganeti |
174 | cp -p doc/examples/ganeti.cron $RPM_BUILD_ROOT/etc/cron.d/ganeti | |
a24e1f94 ER |
175 | cp -p doc/examples/ganeti.target $RPM_BUILD_ROOT%{systemdunitdir} |
176 | cp -p doc/examples/ganeti.target $RPM_BUILD_ROOT%{systemdunitdir} | |
2b0c5c25 | 177 | cp -p doc/examples/ganeti-{noded,masterd,rapi,confd,luxid,mond}.service $RPM_BUILD_ROOT%{systemdunitdir} |
7adb0d04 | 178 | |
43241b14 JR |
179 | %py_postclean |
180 | ||
7e1fcc70 JR |
181 | %clean |
182 | rm -rf $RPM_BUILD_ROOT | |
183 | ||
685d8c34 JR |
184 | %pre |
185 | %groupadd -g 300 gnt-masterd | |
186 | %groupadd -g 301 gnt-confd | |
187 | %groupadd -g 302 gnt-luxid | |
188 | %groupadd -g 303 gnt-rapi | |
189 | %groupadd -g 304 gnt-daemons | |
190 | %groupadd -g 305 gnt-admin | |
191 | %useradd -u 300 -d /var/lib/ganeti -g gnt-masterd -G gnt-daemons,gnt-confd,gnt-admin -c "Ganeti Masterd User" gnt-masterd | |
192 | %useradd -u 301 -d /var/lib/ganeti -g gnt-confd -G gnt-daemons -c "Ganeti Confd User" gnt-confd | |
193 | %useradd -u 302 -d /var/lib/ganeti -g gnt-luxid -G gnt-daemons,gnt-confd,gnt-masterd -c "Ganeti Luxid User" gnt-luxid | |
194 | %useradd -u 303 -d /var/lib/ganeti -g gnt-rapi -G gnt-daemons,gnt-admin -c "Ganeti RAPI User" gnt-rapi | |
195 | ||
7e1fcc70 | 196 | %post |
da74baa0 JR |
197 | /sbin/chkconfig --add ganeti-noded |
198 | %service ganeti-noded restart | |
199 | /sbin/chkconfig --add ganeti-masterd | |
200 | %service ganeti-masterd restart | |
201 | /sbin/chkconfig --add ganeti-rapi | |
202 | %service ganeti-rapi restart | |
203 | /sbin/chkconfig --add ganeti-confd | |
204 | %service ganeti-confd restart | |
2b0c5c25 JR |
205 | /sbin/chkconfig --add ganeti-luxid |
206 | %service ganeti-luxid restart | |
207 | /sbin/chkconfig --add ganeti-mond | |
208 | %service ganeti-mond restart | |
209 | %systemd_post ganeti.target ganeti-noded.service ganeti-masterd.service ganeti-rapi.service ganeti-confd.service ganeti-luxid.service ganeti-mond.service | |
7e1fcc70 JR |
210 | |
211 | %preun | |
212 | if [ "$1" = "0" ]; then | |
da74baa0 JR |
213 | %service -q ganeti-confd stop |
214 | /sbin/chkconfig --del ganeti-confd | |
215 | %service -q ganeti-rapi stop | |
216 | /sbin/chkconfig --del ganeti-rapi | |
217 | %service -q ganeti-masterd stop | |
218 | /sbin/chkconfig --del ganeti-masterd | |
219 | %service -q ganeti-noded stop | |
220 | /sbin/chkconfig --del ganeti-noded | |
2b0c5c25 JR |
221 | %service -q ganeti-luxid stop |
222 | /sbin/chkconfig --del ganeti-luxid | |
223 | %service -q ganeti-mond stop | |
224 | /sbin/chkconfig --del ganeti-mond | |
7e1fcc70 | 225 | fi |
2b0c5c25 | 226 | %systemd_preun ganeti.target ganeti-noded.service ganeti-masterd.service ganeti-rapi.service ganeti-confd.service ganeti-luxid.service ganeti-mond.service |
7e1fcc70 JR |
227 | |
228 | %postun | |
685d8c34 JR |
229 | if [ "$1" = "0" ]; then |
230 | %userremove gnt-rapi | |
231 | %userremove gnt-luxid | |
232 | %userremove gnt-confd | |
233 | %userremove gnt-masterd | |
234 | %groupremove gnt-admin | |
235 | %groupremove gnt-masterd | |
236 | %groupremove gnt-rapi | |
237 | %groupremove gnt-luxid | |
238 | %groupremove gnt-confd | |
239 | %groupremove gnt-daemons | |
240 | fi | |
7e1fcc70 | 241 | %systemd_reload |
7e1fcc70 JR |
242 | |
243 | %files | |
244 | %defattr(644,root,root,755) | |
7adb0d04 | 245 | %doc NEWS README UPGRADE |
bc935a7a | 246 | %attr(754,root,root) /etc/rc.d/init.d/ganeti-confd |
2b0c5c25 | 247 | %attr(754,root,root) /etc/rc.d/init.d/ganeti-luxid |
bc935a7a | 248 | %attr(754,root,root) /etc/rc.d/init.d/ganeti-masterd |
2b0c5c25 | 249 | %attr(754,root,root) /etc/rc.d/init.d/ganeti-mond |
bc935a7a JR |
250 | %attr(754,root,root) /etc/rc.d/init.d/ganeti-noded |
251 | %attr(754,root,root) /etc/rc.d/init.d/ganeti-rapi | |
252 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ganeti | |
253 | %dir %{_sysconfdir}/ganeti | |
254 | %{systemdunitdir}/ganeti.target | |
255 | %{systemdunitdir}/ganeti-confd.service | |
2b0c5c25 | 256 | %{systemdunitdir}/ganeti-luxid.service |
bc935a7a | 257 | %{systemdunitdir}/ganeti-masterd.service |
2b0c5c25 | 258 | %{systemdunitdir}/ganeti-mond.service |
bc935a7a JR |
259 | %{systemdunitdir}/ganeti-noded.service |
260 | %{systemdunitdir}/ganeti-rapi.service | |
7adb0d04 | 261 | %{systemdtmpfilesdir}/ganeti.conf |
bc935a7a | 262 | /etc/cron.d/ganeti |
3926baa3 JR |
263 | %dir %{_datadir}/ganeti |
264 | %dir %{_datadir}/ganeti/os | |
7adb0d04 | 265 | %dir %{_libdir}/ganeti |
666a3f96 JR |
266 | %attr(755,root,root) %{_libdir}/ganeti/check-cert-expired |
267 | %attr(755,root,root) %{_libdir}/ganeti/daemon-util | |
268 | %attr(755,root,root) %{_libdir}/ganeti/ensure-dirs | |
269 | %attr(755,root,root) %{_libdir}/ganeti/import-export | |
270 | %attr(755,root,root) %{_libdir}/ganeti/kvm-ifup | |
271 | %attr(755,root,root) %{_libdir}/ganeti/mon-collector | |
272 | %attr(755,root,root) %{_libdir}/ganeti/node-daemon-setup | |
611864b3 | 273 | %attr(755,root,root) %{_libdir}/ganeti/net-common |
666a3f96 | 274 | %attr(755,root,root) %{_libdir}/ganeti/prepare-node-join |
611864b3 | 275 | %attr(755,root,root) %{_libdir}/ganeti/vif-ganeti |
43241b14 | 276 | %dir %{_libdir}/ganeti/iallocators |
7adb0d04 | 277 | %dir %{_libdir}/ganeti/tools |
666a3f96 JR |
278 | %attr(755,root,root) %{_libdir}/ganeti/tools/burnin |
279 | %attr(755,root,root) %{_libdir}/ganeti/tools/cfgshell | |
280 | %attr(755,root,root) %{_libdir}/ganeti/tools/cfgupgrade | |
281 | %attr(755,root,root) %{_libdir}/ganeti/tools/cfgupgrade12 | |
282 | %attr(755,root,root) %{_libdir}/ganeti/tools/cluster-merge | |
283 | %attr(755,root,root) %{_libdir}/ganeti/tools/confd-client | |
284 | %attr(755,root,root) %{_libdir}/ganeti/tools/fmtjson | |
285 | %attr(755,root,root) %{_libdir}/ganeti/tools/kvm-console-wrapper | |
286 | %attr(755,root,root) %{_libdir}/ganeti/tools/lvmstrap | |
287 | %attr(755,root,root) %{_libdir}/ganeti/tools/master-ip-setup | |
288 | %attr(755,root,root) %{_libdir}/ganeti/tools/move-instance | |
289 | %attr(755,root,root) %{_libdir}/ganeti/tools/node-cleanup | |
290 | %attr(755,root,root) %{_libdir}/ganeti/tools/ovfconverter | |
291 | %attr(755,root,root) %{_libdir}/ganeti/tools/sanitize-config | |
292 | %attr(755,root,root) %{_libdir}/ganeti/tools/users-setup | |
293 | %attr(755,root,root) %{_libdir}/ganeti/tools/vcluster-setup | |
294 | %attr(755,root,root) %{_libdir}/ganeti/tools/xen-console-wrapper | |
7adb0d04 JR |
295 | %attr(755,root,root) %{_sbindir}/ganeti-cleaner |
296 | %attr(755,root,root) %{_sbindir}/ganeti-confd | |
297 | %attr(755,root,root) %{_sbindir}/ganeti-listrunner | |
2b0c5c25 | 298 | %attr(755,root,root) %{_sbindir}/ganeti-luxid |
7adb0d04 | 299 | %attr(755,root,root) %{_sbindir}/ganeti-masterd |
2b0c5c25 | 300 | %attr(755,root,root) %{_sbindir}/ganeti-mond |
7adb0d04 JR |
301 | %attr(755,root,root) %{_sbindir}/ganeti-noded |
302 | %attr(755,root,root) %{_sbindir}/ganeti-rapi | |
303 | %attr(755,root,root) %{_sbindir}/ganeti-watcher | |
304 | %attr(755,root,root) %{_sbindir}/gnt-backup | |
305 | %attr(755,root,root) %{_sbindir}/gnt-cluster | |
306 | %attr(755,root,root) %{_sbindir}/gnt-debug | |
307 | %attr(755,root,root) %{_sbindir}/gnt-group | |
308 | %attr(755,root,root) %{_sbindir}/gnt-instance | |
309 | %attr(755,root,root) %{_sbindir}/gnt-job | |
b327c64e | 310 | %attr(755,root,root) %{_sbindir}/gnt-network |
7adb0d04 JR |
311 | %attr(755,root,root) %{_sbindir}/gnt-node |
312 | %attr(755,root,root) %{_sbindir}/gnt-os | |
b327c64e | 313 | %attr(755,root,root) %{_sbindir}/gnt-storage |
2b0c5c25 | 314 | %{_mandir}/man7/ganeti.7* |
b327c64e | 315 | %{_mandir}/man7/ganeti-extstorage-interface.7* |
7adb0d04 | 316 | %{_mandir}/man7/ganeti-os-interface.7* |
b327c64e | 317 | %{_mandir}/man7/mon-collector.7* |
7adb0d04 JR |
318 | %{_mandir}/man8/ganeti-cleaner.8* |
319 | %{_mandir}/man8/ganeti-confd.8* | |
320 | %{_mandir}/man8/ganeti-listrunner.8* | |
2b0c5c25 | 321 | %{_mandir}/man8/ganeti-luxid.8* |
7adb0d04 | 322 | %{_mandir}/man8/ganeti-masterd.8* |
2b0c5c25 | 323 | %{_mandir}/man8/ganeti-mond.8* |
7adb0d04 JR |
324 | %{_mandir}/man8/ganeti-noded.8* |
325 | %{_mandir}/man8/ganeti-rapi.8* | |
326 | %{_mandir}/man8/ganeti-watcher.8* | |
327 | %{_mandir}/man8/gnt-backup.8* | |
328 | %{_mandir}/man8/gnt-cluster.8* | |
329 | %{_mandir}/man8/gnt-debug.8* | |
330 | %{_mandir}/man8/gnt-group.8* | |
331 | %{_mandir}/man8/gnt-instance.8* | |
332 | %{_mandir}/man8/gnt-job.8* | |
b327c64e | 333 | %{_mandir}/man8/gnt-network.8* |
7adb0d04 JR |
334 | %{_mandir}/man8/gnt-node.8* |
335 | %{_mandir}/man8/gnt-os.8* | |
b327c64e | 336 | %{_mandir}/man8/gnt-storage.8* |
7adb0d04 JR |
337 | %dir %{py_sitescriptdir}/ganeti |
338 | %{py_sitescriptdir}/ganeti/*.py* | |
339 | %dir %{py_sitescriptdir}/ganeti/client | |
340 | %{py_sitescriptdir}/ganeti/client/*.py* | |
2b0c5c25 JR |
341 | %dir %{py_sitescriptdir}/ganeti/cmdlib |
342 | %{py_sitescriptdir}/ganeti/cmdlib/*.py* | |
7adb0d04 JR |
343 | %dir %{py_sitescriptdir}/ganeti/confd |
344 | %{py_sitescriptdir}/ganeti/confd/*.py* | |
345 | %dir %{py_sitescriptdir}/ganeti/http | |
346 | %{py_sitescriptdir}/ganeti/http/*.py* | |
347 | %dir %{py_sitescriptdir}/ganeti/hypervisor | |
348 | %{py_sitescriptdir}/ganeti/hypervisor/*.py* | |
349 | %dir %{py_sitescriptdir}/ganeti/impexpd | |
350 | %{py_sitescriptdir}/ganeti/impexpd/*.py* | |
351 | %dir %{py_sitescriptdir}/ganeti/masterd | |
352 | %{py_sitescriptdir}/ganeti/masterd/*.py* | |
353 | %dir %{py_sitescriptdir}/ganeti/rapi | |
354 | %{py_sitescriptdir}/ganeti/rapi/*.py* | |
355 | %dir %{py_sitescriptdir}/ganeti/server | |
356 | %{py_sitescriptdir}/ganeti/server/*.py* | |
611864b3 JR |
357 | %dir %{py_sitescriptdir}/ganeti/storage |
358 | %{py_sitescriptdir}/ganeti/storage/*.py* | |
7adb0d04 JR |
359 | %dir %{py_sitescriptdir}/ganeti/tools |
360 | %{py_sitescriptdir}/ganeti/tools/*.py* | |
361 | %dir %{py_sitescriptdir}/ganeti/utils | |
362 | %{py_sitescriptdir}/ganeti/utils/*.py* | |
363 | %dir %{py_sitescriptdir}/ganeti/watcher | |
364 | %{py_sitescriptdir}/ganeti/watcher/*.py* | |
7e1fcc70 | 365 | |
554d0f8c | 366 | %files htools |
7e1fcc70 | 367 | %defattr(644,root,root,755) |
2b0c5c25 | 368 | %attr(755,root,root) %{_bindir}/harep |
a24e1f94 ER |
369 | %attr(755,root,root) %{_bindir}/hbal |
370 | %attr(755,root,root) %{_bindir}/hcheck | |
371 | %attr(755,root,root) %{_bindir}/hinfo | |
b327c64e | 372 | %attr(755,root,root) %{_bindir}/hroller |
a24e1f94 ER |
373 | %attr(755,root,root) %{_bindir}/hscan |
374 | %attr(755,root,root) %{_bindir}/hspace | |
375 | %attr(755,root,root) %{_bindir}/htools | |
666a3f96 | 376 | %attr(755,root,root) %{_libdir}/ganeti/iallocators/hail |
554d0f8c | 377 | %{_mandir}/man1/hail.1* |
2b0c5c25 | 378 | %{_mandir}/man1/harep.1* |
554d0f8c JR |
379 | %{_mandir}/man1/hbal.1* |
380 | %{_mandir}/man1/hcheck.1* | |
381 | %{_mandir}/man1/hinfo.1* | |
b327c64e | 382 | %{_mandir}/man1/hroller.1* |
554d0f8c JR |
383 | %{_mandir}/man1/hscan.1* |
384 | %{_mandir}/man1/hspace.1* | |
385 | %{_mandir}/man1/htools.1* | |
bc935a7a JR |
386 | |
387 | %files -n bash-completion-ganeti | |
388 | %defattr(644,root,root,755) | |
389 | /etc/bash_completion.d/ganeti |