~ubuntu-branches/ubuntu/vivid/slurm-llnl/vivid

« back to all changes in this revision

Viewing changes to slurm.spec

  • Committer: Bazaar Package Importer
  • Author(s): Gennaro Oliva
  • Date: 2009-09-24 23:28:15 UTC
  • mfrom: (1.1.11 upstream) (3.2.4 sid)
  • Revision ID: james.westby@ubuntu.com-20090924232815-enh65jn32q1ebg07
Tags: 2.0.5-1
* New upstream release 
* Changed dependecy from lib-mysqlclient15 to lib-mysqlclient 
* Added Default-Start for runlevel 2 and 4 and $remote_fs requirement in
  init.d scripts (Closes: #541252)
* Postinst checks for wrong runlevels 2 and 4 links
* Upgraded to standard version 3.8.3
* Add lintian overrides for missing slurm-llnl-configurator.html in doc
  base registration
* modified postrm scripts to ignore pkill return value in order to avoid
  postrm failure when no slurm process is running
* Checking for slurmctld.pid before cancelling running and pending
  jobs during package removal 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# $Id: slurm.spec 16983 2009-03-24 16:33:55Z da $
 
1
# $Id: slurm.spec 18573 2009-08-27 18:14:02Z jette $
2
2
#
3
3
# Note that this package is not relocatable
4
4
 
9
9
# --with authd       %_with_authd       1    build auth-authd RPM
10
10
# --with auth_none   %_with_auth_none   1    build auth-none RPM
11
11
# --with bluegene    %_with_bluegene    1    build bluegene RPM
 
12
# --with cray_xt     %_with_cray_xt     1    build for Cray XT system
12
13
# --with debug       %_with_debug       1    enable extra debugging within SLURM
13
14
# --with elan        %_with_elan        1    build switch-elan RPM
14
15
# --without munge    %_without_munge    1    don't build auth-munge RPM
33
34
%define slurm_with() %{expand:%%{?slurm_with_%{1}:1}%%{!?slurm_with_%{1}:0}}
34
35
 
35
36
#  Options that are off by default (enable with --with <opt>)
36
 
%slurm_without_opt elan
 
37
%slurm_without_opt auth_none
37
38
%slurm_without_opt authd
38
39
%slurm_without_opt bluegene
39
 
%slurm_without_opt auth_none
 
40
%slurm_without_opt cray
40
41
%slurm_without_opt debug
 
42
%slurm_without_opt elan
41
43
%slurm_without_opt sun_const
42
44
 
43
45
# These options are only here to force there to be these on the build.  
73
75
%endif
74
76
 
75
77
Name:    slurm
76
 
Version: 1.3.15
 
78
Version: 2.0.5
77
79
Release: 1%{?dist}
78
80
 
79
81
Summary: Simple Linux Utility for Resource Management
80
82
 
81
83
License: GPL 
82
84
Group: System Environment/Base
83
 
Source: slurm-1.3.15.tar.bz2
 
85
Source: slurm-2.0.5.tar.bz2
84
86
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
85
87
URL: https://computing.llnl.gov/linux/slurm/
86
88
 
91
93
%endif
92
94
 
93
95
%if %{?chaos}0
 
96
BuildRequires: gtk2-devel >= 2.7.1
94
97
BuildRequires: ncurses-devel
 
98
BuildRequires: pkgconfig
95
99
%endif
96
100
 
97
101
%if %{slurm_with pam}
265
269
#############################################################################
266
270
 
267
271
%prep
268
 
%setup -n slurm-1.3.15
 
272
%setup -n slurm-2.0.5
269
273
 
270
274
%build
271
275
%configure --program-prefix=%{?_program_prefix:%{_program_prefix}} \
 
276
        %{?slurm_with_cray_xt:--enable-cray-xt} \
272
277
        %{?slurm_with_debug:--enable-debug} \
273
278
        %{?slurm_with_sun_const:--enable-sun-const} \
274
279
        %{?with_proctrack}      \
312
317
%endif
313
318
 
314
319
%if %{slurm_with bluegene}
 
320
rm ${RPM_BUILD_ROOT}%{_bindir}/srun
315
321
install -D -m644 etc/bluegene.conf.example ${RPM_BUILD_ROOT}%{_sysconfdir}/bluegene.conf.example
316
322
%endif
317
323
 
322
328
fi
323
329
 
324
330
LIST=./plugins.files
325
 
test -f $RPM_BUILD_ROOT/%{_libdir}/slurm/task_affinity.so &&
326
 
   echo %{_libdir}/slurm/task_affinity.so >> $LIST
327
 
test -f $RPM_BUILD_ROOT/%{_libdir}/slurm/crypto_openssl.so &&
328
 
   echo %{_libdir}/slurm/crypto_openssl.so >> $LIST
329
 
 
 
331
test -f $RPM_BUILD_ROOT/%{_libdir}/slurm/accounting_storage_mysql.so &&
 
332
   echo %{_libdir}/slurm/accounting_storage_mysql.so >> $LIST
 
333
test -f $RPM_BUILD_ROOT/%{_libdir}/slurm/accounting_storage_pgsql.so &&
 
334
   echo %{_libdir}/slurm/accounting_storage_pgsql.so >> $LIST
 
335
test -f $RPM_BUILD_ROOT/%{_libdir}/slurm/checkpoint_blcr.so          &&
 
336
   echo %{_libdir}/slurm/checkpoint_blcr.so          >> $LIST
 
337
test -f $RPM_BUILD_ROOT/%{_libdir}/slurm/crypto_openssl.so           &&
 
338
   echo %{_libdir}/slurm/crypto_openssl.so           >> $LIST
 
339
test -f $RPM_BUILD_ROOT/%{_libdir}/slurm/jobcomp_mysql.so            &&
 
340
   echo %{_libdir}/slurm/jobcomp_mysql.so            >> $LIST
 
341
test -f $RPM_BUILD_ROOT/%{_libdir}/slurm/jobcomp_pgsql.so            &&
 
342
   echo %{_libdir}/slurm/jobcomp_pgsql.so            >> $LIST
 
343
test -f $RPM_BUILD_ROOT/%{_libdir}/slurm/task_affinity.so            &&
 
344
   echo %{_libdir}/slurm/task_affinity.so             >> $LIST
330
345
 
331
346
#############################################################################
332
347
 
354
369
%{_libdir}/slurm/src/*
355
370
%{_mandir}/man1/*
356
371
%{_mandir}/man5/slurm.*
 
372
%{_mandir}/man5/topology.*
357
373
%{_mandir}/man5/wiki.*
358
374
%{_mandir}/man8/slurmctld.*
359
375
%{_mandir}/man8/slurmd.*
441
457
%defattr(-,root,root)
442
458
%dir %{_libdir}/slurm
443
459
%{_libdir}/slurm/accounting_storage_filetxt.so
444
 
%{_libdir}/slurm/accounting_storage_mysql.so
445
460
%{_libdir}/slurm/accounting_storage_none.so
446
 
%{_libdir}/slurm/accounting_storage_pgsql.so
447
461
%{_libdir}/slurm/accounting_storage_slurmdbd.so
448
462
%{_libdir}/slurm/checkpoint_none.so
449
463
%{_libdir}/slurm/checkpoint_ompi.so
453
467
%{_libdir}/slurm/jobacct_gather_none.so
454
468
%{_libdir}/slurm/jobcomp_none.so
455
469
%{_libdir}/slurm/jobcomp_filetxt.so
456
 
%{_libdir}/slurm/jobcomp_mysql.so
457
 
%{_libdir}/slurm/jobcomp_pgsql.so
458
470
%{_libdir}/slurm/jobcomp_script.so
 
471
%{_libdir}/slurm/priority_basic.so
 
472
%{_libdir}/slurm/priority_multifactor.so
459
473
%{_libdir}/slurm/proctrack_pgid.so
460
474
%{_libdir}/slurm/proctrack_linuxproc.so
461
475
%{_libdir}/slurm/sched_backfill.so
467
481
%{_libdir}/slurm/select_cons_res.so
468
482
%{_libdir}/slurm/select_linear.so
469
483
%{_libdir}/slurm/switch_none.so
 
484
%{_libdir}/slurm/topology_3d_torus.so
 
485
%{_libdir}/slurm/topology_none.so
 
486
%{_libdir}/slurm/topology_tree.so
470
487
%{_libdir}/slurm/mpi_lam.so
471
488
%{_libdir}/slurm/mpi_mpich1_p4.so
472
489
%{_libdir}/slurm/mpi_mpich1_shmem.so