-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcomoonics-bootimage.spec
3774 lines (3406 loc) · 166 KB
/
comoonics-bootimage.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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#****h* comoonics-bootimage/comoonics-bootimage.spec
# NAME
# comoonics-bootimage.spec
# $id$
# DESCRIPTION
# RPM Configurationfile for the com.oonics bootimage
# AUTHOR
# Marc Grimme
#
#*******
#
# Copyright (c) 2001 ATIX GmbH, 2007 ATIX AG.
# Einsteinstrasse 10, 85716 Unterschleissheim, Germany
# All rights reserved.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##
%define _user root
%define _sysconfdir /etc
%define CONFIGDIR /%{_sysconfdir}/comoonics
%define APPDIR /opt/atix/%{name}
%define LIBDIR /opt/atix/%{name}
%define ENVDIR /etc/profile.d
%define ENVFILE %{ENVDIR}/%{name}.sh
%define INITDIR /etc/rc.d/init.d
%define SYSCONFIGDIR /%{_sysconfdir}/sysconfig
%define CACHEDIR /var/cache
%define CACHEFILES %{CACHEDIR}/comoonics-bootimage/file-list.txt %{CACHEDIR}/comoonics-bootimage/file-list-chroot.txt
%define IMSD_SOURCE imsd
%define IMSD_DIR /opt/atix/comoonics-imsd
%define FENCECLIENTS_SOURCE fencing/
%define FENCECLIENTS_DIR /opt/atix/comoonics-fencing
%define FENCECLIENTS_DOC /usr/share/doc/comoonics-fencing
%define RELEASENAME Gumpn
%define PRODUCTNAME OpenSharedRoot
%define PRODUCTVERSION 5.0
%define DISTRIBUTIONNAME %{PRODUCTNAME} %{PRODUCTVERSION} (%{RELEASENAME})
%define DISTRIBUTIONBASE %{DISTRIBUTIONNAME} Base
%define DISTRIBUTIONEXTRAS %{DISTRIBUTIONNAME} Extras
%define GROUPPARENT System Environment
%define GROUPCHILDEXTRAS Extras
%define GROUPCHILDBASE Base
%{?!LINUXDISTROSHORT: define LINUXDISTROSHORT rhel5}
Name: comoonics-bootimage
Summary: Scripts for creating an initrd in a OSR Cluster environment
Version: 5.0
BuildArch: noarch
Requires: comoonics-cluster-py >= 5.0
Requires: comoonics-bootimage-initscripts >= 5.0
Requires: comoonics-bootimage-listfiles-all
Requires: comoonics-tools-py
Requires: comoonics-release >= 5.0
#Conflicts:
Release: 20_%{LINUXDISTROSHORT}
Vendor: ATIX AG
Packager: ATIX AG <http://bugzilla.atix.de>
ExclusiveArch: noarch
URL: http://www.atix.de/
Source: http://www.atix.de/software/downloads/comoonics/comoonics-bootimage-%{version}.tar.gz
License: GPLv2+
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Distribution: %{DISTRIBUTIONBASE}
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
%description
Scripts for creating an initrd in a OSR cluster environment
%package extras-localconfigs
Version: 5.0
Release: 9_%{LINUXDISTROSHORT}
Requires: comoonics-bootimage >= 5.0
Obsoletes: comoonics-bootimage-extras-osr
Summary: Extra for cluster configuration via local files
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Distribution: %{DISTRIBUTIONEXTRAS}
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
%description extras-localconfigs
Extra for cluster configuration via local files instead of cluster.conf.
%package extras-network
Version: 5.0
Release: 2_%{LINUXDISTROSHORT}
Requires: comoonics-bootimage >= 5.0
Summary: Listfiles for special network configurations (vlan)
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
%description extras-network
Extra listfiles for special network configurations
%package extras-nfs
Version: 5.0
Release: 2_%{LINUXDISTROSHORT}
Requires: comoonics-bootimage >= 5.0
Summary: Listfiles for nfs sharedroot configurations
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Distribution: %{DISTRIBUTIONBASE}
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Conflicts: comoonics-bootimage-extras-ocfs2
%description extras-nfs
Extra listfiles for nfs sharedroot configurations
%package extras-ocfs2
Version: 5.0
Release: 2_%{LINUXDISTROSHORT}
Requires: comoonics-bootimage >= 5.0
Summary: Listfiles for ocfs2 sharedroot configurations
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Distribution: %{DISTRIBUTIONBASE}
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Conflicts: comoonics-bootimage-extras-nfs
%description extras-ocfs2
Extra listfiles for ocfs2 sharedroot configurations
%package extras-md
Version: 5.0
Release: 2_%{LINUXDISTROSHORT}
Requires: comoonics-bootimage >= 5.0
Summary: Listfiles for md support
Group: %{GROUPPARENT}/%{GROUPCHILDEXTRAS}
Distribution: %{DISTRIBUTIONEXTRAS}
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
%description extras-md
Extra listfiles for md in OSR configurations
%package extras-dm-multipath-rhel5
Version: 5.0
Release: 2_rhel5
Requires: comoonics-bootimage >= 5.0
Requires: /etc/redhat-release
Requires: comoonics-bootimage-listfiles-rhel5
Summary: Listfiles for device mapper multipath OSR configurations for RHEL5
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Distribution: %{DISTRIBUTIONBASE}
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Conflicts: comoonics-bootimage-extras-rdac-multipath
Obsoletes: comoonics-bootimage-extras-dm-multipath
Obsoletes: comoonics-bootimage-extras-dm-multipath-rhel
%description extras-dm-multipath-rhel5
Extra listfiles for device mapper multipath OSR configurations for RHEL5
%package extras-dm-multipath-rhel6
Version: 5.0
Release: 2_rhel6
Requires: comoonics-bootimage >= 5.0
Requires: /etc/redhat-release
Requires: comoonics-bootimage-listfiles-rhel6
Summary: Listfiles for device mapper multipath OSR configurations for RHEL6
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Distribution: %{DISTRIBUTIONBASE}
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Conflicts: comoonics-bootimage-extras-rdac-multipath
Obsoletes: comoonics-bootimage-extras-dm-multipath
%description extras-dm-multipath-rhel6
Extra listfiles for device mapper multipath OSR configurations for RHEL6
%package extras-dm-multipath-fedora
Version: 0.1
Release: 3_fedora
Requires: comoonics-bootimage >= 1.3-41
Requires: /etc/redhat-release
Requires: comoonics-bootimage-listfiles-fedora
Summary: Listfiles for device mapper multipath OSR configurations for fedora
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Distribution: %{DISTRIBUTIONBASE}
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Conflicts: comoonics-bootimage-extras-rdac-multipath
Obsoletes: comoonics-bootimage-extras-dm-multipath
%description extras-dm-multipath-fedora
Extra listfiles for device mapper multipath OSR configurations for fedora
%package extras-dm-multipath-sles10
Version: 0.1
Release: 1_sles10
Requires: comoonics-bootimage >= 1.4
Requires: multipath-tools
Summary: Listfiles for device mapper multipath OSR configurations for SLES
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Distribution: %{DISTRIBUTIONBASE}
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Conflicts: comoonics-bootimage-extras-rdac-multipath
Obsoletes: comoonics-bootimage-extras-dm-multipath
Obsoletes: comoonics-bootimage-extras-dm-multipath-sles
%description extras-dm-multipath-sles10
Extra listfiles for device mapper multipath OSR configurations for SLES
%package extras-dm-multipath-sles11
Version: 5.0
Release: 2_sles11
Requires: comoonics-bootimage >= 5.0
Summary: Listfiles for device mapper multipath OSR configurations for SLES11
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Distribution: %{DISTRIBUTIONBASE}
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Conflicts: comoonics-bootimage-extras-rdac-multipath
Obsoletes: comoonics-bootimage-extras-dm-multipath
Obsoletes: comoonics-bootimage-extras-dm-multipath-sles
%description extras-dm-multipath-sles11
Extra listfiles for device mapper multipath OSR configurations for SLES11
%package extras-rdac-multipath
Version: 5.0
Release: 2_%{LINUXDISTROSHORT}
Requires: comoonics-bootimage >= 5.0
Summary: Listfiles for rdac multipath sharedroot configurations
Group: %{GROUPPARENT}/%{GROUPCHILDEXTRAS}
Distribution: %{DISTRIBUTIONEXTRAS}
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
%description extras-rdac-multipath
Extra listfiles for rdac multipath OSR configurations
%package extras-xen
Version: 5.0
Release: 2_%{LINUXDISTROSHORT}
Requires: comoonics-bootimage >= 5.0
Summary: Listfiles for xen support in the open-sharedroot cluster
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Distribution: %{DISTRIBUTIONBASE}
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
%description extras-xen
listfiles for xen support in the OSR cluster
%package extras-iscsi
Version: 5.0
Release: 2_%{LINUXDISTROSHORT}
Requires: comoonics-bootimage >= 1.4-55
Summary: Listfiles for iscsi support in the open-sharedroot cluster
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Distribution: %{DISTRIBUTIONBASE}
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
%description extras-iscsi
ISCSI support in the OSR cluster
%package extras-drbd
Version: 5.0
Release: 2_%{LINUXDISTROSHORT}
Requires: comoonics-bootimage >= 5.0
Summary: Listfiles for drbd support in the open-sharedroot cluster
Group: %{GROUPPARENT}/%{GROUPCHILDEXTRAS}
Distribution: %{DISTRIBUTIONEXTRAS}
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
%description extras-drbd
DRBD support in the OSR cluster
%package extras-glusterfs
Version: 5.0
Release: 2_%{LINUXDISTROSHORT}
Requires: comoonics-bootimage >= 5.0
Summary: Extras for glusterfs support in the open-sharedroot cluster
Group: %{GROUPPARENT}/%{GROUPCHILDEXTRAS}
Distribution: %{DISTRIBUTIONEXTRAS}
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
%description extras-glusterfs
GlusterFS support in the OSR cluster
%package extras-sysctl
Version: 5.0
Release: 2_%{LINUXDISTROSHORT}
Requires: comoonics-bootimage >= 5.0
Summary: Extras for sysctl support in the open-sharedroot cluster
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Distribution: %{DISTRIBUTIONBASE}
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
%description extras-sysctl
Sysctl support in the OSR cluster
%package extras-syslog
Version: 5.0
Release: 2_%{LINUXDISTROSHORT}
Requires: comoonics-bootimage >= 5.0
Summary: Syslog implementation for osr
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Distribution: %{DISTRIBUTIONBASE}
%description extras-syslog
Syslog implementation for osr. Supports syslog classic, syslog-ng, rsyslog (See listfiles-syslog)
%package extras-flexd-rhel5
Version: 5.0
Release: 2_rhel5
Summary: Flexdisk implementation for com.oonics flexboot for RHEL5
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Distribution: %{DISTRIBUTIONBASE}
Obsoletes: comoonics-bootimage-extras-flexd
Conflicts: comoonics-bootimage-extras-flexd-rhel6
#Conflicts: comoonics-bootimage-extras-flexd-sles10
Conflicts: comoonics-bootimage-extras-flexd-sles11
%description extras-flexd-rhel5
Flexdisk implementation for com.oonics flexboot for RHEL5
%package extras-flexd-rhel6
Version: 5.0
Release: 2_rhel6
Summary: Flexdisk implementation for com.oonics flexboot for RHEL6
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Distribution: %{DISTRIBUTIONBASE}
Obsoletes: comoonics-bootimage-extras-flexd
Conflicts: comoonics-bootimage-extras-flexd-rhel5
#Conflicts: comoonics-bootimage-extras-flexd-sles10
Conflicts: comoonics-bootimage-extras-flexd-sles11
%description extras-flexd-rhel6
Flexdisk implementation for com.oonics flexboot for RHEL6
%package extras-flexd-sles11
Version: 5.0
Release: 2_sles11
Summary: Flexdisk implementation for com.oonics flexboot for SLES11
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Distribution: %{DISTRIBUTIONBASE}
Obsoletes: comoonics-bootimage-extras-flexd
Conflicts: comoonics-bootimage-extras-flexd-rhel5
#Conflicts: comoonics-bootimage-extras-flexd-sles10
Conflicts: comoonics-bootimage-extras-flexd-rhel6
%description extras-flexd-sles11
Flexdisk implementation for com.oonics flexboot for SLES11
%package listfiles-selinux-rhel5
Version: 5.0
Release: 2_rhel5
Requires: comoonics-bootimage >= 5.0
Summary: SELinux implementation for osr
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Distribution: %{DISTRIBUTIONBASE}
%description listfiles-selinux-rhel5
SELinux implementation for osr. Supports only local filesystems and distributions supporting SELinux
%package listfiles-selinux-rhel6
Version: 5.0
Release: 2_rhel6
Requires: comoonics-bootimage >= 5.0
Summary: SELinux implementation for osr
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Distribution: %{DISTRIBUTIONBASE}
%description listfiles-selinux-rhel6
SELinux implementation for osr. Supports only local filesystems and distributions supporting SELinux
%package listfiles-vi-sles10
Version: 5.0
Release: 1_sles10
Requires: comoonics-bootimage >= 5.0
Summary: Vim includes for comoonics-bootimage
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Distribution: %{DISTRIBUTIONEXTRAS}
%description listfiles-vi-sles10
Vi includes for comoonics-bootimage (takes vim)
%package listfiles-vi-sles11
Version: 5.0
Release: 2_sles11
Requires: comoonics-bootimage >= 1.4
Summary: Vim includes for comoonics-bootimage
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Distribution: %{DISTRIBUTIONEXTRAS}
%description listfiles-vi-sles11
Vi includes for comoonics-bootimage (takes vim)
%package listfiles-all
Version: 5.0
Release: 5_%{LINUXDISTROSHORT}
Requires: comoonics-bootimage >= 5.0
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Distribution: %{DISTRIBUTIONBASE}
Summary: OSR listfilesfiles for all distributions
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
%description listfiles-all
OSR Listfiles that are only relevant for all linux distributions
%package listfiles-rhel5
Version: 5.0
Release: 4_rhel5
Requires: comoonics-bootimage >= 5.0
Requires: /etc/redhat-release
Requires: comoonics-bootimage-listfiles-all
Requires: comoonics-cluster-tools-py
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Summary: Extrafiles for RedHat Enterprise Linux
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Obsoletes: comoonics-bootimage-listfiles-rhel
%description listfiles-rhel5
OSR extra files that are only relevant for RHEL Versions
%package listfiles-rhel6
Version: 5.0
Release: 4_rhel6
Requires: comoonics-bootimage >= 5.0
Requires: /etc/redhat-release
Requires: comoonics-bootimage-listfiles-all
Requires: comoonics-cluster-tools-py
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Summary: Extrafiles for RedHat Enterprise Linux
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Obsoletes: comoonics-bootimage-listfiles-rhel
%description listfiles-rhel6
OSR extra files that are only relevant for RHEL Versions
%package listfiles-fedora
Version: 0.1
Release: 10_fedora
Requires: comoonics-bootimage >= 1.3-41
Requires: /etc/redhat-release
Requires: comoonics-bootimage-listfiles-all
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}/%{GROUPCHILDFEDORA}
Summary: Extrafiles for Fedora Core
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
%description listfiles-fedora
OSR extra files that are only relevant for Fedora Versions
%package listfiles-sles10
Version: 0.1
Release: 5_sles10
Requires: comoonics-bootimage >= 1.4-28
Requires: /etc/SuSE-release
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Summary: Extrafiles for Novell SuSE Enterprise Server 10
Conflicts: comoonics-bootimage-listfiles-sles11
Conflicts: comoonics-bootimage-listfiles-rhel5
Conflicts: comoonics-bootimage-listfiles-rhel6
Conflicts: comoonics-bootimage-listfiles-fedora
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Obsoletes: comoonics-bootimage-listfiles-sles
%description listfiles-sles10
OSR extra files that are only relevant for Novell SLES 10
%package listfiles-sles11
Version: 5.0
Release: 3_sles11
Requires: comoonics-bootimage >= 5.0
Requires: /etc/SuSE-release
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Summary: Extrafiles for Novell SuSE Enterprise Server
Conflicts: comoonics-bootimage-listfiles-sles10
Conflicts: comoonics-bootimage-listfiles-rhel5
Conflicts: comoonics-bootimage-listfiles-rhel6
Conflicts: comoonics-bootimage-listfiles-fedora
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Obsoletes: comoonics-bootimage-listfiles-sles
%description listfiles-sles11
OSR extra files that are only relevant for Novell SLES 11
%package listfiles-fedora-nfs
Version: 0.1
Release: 8_fedora
Requires: comoonics-bootimage-listfiles-fedora
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}/%{GROUPCHILDFEDORA}
Summary: Extrafiles for Fedora Core NFS support
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
%description listfiles-fedora-nfs
OSR extra files that are only relevant for Fedora Versions and nfs support
%package listfiles-rhel5-ext3
Version: 5.0
Release: 2_rhel5
Requires: comoonics-bootimage >= 5.0
Requires: /etc/redhat-release
Requires: comoonics-bootimage-listfiles-rhel5
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Summary: Extrafiles for RedHat Enterprise Linux Version 5 and Ext3
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Conflicts: comoonics-bootimage-listfiles-rhel5-ext4
Conflicts: comoonics-bootimage-listfiles-rhel5-nfs
Conflicts: comoonics-bootimage-listfiles-rhel5-gfs
Conflicts: comoonics-bootimage-listfiles-rhel5-gfs2
Conflicts: comoonics-bootimage-listfiles-rhel5-ocfs2
Conflicts: comoonics-bootimage-extras-ocfs2
%description listfiles-rhel5-ext3
OSR extra files that are only relevant for RHEL5 and EXT3
%package listfiles-rhel5-ext4
Version: 5.0
Release: 2_rhel5
Requires: comoonics-bootimage >= 5.0
Requires: /etc/redhat-release
Requires: comoonics-bootimage-listfiles-rhel5
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Summary: Extrafiles for RedHat Enterprise Linux Version 5 and Ext4
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Conflicts: comoonics-bootimage-listfiles-rhel5-ext3
Conflicts: comoonics-bootimage-listfiles-rhel5-nfs
Conflicts: comoonics-bootimage-listfiles-rhel5-gfs
Conflicts: comoonics-bootimage-listfiles-rhel5-gfs2
Conflicts: comoonics-bootimage-listfiles-rhel5-ocfs2
Conflicts: comoonics-bootimage-extras-ocfs2
%description listfiles-rhel5-ext4
OSR extra files that are only relevant for RHEL5 and EXT4
%package listfiles-rhel5-gfs
Version: 5.0
Release: 3_rhel5
Requires: comoonics-bootimage >= 5.0
Requires: /etc/redhat-release
Requires: comoonics-bootimage-listfiles-rhel5
Requires: SysVinit-comoonics
Requires: comoonics-bootimage-listfiles-rhel5-fencelib
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Summary: Extrafiles for RedHat Enterprise Linux Version 5 and GFS
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Conflicts: comoonics-bootimage-listfiles-rhel5-ext3
Conflicts: comoonics-bootimage-listfiles-rhel5-ext4
Conflicts: comoonics-bootimage-listfiles-rhel5-nfs
Conflicts: comoonics-bootimage-listfiles-rhel5-gfs2
Conflicts: comoonics-bootimage-listfiles-rhel5-ocfs2
Conflicts: comoonics-bootimage-extras-ocfs2
Obsoletes: comoonics-bootimage-listfiles-rhel5-gfs1
%description listfiles-rhel5-gfs
OSR extra files that are only relevant for RHEL5 and GFS
%package listfiles-rhel5-gfs2
Version: 5.0
Release: 3_rhel5
Requires: comoonics-bootimage >= 5.0
Requires: /etc/redhat-release
Requires: comoonics-bootimage-listfiles-rhel5
Requires: SysVinit-comoonics
Requires: comoonics-bootimage-listfiles-rhel5-fencelib
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Summary: Extrafiles for RedHat Enterprise Linux Version 5 and GFS2
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Conflicts: comoonics-bootimage-listfiles-rhel5-ext3
Conflicts: comoonics-bootimage-listfiles-rhel5-ext4
Conflicts: comoonics-bootimage-listfiles-rhel5-nfs
Conflicts: comoonics-bootimage-listfiles-rhel5-gfs
Conflicts: comoonics-bootimage-listfiles-rhel5-ocfs2
Conflicts: comoonics-bootimage-extras-ocfs2
%description listfiles-rhel5-gfs2
OSR extra files that are only relevant for RHEL5 and GFS2
%package listfiles-rhel5-nfs
Version: 5.0
Release: 2_rhel5
Requires: comoonics-bootimage-listfiles-rhel5
Requires: comoonics-bootimage-extras-nfs
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Summary: Extrafiles for RHEL5 NFS support
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Conflicts: comoonics-bootimage-listfiles-rhel5-gfs
Conflicts: comoonics-bootimage-extras-ocfs2
%description listfiles-rhel5-nfs
OSR extra files that are only relevant for RHEL5 Versions and nfs support
%package listfiles-rhel5-ocfs2
Version: 5.0
Release: 2_rhel5
Requires: comoonics-bootimage >= 1.4-81
Requires: /etc/redhat-release
Requires: comoonics-bootimage-listfiles-rhel5
Requires: SysVinit-comoonics
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Summary: Extrafiles for RedHat Enterprise Linux Version 5 and OCFS2
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Conflicts: comoonics-bootimage-listfiles-rhel5-ext3
Conflicts: comoonics-bootimage-listfiles-rhel5-ext4
Conflicts: comoonics-bootimage-listfiles-rhel5-nfs
Conflicts: comoonics-bootimage-listfiles-rhel5-gfs
Conflicts: comoonics-bootimage-listfiles-rhel5-gfs2
%description listfiles-rhel5-ocfs2
OSR extra files that are only relevant for RHEL5 and OCFS2
%package listfiles-rhel6-ext3
Version: 5.0
Release: 2_rhel6
Requires: comoonics-bootimage >= 5.0
Requires: /etc/redhat-release
Requires: comoonics-bootimage-listfiles-rhel6
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Summary: Extrafiles for RedHat Enterprise Linux Version 6 and Ext3
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Conflicts: comoonics-bootimage-listfiles-rhel6-ext4
Conflicts: comoonics-bootimage-listfiles-rhel6-nfs
Conflicts: comoonics-bootimage-listfiles-rhel6-gfs
Conflicts: comoonics-bootimage-listfiles-rhel6-gfs2
Conflicts: comoonics-bootimage-listfiles-rhel6-ocfs2
Conflicts: comoonics-bootimage-extras-ocfs2
%description listfiles-rhel6-ext3
OSR extra files that are only relevant for RHEL6 and EXT3
%package listfiles-rhel6-ext4
Version: 5.0
Release: 2_rhel6
Requires: comoonics-bootimage >= 5.0
Requires: /etc/redhat-release
Requires: comoonics-bootimage-listfiles-rhel6
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Summary: Extrafiles for RedHat Enterprise Linux Version 6 and Ext4
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Conflicts: comoonics-bootimage-listfiles-rhel6-ext3
Conflicts: comoonics-bootimage-listfiles-rhel6-nfs
Conflicts: comoonics-bootimage-listfiles-rhel6-gfs
Conflicts: comoonics-bootimage-listfiles-rhel6-gfs2
Conflicts: comoonics-bootimage-listfiles-rhel6-ocfs2
Conflicts: comoonics-bootimage-extras-ocfs2
%description listfiles-rhel6-ext4
OSR extra files that are only relevant for RHEL6 and EXT4
%package listfiles-rhel6-nfs
Version: 5.0
Release: 2_rhel6
Requires: comoonics-bootimage-listfiles-rhel6
Requires: comoonics-bootimage-extras-nfs
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Summary: Extrafiles for RHEL6 NFS support
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Conflicts: comoonics-bootimage-listfiles-rhel6-ext3
Conflicts: comoonics-bootimage-listfiles-rhel6-ext4
Conflicts: comoonics-bootimage-listfiles-rhel6-gfs
Conflicts: comoonics-bootimage-listfiles-rhel6-gfs2
Conflicts: comoonics-bootimage-listfiles-rhel6-ocfs2
Conflicts: comoonics-bootimage-extras-ocfs2
%description listfiles-rhel6-nfs
OSR extra files that are only relevant for RHEL6 Versions and nfs support
%package listfiles-rhel6-ocfs2
Version: 5.0
Release: 3_rhel6
Requires: comoonics-bootimage >= 5.0
Requires: /etc/redhat-release
Requires: comoonics-bootimage-listfiles-rhel6
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Summary: Extrafiles for RedHat Enterprise Linux Version 6 and OCFS2
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Conflicts: comoonics-bootimage-listfiles-rhel6-ext3
Conflicts: comoonics-bootimage-listfiles-rhel6-ext4
Conflicts: comoonics-bootimage-listfiles-rhel6-nfs
Conflicts: comoonics-bootimage-listfiles-rhel6-gfs
Conflicts: comoonics-bootimage-listfiles-rhel6-gfs2
%description listfiles-rhel6-ocfs2
OSR extra files that are only relevant for RHEL6 and OCFS2
%package listfiles-rhel6-gfs2
Version: 5.0
Release: 3_rhel6
Requires: comoonics-bootimage >= 5.0
Requires: /etc/redhat-release
Requires: comoonics-bootimage-listfiles-rhel6
Requires: comoonics-bootimage-listfiles-rhel6-fencelib
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Summary: Extrafiles for RedHat Enterprise Linux Version 6 and OCFS2
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Conflicts: comoonics-bootimage-listfiles-rhel6-ext3
Conflicts: comoonics-bootimage-listfiles-rhel6-ext4
Conflicts: comoonics-bootimage-listfiles-rhel6-nfs
Conflicts: comoonics-bootimage-listfiles-rhel6-gfs
Conflicts: comoonics-bootimage-listfiles-rhel6-ocfs2
%description listfiles-rhel6-gfs2
OSR extra files that are only relevant for RHEL6 and GFS2
%package listfiles-sles10-nfs
Version: 0.1
Release: 2_sles10
Requires: comoonics-bootimage-listfiles-sles10
Requires: comoonics-bootimage-extras-nfs
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Summary: Extrafiles for SLES10 NFS support
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Conflicts: comoonics-bootimage-extras-ocfs2
Conflicts: comoonics-bootimage-listfiles-sles10-ocfs2
%description listfiles-sles10-nfs
OSR extra files that are only relevant for SLES10 Versions and nfs support
%package listfiles-sles10-ocfs2
Version: 0.1
Release: 1_sles10
Requires: comoonics-bootimage-listfiles-sles10
Requires: comoonics-bootimage-extras-ocfs2
Requires: sysvinit-comoonics
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Summary: Extrafiles for SLES10 OCFS2 support
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Conflicts: comoonics-bootimage-extras-nfs
Conflicts: comoonics-bootimage-listfiles-sles10-nfs
%description listfiles-sles10-ocfs2
OSR extra files that are only relevant for SLES10 Versions and OCFS2 support
%package listfiles-sles11-ext3
Version: 5.0
Release: 1_sles11
Requires: comoonics-bootimage >= 5.0
Requires: /etc/SuSE-release
Requires: comoonics-bootimage-listfiles-sles11
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Summary: Extrafiles for SuSE Linux Enterprise Server and Ext3
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Conflicts: comoonics-bootimage-listfiles-sles11-ext4
Conflicts: comoonics-bootimage-listfiles-sles11-nfs
Conflicts: comoonics-bootimage-listfiles-sles11-ocfs2
Conflicts: comoonics-bootimage-extras-ocfs2
%description listfiles-sles11-ext3
OSR extra files that are only relevant for SLES11 and EXT3
%package listfiles-sles11-ext4
Version: 5.0
Release: 1_sles11
Requires: comoonics-bootimage >= 5.0
Requires: /etc/SuSE-release
Requires: comoonics-bootimage-listfiles-sles11
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Summary: Extrafiles for SuSE Linux Enterprise Server and Ext4
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Conflicts: comoonics-bootimage-listfiles-sles11-ext3
Conflicts: comoonics-bootimage-listfiles-sles11-nfs
Conflicts: comoonics-bootimage-listfiles-sles11-ocfs2
Conflicts: comoonics-bootimage-extras-ocfs2
%description listfiles-sles11-ext4
OSR extra files that are only relevant for SLES11 and EXT4
%package listfiles-sles11-nfs
Version: 5.0
Release: 2_sles11
Requires: comoonics-bootimage >= 5.0
Requires: /etc/SuSE-release
Requires: comoonics-bootimage-extras-nfs
Requires: comoonics-bootimage-listfiles-sles11
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Summary: Extrafiles for SLES11 NFS support
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Conflicts: comoonics-bootimage-extras-ocfs2
Conflicts: comoonics-bootimage-listfiles-sles11-ocfs2
%description listfiles-sles11-nfs
OSR extra files that are only relevant for SLES11 Versions and nfs support
%package listfiles-sles11-ocfs2
Version: 5.0
Release: 3_sles11
Requires: comoonics-bootimage >= 5.0
Requires: /etc/SuSE-release
Requires: comoonics-bootimage-extras-ocfs2
Requires: comoonics-bootimage-listfiles-sles11
Requires: sysvinit-comoonics
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Summary: Extrafiles for SLES11 OCFS2 support
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Conflicts: comoonics-bootimage-extras-nfs
Conflicts: comoonics-bootimage-listfiles-sles11-nfs
%description listfiles-sles11-ocfs2
OSR extra files that are only relevant for SLES11 Versions and OCFS2 support
%package listfiles-imsd-plugins
Version: 5.0
Release: 2_%{LINUXDISTROSHORT}
Obsoletes: comoonics-bootimage-listfiles-fenceacksv-plugins
Requires: comoonics-bootimage >= 5.0
Requires: comoonics-cs-sysreport-templates
Requires: comoonics-imsd-py
Requires: comoonics-imsd-plugins-py
Summary: Extrafiles for plugins in imsd
Group: Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
%description listfiles-imsd-plugins
OSR extrafiles for plugins in imsd.
%package listfiles-syslogd
Version: 5.0
Release: 2_%{LINUXDISTROSHORT}
Requires: comoonics-bootimage-extras-syslog
Summary: Syslog listfiles for syslog classic
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Distribution: %{DISTRIBUTIONBASE}
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Conflicts: comoonics-bootimage-listfiles-rsyslogd
Conflicts: comoonics-bootimage-listfiles-syslog-ng
%description listfiles-syslogd
Syslog listfiles for syslog classic
%package listfiles-rsyslogd
Version: 5.0
Release: 2_%{LINUXDISTROSHORT}
Requires: comoonics-bootimage-extras-syslog
Summary: Syslog listfiles for the rsyslog daemon
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Distribution: %{DISTRIBUTIONBASE}
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Conflicts: comoonics-bootimage-listfiles-syslog
Conflicts: comoonics-bootimage-listfiles-syslog-ng
%description listfiles-rsyslogd
Syslog listfiles for rsyslog daemon
%package listfiles-syslog-ng
Version: 5.0
Release: 2_%{LINUXDISTROSHORT}
Requires: comoonics-bootimage-extras-syslog
Summary: Syslog listfiles for the syslog-ng daemon
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Distribution: %{DISTRIBUTIONBASE}
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Conflicts: comoonics-bootimage-listfiles-rsyslogd
Conflicts: comoonics-bootimage-listfiles-syslog
%description listfiles-syslog-ng
Syslog listfiles for syslog-ng daemon
%package listfiles-perl-rhel5
Version: 5.0
Release: 2_rhel5
Requires: comoonics-bootimage
Summary: Listfiles for perl in the chroot for RHEL5
Group: %{GROUPPARENT}/%{GROUPCHILDEXTRAS}
Distribution: %{DISTRIBUTIONEXTRAS}
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
%description listfiles-perl-rhel5
Listfiles for the perl to be imported in the bootimage.
%package listfiles-rhel5-fencelib
Version: 5.0
Release: 1_rhel5
Requires: comoonics-bootimage
Summary: Listfiles for Fencelibs
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Distribution: %{DISTRIBUTIONBASE}
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Obsoletes: comoonics-bootimage-listfiles-fencelib
%description listfiles-rhel5-fencelib
Listfiles for the fencelibs to be imported in the bootimage.
%package listfiles-rhel6-fencelib
Version: 5.0
Release: 1_rhel6
Requires: comoonics-bootimage
Summary: Listfiles for Fencelibs
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Distribution: %{DISTRIBUTIONBASE}
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Obsoletes: comoonics-bootimage-listfiles-fencelib
%description listfiles-rhel6-fencelib
Listfiles for the fencelibs to be imported in the bootimage.
%package listfiles-rhel5-fencevirt
Version: 5.0
Release: 3_rhel5
Requires: comoonics-bootimage
Requires: comoonics-bootimage-listfiles-rhel5-fencelib
Summary: Listfiles for fence_xvm and fence_virt
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Distribution: %{DISTRIBUTIONBASE}
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Obsoletes: comoonics-bootimage-listfiles-fencexvm
%description listfiles-rhel5-fencevirt
Listfiles for the fence_xvm and fence_virt agent to be imported in the bootimage.
%package listfiles-rhel6-fencevirt
Version: 5.0
Release: 3_rhel6
Requires: comoonics-bootimage
Requires: comoonics-bootimage-listfiles-rhel6-fencelib
Summary: Listfiles for fence_xvm and fence_virt
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Distribution: %{DISTRIBUTIONBASE}
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Obsoletes: comoonics-bootimage-listfiles-fencexvm
%description listfiles-rhel6-fencevirt
Listfiles for the fence_xvm and fence_virt agent to be imported in the bootimage.
%package listfiles-fence_vmware-rhel5
Version: 5.0
Release: 2_rhel5
Requires: comoonics-bootimage >= 5.0
Requires: comoonics-bootimage-listfiles-perl-rhel5
Summary: Files needed for fence_vmware in the kernel
Group: %{GROUPPARENT}/%{GROUPCHILDEXTRAS}
Distribution: %{DISTRIBUTIONEXTRAS}
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
%description listfiles-fence_vmware-rhel5
Files needed for fence_vmware in the kernel
%package listfiles-vmware-vmxnet3
Version: 5.0
Release: 1_%{LINUXDISTROSHORT}
Requires: comoonics-bootimage >= 1.4
Summary: Listfiles for vmware vmxnet3 drivers from rpm
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Distribution: %{DISTRIBUTIONBASE}
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
%description listfiles-vmware-vmxnet3
Listfiles for vmware vmxnet3 drivers from rpm
%package listfiles-firmware
Version: 5.0
Release: 2_%{LINUXDISTROSHORT}
Requires: comoonics-bootimage >= 5.0
Summary: Listfiles for including firmware images into the initrd
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Distribution: %{DISTRIBUTIONBASE}
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
%description listfiles-firmware
Listfiles for including firmware images into the initrd
%package listfiles-plymouth
Version: 5.0
Release: 2_%{LINUXDISTROSHORT}
Requires: comoonics-bootimage >= 5.0
Summary: Files needed for plymouth support in the initrd
Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Distribution: %{DISTRIBUTIONBASE}
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
%description listfiles-plymouth
Files needed for plymouth support in the initrd
%package compat
Version: 5.0
Release: 2_%{LINUXDISTROSHORT}
Requires: comoonics-bootimage >= 5.0
Summary: Files needed for compatibility to 1.2 releases
Group: %{GROUPPARENT}/%{GROUPCHILDEXTRAS}
Distribution: %{DISTRIBUTIONBASE}
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
%description compat
OSR files needed for the compatibility to 1.2 releases
%package imsd
Version: 5.0
Release: 5_%{LINUXDISTROSHORT}
Obsoletes: comoonics-bootimage-fenceacksv
Requires: comoonics-imsd-py
Requires: comoonics-bootimage >= 5.0
Requires: comoonics-tools-py >= 5.0
Summary: The Integrated Management Server Device is a service for last resort actions
Group: Group: %{GROUPPARENT}/%{GROUPCHILDBASE}
Distribution: %{DISTRIBUTIONBASE}
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
%description imsd
The Fenceackserver is a service for last resort actions
%prep
%setup -q