e052536
Summary: Condor: High Throughput Computing
e052536
Name: condor
6af3611
Version: 7.4.1
a54d67d
Release: 1%{?dist}
e052536
License: ASL 2.0
e052536
Group: Applications/System
e052536
URL: http://www.cs.wisc.edu/condor/
e052536
# The upstream Condor source tarball contains some source that cannot
e052536
# be shipped as well as extraneous copies of packages the source
e052536
# depends on. Additionally, the upstream Condor source requires a
e052536
# click-through license. Once you have downloaded the source from:
e052536
#   http://parrot.cs.wisc.edu/v7.0.license.html
e052536
# you should process it with generate-tarball.sh:
e8dbbab
#   ./generate-tarball.sh 7.0.4
e052536
# MD5Sum of upstream source:
e052536
#   06eec3ae274b66d233ad050a047f3c91  condor_src-7.0.0-all-all.tar.gz
e8dbbab
#   b08743cfa2e87adbcda042896e8ef537  condor_src-7.0.2-all-all.tar.gz
e8dbbab
#   5f326ad522b63eacf34c6c563cf46910  condor_src-7.0.4-all-all.tar.gz
671b3f3
#   73323100c5b2259f3b9c042fa05451e0  condor_src-7.0.5-all-all.tar.gz
3e1318f
#   a2dd96ea537b2c6d105b6c8dad563ddc  condor_src-7.2.0-all-all.tar.gz
a43d2c6
#   edbac8267130ac0a0e016d0f113b4616  condor_src-7.2.1-all-all.tar.gz
a54d67d
#   6d9b0ef74d575623af11e396fa274174  condor_src-7.2.4-all-all.tar.gz
6af3611
#   ee72b65fad02d21af0dc8f1aa5872110  condor_src-7.4.0-all-all.tar.gz
6af3611
#   d4deeabbbce65980c085d8bea4c1018a  condor_src-7.4.1-all-all.tar.gz
e052536
# Note: The md5sum of each generated tarball may be different
6af3611
Source0: condor-7.4.1-204351-RH.tar.gz
e052536
Source1: generate-tarball.sh
e8dbbab
Patch0: condor_config.generic.patch
3e1318f
Patch1: stdsoap2.h.patch.patch
893fef1
Patch3: chkconfig_off.patch
559b3db
Patch6: log_lock_run.patch
6af3611
Patch7: only_dynamic_unstripped.patch
6094047
e052536
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
e052536
e052536
BuildRequires: imake
e052536
BuildRequires: flex
e052536
BuildRequires: byacc
e052536
BuildRequires: pcre-devel
e052536
BuildRequires: postgresql-devel
e052536
BuildRequires: openssl-devel
e052536
BuildRequires: krb5-devel
3e1318f
BuildRequires: gsoap-devel >= 2.7.12-1
6af3611
BuildRequires: libvirt-devel
e052536
BuildRequires: bind-utils
e052536
BuildRequires: m4
e052536
BuildRequires: autoconf
6af3611
BuildRequires: classads-devel >= 1.0.4
3e1318f
BuildRequires: libX11-devel
e052536
6af3611
Requires: gsoap >= 2.7.12
e052536
Requires: mailx
3e1318f
Requires: python >= 2.2
e052536
e052536
Requires(pre): shadow-utils
e052536
e052536
Requires(post):/sbin/chkconfig
e052536
Requires(preun):/sbin/chkconfig
e052536
Requires(preun):/sbin/service
e052536
Requires(postun):/sbin/service
e052536
e052536
#Provides: user(condor) = 43
e052536
#Provides: group(condor) = 43
e052536
627bc41
Obsoletes: condor-static < 7.2.0
627bc41
e052536
e052536
%description
e052536
Condor is a specialized workload management system for
e052536
compute-intensive jobs. Like other full-featured batch systems, Condor
e052536
provides a job queueing mechanism, scheduling policy, priority scheme,
e052536
resource monitoring, and resource management. Users submit their
e052536
serial or parallel jobs to Condor, Condor places them into a queue,
e052536
chooses when and where to run the jobs based upon a policy, carefully
e052536
monitors their progress, and ultimately informs the user upon
e052536
completion.
e052536
e052536
3e1318f
#%package static
3e1318f
#Summary: Headers and libraries for interacting with Condor
3e1318f
#Group: Development/System
3e1318f
#Requires: %name = %version-%release
3e1318f
#
3e1318f
#
3e1318f
#%description static
3e1318f
#Headers and libraries for interacting with Condor and its components.
3e1318f
e052536
3e1318f
%package kbdd
3e1318f
Summary: Condor Keyboard Daemon
3e1318f
Group: Applications/System
3e1318f
Requires: %name = %version-%release
3e1318f
Requires: libX11
e052536
3e1318f
%description kbdd
3e1318f
The condor_kbdd monitors logged in X users for activity. It is only
3e1318f
useful on systems where no device (e.g. /dev/*) can be used to
3e1318f
determine console idle time.
e052536
e052536
6af3611
%package vm-gahp
6af3611
Summary: Condor's VM Gahp
6af3611
Group: Applications/System
6af3611
Requires: %name = %version-%release
6af3611
6af3611
%description vm-gahp
6af3611
The condor_vm-gahp enables the Virtual Machine Universe feature of
6af3611
Condor. The VM Universe uses libvirt to start and control VMs under
6af3611
Condor's Startd.
6af3611
6af3611
e052536
%pre
e052536
getent group condor >/dev/null || groupadd -r condor
e052536
getent passwd condor >/dev/null || \
e052536
  useradd -r -g condor -d %_var/lib/condor -s /sbin/nologin \
e052536
    -c "Owner of Condor Daemons" condor
e052536
exit 0
e052536
e052536
e052536
%prep
e052536
%setup -q -n %{name}-%{version}
e8dbbab
e052536
%patch0 -p1
3e1318f
%patch1 -p1
893fef1
%patch3 -p1
559b3db
%patch6 -p1
6af3611
%patch7 -p1
e052536
e052536
# fix errant execute permissions
e052536
find src -perm /a+x -type f -name "*.[Cch]" -exec chmod a-x {} \;
e052536
e052536
e052536
%build
e052536
# set USE_OLD_IMAKE to anything so condor_imake will use the system
e052536
# installed imake instead of building its own
e052536
USE_OLD_IMAKE=YES
e052536
export USE_OLD_IMAKE
e052536
e052536
# Condor does not like to be built with -O2 to begin with, and it
e052536
# appears to trigger a bug in GCC 4.3.0, so for the time being -O2 is
e052536
# banished from C*FLAGS
e052536
%define optflags %(rpm --eval '%%optflags' | sed 's|-O2||g')
e052536
e052536
cd src
e8dbbab
./build_init
3e1318f
%configure --with-buildid=Fedora-%{version}-%{release} \
6af3611
   --with-platform=$(uname -s)-$(uname -p) \
3e1318f
   --enable-proper \
e8dbbab
   --disable-full-port \
e8dbbab
   --disable-gcc-version-check \
e8dbbab
   --disable-glibc-version-check \
e052536
   --disable-static \
e052536
   --disable-rpm \
3e1318f
   --enable-kbdd \
3e1318f
   --disable-hibernation \
3e1318f
   --disable-lease-manager \
6af3611
   --disable-hdfs \
e052536
   --without-zlib \
e052536
   --with-openssl \
e052536
   --with-krb5 \
6af3611
   --with-libvirt \
e052536
   --with-postgresql \
e052536
   --with-gsoap \
3e1318f
   --with-classads \
e052536
   --with-man=$PWD/../externals/bundles/man/current
e052536
e052536
# SMP_NUM_JOBS must be set properly to pass -j to make
e052536
#SMP_NUM_JOBS=$(echo %{?_smp_mflags} | sed -e 's/-j\(.*\)/\1/')
e052536
#export SMP_NUM_JOBS
e052536
e052536
# build a releasable tarball
e052536
make public
e052536
e052536
e052536
%install
e052536
# installation happens into a temporary location, this function is
e052536
# useful in moving files into their final locations
e052536
function populate {
e052536
  _dest="$1"; shift; _src="$*"
e052536
  mkdir -p "%{buildroot}/$_dest"
e052536
  mv $_src "%{buildroot}/$_dest"
e052536
}
e052536
e052536
rm -rf %{buildroot}
e052536
e052536
# make public creates release tarballs which we will install
3e1318f
oldpwd=$PWD
6af3611
cd public/v7.4
e8dbbab
gzip -cd condor-%{version}-*-dynamic-unstripped.tar.gz | tar x
e8dbbab
cd condor-%{version}
e8dbbab
e052536
PREFIX=%{buildroot}/install
e8dbbab
e8dbbab
populate install *
e8dbbab
e8dbbab
cp $PREFIX/etc/examples/condor_config.generic $PREFIX/etc/condor_config
e8dbbab
3e1318f
# the default condor_config file is not architecture aware and thus
3e1318f
# sets the LIB directory to always be /usr/lib, we want to do better
3e1318f
# than that. this is, so far, the best place to do this
3e1318f
# specialization. we strip the "lib" or "lib64" part from _libdir and
3e1318f
# stick it in the LIB variable in the config.
3e1318f
LIB=$(echo %{?_libdir} | sed -e 's:/usr/\(.*\):\1:')
3e1318f
if [ "$LIB" = "%_libdir" ]; then
3e1318f
  echo "_libdir does not contain /usr, sed expression needs attention"
3e1318f
  exit 1
3e1318f
fi
3e1318f
sed -e "s:^LIB\s*=.*:LIB = \$(RELEASE_DIR)/$LIB/condor:" \
3e1318f
  $PREFIX/etc/examples/condor_config.generic \
3e1318f
  > $PREFIX/etc/condor_config
3e1318f
3e1318f
e8dbbab
mkdir $PREFIX/local_dir
e8dbbab
mkdir -m1777 $PREFIX/local_dir/execute
e8dbbab
mkdir -m0755 $PREFIX/local_dir/log
e8dbbab
mkdir -m0755 $PREFIX/local_dir/spool
e8dbbab
e8dbbab
cat >> $PREFIX/local_dir/condor_config.local << EOF
627bc41
CONDOR_DEVELOPERS = NONE
e8dbbab
CONDOR_HOST = \$(FULL_HOSTNAME)
e8dbbab
COLLECTOR_NAME = Personal Condor
e8dbbab
START = TRUE
e8dbbab
SUSPEND = FALSE
e8dbbab
PREEMPT = FALSE
e8dbbab
KILL = FALSE
e8dbbab
DAEMON_LIST = COLLECTOR, MASTER, NEGOTIATOR, SCHEDD, STARTD
e8dbbab
NEGOTIATOR_INTERVAL = 20
e8dbbab
EOF
e8dbbab
e052536
# this gets around a bug whose fix is not yet merged
e052536
echo "TRUST_UID_DOMAIN = TRUE" >> $PREFIX/local_dir/condor_config.local
e052536
e052536
# used by BLAHP, which is not packaged
e052536
rm -rf $PREFIX/libexec/glite
e052536
# used by old MPI universe, not packaged (it's rsh, it should die)
e052536
rm -rf $PREFIX/libexec/rsh
e052536
# this is distributed as chirp_client.c/h and chirp_protocol.h in %_usrsrc
e052536
rm $PREFIX/lib/libchirp_client.a
e052536
rm $PREFIX/include/chirp_client.h
e052536
# checkpoint, reschedule and vacate live in bin/, don't duplicate
e052536
rm $PREFIX/sbin/condor_checkpoint
e052536
rm $PREFIX/sbin/condor_reschedule
e052536
rm $PREFIX/sbin/condor_vacate
e052536
# the libcondorapi.so is not properly created, instead of providing it
e052536
# we will provide the .a version in a static package
e052536
rm $PREFIX/lib/libcondorapi.so
3e1318f
# sbin/condor is a pointless hard links
e052536
rm $PREFIX/sbin/condor
3e1318f
3e1318f
# not packaging the condor_startd_factory right now
3e1318f
rm $PREFIX/sbin/condor_startd_factory
3e1318f
rm $PREFIX/lib/webservice/condorStartdFactory.wsdl
3e1318f
rm $PREFIX/libexec/bgp_available_partitions
3e1318f
rm $PREFIX/libexec/bgp_back_partition
3e1318f
rm $PREFIX/libexec/bgp_boot_partition
3e1318f
rm $PREFIX/libexec/bgp_destroy_partition
3e1318f
rm $PREFIX/libexec/bgp_generate_partition
3e1318f
rm $PREFIX/libexec/bgp_query_work_loads
3e1318f
rm $PREFIX/libexec/bgp_shutdown_partition
3e1318f
3e1318f
# not packaging uninteresting WSDL files, except for the master
3e1318f
rm $PREFIX/lib/webservice/condorCgahp.wsdl
3e1318f
rm $PREFIX/lib/webservice/condorDagman.wsdl
3e1318f
rm $PREFIX/lib/webservice/condorDbmsd.wsdl
3e1318f
rm $PREFIX/lib/webservice/condorDcskel.wsdl
3e1318f
rm $PREFIX/lib/webservice/condorEventd.wsdl
3e1318f
rm $PREFIX/lib/webservice/condorGridmanager.wsdl
3e1318f
rm $PREFIX/lib/webservice/condorHad.wsdl
3e1318f
rm $PREFIX/lib/webservice/condorJobRouter.wsdl
3e1318f
rm $PREFIX/lib/webservice/condorKbdd.wsdl
3e1318f
rm $PREFIX/lib/webservice/condorNegotiator.wsdl
3e1318f
rm $PREFIX/lib/webservice/condorShadow.wsdl
3e1318f
rm $PREFIX/lib/webservice/condorStartd.wsdl
3e1318f
rm $PREFIX/lib/webservice/condorStarter.wsdl
3e1318f
rm $PREFIX/lib/webservice/condorTransferd.wsdl
3e1318f
rm $PREFIX/lib/webservice/condorTt.wsdl
3e1318f
rm $PREFIX/lib/webservice/condorVMgahp.wsdl
6af3611
rm $PREFIX/lib/webservice/condorRooster.wsdl
6af3611
rm $PREFIX/lib/webservice/condorTest.wsdl
3e1318f
3e1318f
# not packaging glexec support right now
3e1318f
rm $PREFIX/libexec/condor_glexec_cleanup
3e1318f
rm $PREFIX/libexec/condor_glexec_job_wrapper
3e1318f
rm $PREFIX/libexec/condor_glexec_kill
3e1318f
rm $PREFIX/libexec/condor_glexec_run
3e1318f
rm $PREFIX/libexec/condor_glexec_setup
3e1318f
# not shipping gt42 gahp right now
3e1318f
rm $PREFIX/sbin/gt42_gahp
3e1318f
3e1318f
# not going to package the sc2005 negotiator
3e1318f
#rm $PREFIX/sbin/condor_lease_manager
3e1318f
3e1318f
# not going to package these until we know what they are
3e1318f
rm $PREFIX/bin/condor_power
3e1318f
rm $PREFIX/sbin/condor_set_shutdown
3e1318f
3e1318f
# not packaging glidein support, depends on globus
3e1318f
rm $PREFIX/man/man1/condor_glidein.1
3e1318f
rm $PREFIX/bin/condor_glidein
3e1318f
3e1318f
# not packaging deployment tools
3e1318f
# sbin/uniq_pid_command is a link for uniq_pid_midwife/undertaker
e052536
rm $PREFIX/sbin/uniq_pid_command
3e1318f
rm $PREFIX/sbin/uniq_pid_midwife
3e1318f
rm $PREFIX/sbin/uniq_pid_undertaker
3e1318f
rm $PREFIX/sbin/cleanup_release
3e1318f
rm $PREFIX/sbin/condor_local_stop
3e1318f
rm $PREFIX/sbin/condor_cleanup_local
3e1318f
rm $PREFIX/sbin/condor_cold_start
3e1318f
rm $PREFIX/sbin/condor_cold_stop
3e1318f
rm $PREFIX/sbin/condor_config_bind
3e1318f
rm $PREFIX/sbin/filelock_midwife
3e1318f
rm $PREFIX/sbin/filelock_undertaker
3e1318f
rm $PREFIX/sbin/condor_install_local
3e1318f
rm $PREFIX/sbin/condor_local_start
3e1318f
rm $PREFIX/sbin/install_release
3e1318f
rm $PREFIX/lib/Execute.pm
3e1318f
rm $PREFIX/lib/FileLock.pm
3e1318f
rm $PREFIX/man/man1/condor_config_bind.1
3e1318f
rm $PREFIX/man/man1/condor_cold_start.1
3e1318f
rm $PREFIX/man/man1/condor_cold_stop.1
3e1318f
3e1318f
# not packaging the ckpt server
3e1318f
rm $PREFIX/sbin/condor_ckpt_server
3e1318f
3e1318f
# not packaging standard universe
3e1318f
rm $PREFIX/bin/condor_checkpoint
3e1318f
rm $PREFIX/sbin/condor_shadow.std
3e1318f
rm $PREFIX/sbin/condor_starter.std
3e1318f
rm $PREFIX/bin/condor_compile
3e1318f
rm $PREFIX/man/man1/condor_compile.1
3e1318f
rm $PREFIX/man/man1/condor_checkpoint.1
3e1318f
rm $PREFIX/libexec/condor_ckpt_probe
3e1318f
3e1318f
# not packaging configure/install scripts
3e1318f
rm $PREFIX/man/man1/condor_configure.1
3e1318f
rm $PREFIX/sbin/condor_configure
3e1318f
rm $PREFIX/sbin/condor_install
3e1318f
3e1318f
# not packaging legacy cruft
3e1318f
rm $PREFIX/man/man1/condor_master_off.1
3e1318f
rm $PREFIX/sbin/condor_master_off
3e1318f
rm $PREFIX/man/man1/condor_reconfig_schedd.1
3e1318f
rm $PREFIX/sbin/condor_reconfig_schedd
3e1318f
rm $PREFIX/man/man1/condor_convert_history.1
3e1318f
rm $PREFIX/sbin/condor_convert_history
3e1318f
3e1318f
# not packaging anything globus related
3e1318f
rm $PREFIX/sbin/condor_gridshell
3e1318f
rm $PREFIX/sbin/grid_monitor.sh
3e1318f
rm $PREFIX/sbin/gt4_gahp
3e1318f
3e1318f
# not packaging unsupported gahps
3e1318f
rm $PREFIX/sbin/unicore_gahp
3e1318f
3e1318f
# not packaging libcondorapi.a
3e1318f
rm $PREFIX/lib/libcondorapi.a
3e1318f
e052536
e052536
# some scripts are examples but have exec bits set anyway
e052536
chmod a-x $PREFIX/etc/examples/condor.boot
e052536
chmod a-x $PREFIX/etc/examples/lamscript
e052536
chmod a-x $PREFIX/etc/examples/mp1script
e052536
e052536
# here is the actual installation
e052536
populate %_mandir/man1 $PREFIX/man/man1/*
e052536
populate %_bindir $PREFIX/bin/*
e052536
populate %_sbindir $PREFIX/sbin/*
e052536
populate %_sysconfdir/condor $PREFIX/etc/condor_config
3e1318f
# no -static package
3e1318f
#populate %_usrsrc $PREFIX/src/chirp
3e1318f
#populate %_includedir/condor $PREFIX/include/*
3e1318f
#populate %_libdir $PREFIX/lib/libcondorapi.a
e052536
populate %_datadir/condor $PREFIX/lib/*
3e1318f
populate %_datadir/condor/sql $PREFIX/sql/*
e052536
populate %_libexecdir/condor $PREFIX/libexec/*
e052536
populate %_var/lib/condor $PREFIX/local_dir/*
8cdc802
mkdir -p -m0755 "%{buildroot}"/%_var/run/condor
8cdc802
mkdir -p -m0755 "%{buildroot}"/%_var/log/condor
8cdc802
mkdir -p -m0755 "%{buildroot}"/%_var/lock/condor
3e1318f
e052536
# install the lsb init script
e8dbbab
install -Dp -m0755 $PREFIX/etc/examples/condor.init %buildroot/%_initrddir/condor
e052536
e052536
# we must place the config examples in builddir so %doc can find them
e052536
mv $PREFIX/etc/examples %_builddir/%name-%version
e052536
e052536
# delete our temporary workspace
e052536
rm -rf $PREFIX
e052536
e052536
e052536
%clean
e052536
rm -rf %{buildroot}
e052536
e052536
e052536
%check
e052536
# This currently takes hours and can kill your machine...
e052536
#cd condor_tests
e052536
#make check-seralized
e052536
e052536
e052536
%files
e052536
%defattr(-,root,root,-)
e052536
%doc LICENSE-2.0.txt examples
e052536
%_initrddir/condor
e052536
%dir %_sysconfdir/condor/
e052536
%config(noreplace) %_sysconfdir/condor/condor_config
e052536
%dir %_datadir/condor/
e052536
%_datadir/condor/Chirp.jar
e052536
%_datadir/condor/CondorJavaInfo.class
e052536
%_datadir/condor/CondorJavaWrapper.class
e052536
%_datadir/condor/Condor.pm
e052536
%_datadir/condor/scimark2lib.jar
6af3611
%_datadir/condor/condor_ssh_to_job_sshd_config_template
e052536
%dir %_datadir/condor/webservice/
e052536
%_datadir/condor/webservice/condorCollector.wsdl
e052536
%_datadir/condor/webservice/condorMaster.wsdl
e052536
%_datadir/condor/webservice/condorSchedd.wsdl
3e1318f
%dir %_datadir/condor/sql/
3e1318f
%_datadir/condor/sql/common_createddl.sql
3e1318f
%_datadir/condor/sql/oracle_createddl.sql
3e1318f
%_datadir/condor/sql/oracle_dropddl.sql
3e1318f
%_datadir/condor/sql/pgsql_createddl.sql
3e1318f
%_datadir/condor/sql/pgsql_dropddl.sql
e052536
%dir %_libexecdir/condor/
e052536
%_libexecdir/condor/condor_chirp
e052536
%_libexecdir/condor/condor_ssh
e052536
%_libexecdir/condor/sshd.sh
3e1318f
%_libexecdir/condor/condor_job_router
e8dbbab
%_libexecdir/condor/gridftp_wrapper.sh
6af3611
%_libexecdir/condor/condor_glexec_update_proxy
6af3611
%_libexecdir/condor/condor_limits_wrapper.sh
6af3611
%_libexecdir/condor/condor_rooster
6af3611
%_libexecdir/condor/condor_ssh_to_job_shell_setup
6af3611
%_libexecdir/condor/condor_ssh_to_job_sshd_setup
6af3611
%_libexecdir/condor/power_state
e052536
%_mandir/man1/condor_advertise.1.gz
e8dbbab
%_mandir/man1/condor_check_userlogs.1.gz
e8dbbab
%_mandir/man1/condor_chirp.1.gz
e8dbbab
%_mandir/man1/condor_cod.1.gz
e052536
%_mandir/man1/condor_config_val.1.gz
e8dbbab
%_mandir/man1/condor_dagman.1.gz
e8dbbab
%_mandir/man1/condor_fetchlog.1.gz
e052536
%_mandir/man1/condor_findhost.1.gz
e052536
%_mandir/man1/condor_history.1.gz
e052536
%_mandir/man1/condor_hold.1.gz
e8dbbab
%_mandir/man1/condor_load_history.1.gz
e052536
%_mandir/man1/condor_master.1.gz
e052536
%_mandir/man1/condor_off.1.gz
e052536
%_mandir/man1/condor_on.1.gz
e052536
%_mandir/man1/condor_preen.1.gz
e052536
%_mandir/man1/condor_prio.1.gz
e052536
%_mandir/man1/condor_q.1.gz
e052536
%_mandir/man1/condor_qedit.1.gz
e052536
%_mandir/man1/condor_reconfig.1.gz
e052536
%_mandir/man1/condor_release.1.gz
e052536
%_mandir/man1/condor_reschedule.1.gz
e052536
%_mandir/man1/condor_restart.1.gz
e052536
%_mandir/man1/condor_rm.1.gz
e052536
%_mandir/man1/condor_run.1.gz
e052536
%_mandir/man1/condor_stats.1.gz
e052536
%_mandir/man1/condor_status.1.gz
e052536
%_mandir/man1/condor_store_cred.1.gz
e052536
%_mandir/man1/condor_submit.1.gz
e052536
%_mandir/man1/condor_submit_dag.1.gz
e8dbbab
%_mandir/man1/condor_transfer_data.1.gz
e052536
%_mandir/man1/condor_updates_stats.1.gz
e052536
%_mandir/man1/condor_userlog.1.gz
e052536
%_mandir/man1/condor_userprio.1.gz
e052536
%_mandir/man1/condor_vacate.1.gz
e052536
%_mandir/man1/condor_vacate_job.1.gz
e8dbbab
%_mandir/man1/condor_version.1.gz
e8dbbab
%_mandir/man1/condor_wait.1.gz
e052536
# bin/condor is a link for checkpoint, reschedule, vacate
e052536
%_bindir/condor
e052536
%_bindir/condor_load_history
e052536
%_bindir/condor_submit_dag
e052536
%_bindir/condor_prio
e052536
%_bindir/condor_transfer_data
e052536
%_bindir/condor_check_userlogs
e052536
%_bindir/condor_q
fdd9e11
%_sbindir/condor_transferer
e052536
%_bindir/condor_cod
e052536
%_bindir/condor_qedit
e052536
%_bindir/condor_userlog
e052536
%_bindir/condor_release
e052536
%_bindir/condor_userlog_job_counter
e052536
%_bindir/condor_config_val
e052536
%_bindir/condor_reschedule
e052536
%_bindir/condor_userprio
e052536
%_bindir/condor_dagman
e052536
%_bindir/condor_rm
e052536
%_bindir/condor_vacate
e052536
%_bindir/condor_dump_history
e052536
%_bindir/condor_run
3e1318f
%_bindir/condor_router_history
3e1318f
%_bindir/condor_router_q
3e1318f
%_bindir/condor_router_rm
e052536
%_bindir/condor_vacate_job
e052536
%_bindir/condor_findhost
e052536
%_bindir/condor_stats
e052536
%_bindir/condor_version
e052536
%_bindir/condor_history
e052536
%_bindir/condor_status
e052536
%_bindir/condor_wait
e052536
%_bindir/condor_hold
e052536
%_bindir/condor_submit
6af3611
%_bindir/condor_ssh_to_job
e052536
# sbin/condor is a link for master_off, off, on, reconfig,
e052536
# reconfig_schedd, restart
e052536
%_sbindir/condor_advertise
e052536
%_sbindir/condor_c-gahp
e052536
%_sbindir/condor_c-gahp_worker_thread
e052536
%_sbindir/condor_collector
e052536
%_sbindir/condor_dbmsd
e052536
%_sbindir/condor_fetchlog
e052536
%_sbindir/condor_had
e052536
%_sbindir/condor_init
e052536
%_sbindir/condor_master
e052536
%_sbindir/condor_negotiator
e052536
%_sbindir/condor_off
e052536
%_sbindir/condor_on
e052536
%_sbindir/condor_preen
e052536
%_sbindir/condor_procd
e052536
%_sbindir/condor_quill
e052536
%_sbindir/condor_reconfig
e052536
%_sbindir/condor_replication
e052536
%_sbindir/condor_restart
e052536
%_sbindir/condor_root_switchboard
e052536
%_sbindir/condor_schedd
e052536
%_sbindir/condor_shadow
e052536
%_sbindir/condor_startd
e052536
%_sbindir/condor_starter
e052536
%_sbindir/condor_store_cred
e052536
%_sbindir/condor_transferd
e052536
%_sbindir/condor_updates_stats
3e1318f
%_sbindir/amazon_gahp
e8dbbab
%_sbindir/condor_gridmanager
e052536
%config(noreplace) %_var/lib/condor/condor_config.local
e052536
%defattr(-,condor,condor,-)
e052536
%dir %_var/lib/condor/
e052536
%dir %_var/lib/condor/execute/
8cdc802
%dir %_var/log/condor/
e052536
%dir %_var/lib/condor/spool/
8cdc802
%dir %_var/lock/condor/
8cdc802
%dir %_var/run/condor/
e052536
e052536
3e1318f
#%files static
3e1318f
#%defattr(-,root,root,-)
3e1318f
#%doc LICENSE-2.0.txt
3e1318f
#%_libdir/libcondorapi.a
3e1318f
#%dir %_includedir/condor/
3e1318f
#%_includedir/condor/condor_constants.h
3e1318f
#%_includedir/condor/condor_event.h
3e1318f
#%_includedir/condor/condor_holdcodes.h
3e1318f
#%_includedir/condor/file_lock.h
3e1318f
#%_includedir/condor/user_log.c++.h
3e1318f
#%doc %_includedir/condor/user_log.README
3e1318f
#%dir %_usrsrc/chirp/
3e1318f
#%_usrsrc/chirp/chirp_client.c
3e1318f
#%_usrsrc/chirp/chirp_client.h
3e1318f
#%_usrsrc/chirp/chirp_protocol.h
3e1318f
3e1318f
3e1318f
%files kbdd
e052536
%defattr(-,root,root,-)
3e1318f
%doc LICENSE-2.0.txt NOTICE.txt
3e1318f
%_sbindir/condor_kbdd
e052536
e052536
6af3611
%files vm-gahp
6af3611
%defattr(-,root,root,-)
6af3611
%doc LICENSE-2.0.txt NOTICE.txt
6af3611
%_sbindir/condor_vm-gahp
6af3611
%_sbindir/condor_vm_vmware.pl
6af3611
%_sbindir/condor_vm_xen.sh
6af3611
%_libexecdir/condor/libvirt_simple_script.awk
6af3611
6af3611
e052536
%post -n condor
e052536
/sbin/chkconfig --add condor
e052536
/sbin/ldconfig
3e1318f
test -x /usr/sbin/selinuxenabled && /usr/sbin/selinuxenabled
3e1318f
if [ $? = 0 ]; then
6af3611
   semanage fcontext -a -t unconfined_execmem_exec_t %_sbindir/condor_startd
3e1318f
   restorecon  %_sbindir/condor_startd
3e1318f
fi
e052536
e052536
e052536
%preun -n condor
e052536
if [ $1 = 0 ]; then
e052536
  /sbin/service condor stop >/dev/null 2>&1 || :
e052536
  /sbin/chkconfig --del condor
e052536
fi
e052536
e052536
e052536
%postun -n condor
e052536
if [ "$1" -ge "1" ]; then
e052536
  /sbin/service condor condrestart >/dev/null 2>&1 || :
e052536
fi
e052536
/sbin/ldconfig
e052536
e052536
e052536
%changelog
6af3611
* Tue Jan  5 2010  <matt@redhat> - 7.4.1-1
6af3611
- Upgrade to 7.4.1 release
6af3611
- Security update (BZ549577)
6af3611
- Removed NOTICE.txt source, now provided by upstream
6af3611
- Removed no_rpmdb_query.patch, applied upstream
6af3611
- Removed no_basename.patch, applied upstream
6af3611
- Added only_dynamic_unstripped.patch to reduce build time
6af3611
- Use new --with-platform, to avoid modification of make_final_tarballs
6af3611
- Introduced vm-gahp package to hold libvirt deps
6af3611
a54d67d
* Fri Aug 28 2009  <matt@redhat> - 7.2.4-1
a54d67d
- Upgrade to 7.2.4 release
a54d67d
559b3db
* Fri May 22 2009  <matt@redhat> - 7.2.3-2
559b3db
- Updated for new log, lock, run locations (BZ502175)
559b3db
- Filtered out innocuous semanage message
559b3db
360d6a9
* Wed May 20 2009  <matt@redhat> - 7.2.3-1
559b3db
- Upgraded to 7.2.3 release (BZ501692)
360d6a9
47ebb3c
* Mon Feb 25 2009  <matt@redhat> - 7.2.1-1
a43d2c6
- Upgraded to 7.2.1 release
a43d2c6
- Pruned changes accepted upstream from condor_config.generic.patch
a43d2c6
- Removed Requires in favor of automatic dependencies on SONAMEs
a43d2c6
- Added no_rmpdb_query.patch to avoid rpm -q during a build
d6fdb83
579619e
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.2.0-5
579619e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
579619e
579619e
* Thu Jan 15 2009 Tomas Mraz <tmraz@redhat.com> - 7.2.0-4
579619e
- rebuild with new openssl
579619e
a43d2c6
* Mon Jan 14 2009  <matt@redhat> - 7.2.0-3
893fef1
- Fixed regression: initscript was on by default, now off again
893fef1
627bc41
* Thu Jan  8 2009  <matt@redhat> - 7.2.0-2
627bc41
- (Re)added CONDOR_DEVELOPERS=NONE to the default condor_config.local
627bc41
- Added missing Obsoletes for condor-static (thanks Michael Schwendt)
627bc41
3e1318f
* Wed Jan  7 2009  <matt@redhat> - 7.2.0-1
3e1318f
- Upgraded to 7.2.0 release
3e1318f
- Removed -static package
3e1318f
- Added Fedora specific buildid
3e1318f
- Enabled KBDD, daemon to monitor X usage on systems with only USB devs
3e1318f
- Updated install process
3e1318f
671b3f3
* Wed Oct  8 2008  <matt@redhat> - 7.0.5-1
671b3f3
- Rebased on 7.0.5, security update
671b3f3
e8dbbab
* Wed Aug  6 2008  <mfarrellee@redhat> - 7.0.4-1
e8dbbab
- Updated to 7.0.4 source
e8dbbab
- Stopped using condor_configure in install step
e8dbbab
e8dbbab
* Tue Jun 10 2008  <mfarrellee@redhat> - 7.0.2-1
e8dbbab
- Updated to 7.0.2 source
e8dbbab
- Updated config, specifically HOSTALLOW_WRITE, for Personal Condor setup
e8dbbab
- Added condor_config.generic
e8dbbab
d882f97
* Mon Apr  7 2008  <mfarrellee@redhat> - 7.0.0-8
d882f97
- Modified init script to be off by default, resolves bz441279
d882f97
6094047
* Fri Apr  4 2008  <mfarrellee@redhat> - 7.0.0-7
6094047
- Updated to handle changes in gsoap dependency
6094047
e052536
* Mon Feb 11 2008  <mfarrellee@redhat> - 7.0.0-6
e052536
- Added note about how to download the source
e052536
- Added generate-tarball.sh script
e052536
e052536
* Sun Feb 10 2008  <mfarrellee@redhat> - 7.0.0-5
e052536
- The gsoap package is compiled with --disable-namespaces, which means
e052536
  soap_set_namespaces is required after each soap_init. The
e052536
  gsoap_nonamespaces.patch handles this.
e052536
e052536
* Fri Feb  8 2008  <mfarrellee@redhat> - 7.0.0-4
e052536
- Added patch to detect GCC 4.3.0 on F9
e052536
- Added patch to detect GLIBC 2.7.90 on F9
e052536
- Added BuildRequires: autoconf to allow for regeneration of configure
e052536
  script after GCC 4.3.0 detection and GLIBC 2.7.90 patches are
e052536
  applied
e052536
- Condor + GCC 4.3.0 + -O2 results in an internal compiler error
e052536
  (BZ 432090), so -O2 is removed from optflags for the time
e052536
  being. Thanks to Mike Bonnet for the suggestion on how to filter
e052536
  -O2.
e052536
e052536
* Tue Jan 22 2008  <mfarrellee@redhat> - 7.0.0-3
e052536
- Update to UW's really-final source for Condor 7.0.0 stable series
e052536
  release. It is based on the 72173 build with minor changes to the
e052536
  configure.ac related to the SRB external version.
e052536
- In addition to removing externals from the UW tarball, the NTconfig
e052536
  directory was removed because it had not gone through IP audit.
e052536
e052536
* Tue Jan 22 2008  <mfarrellee@redhat> - 7.0.0-2
e052536
- Update to UW's final source for Condor 7.0.0 stable series release
e052536
e052536
* Thu Jan 10 2008  <mfarrellee@redhat> - 7.0.0-1
e052536
- Initial package of Condor's stable series under ASL 2.0
e052536
- is_clipped.patch replaced with --without-full-port option to configure
e052536
- zlib_is_soft.patch removed, outdated by configure.ac changes
e052536
- removed autoconf dependency needed for zlib_is_soft.patch
e052536
e052536
* Tue Dec  4 2007  <mfarrellee@redhat> - 6.9.5-2
e052536
- SELinux was stopping useradd in pre because files specified root as
e052536
  the group owner for /var/lib/condor, fixed, much thanks to Phil Knirsch
e052536
e052536
* Fri Nov 30 2007  <mfarrellee@redhat> - 6.9.5-1
e052536
- Fixed release tag
e052536
- Added gSOAP support and packaged WSDL files
e052536
e052536
* Thu Nov 29 2007  <mfarrellee@redhat> - 6.9.5-0.2
e052536
- Packaged LSB init script
e052536
- Changed pre to not create the condor user's home directory, it is
e052536
  now a directory owned by the package
e052536
e052536
* Thu Nov 29 2007  <mfarrellee@redhat> - 6.9.5-0.1
e052536
- Condor 6.9.5 release, the 7.0.0 stable series candidate
e052536
- Removed x86_64_no_multilib-200711091700cvs.patch, merged upstream
e052536
- Added patch to make zlib a soft requirement, which it should be
e052536
- Disabled use of smp_mflags because of make dependency issues
e052536
- Explicitly not packaging WSDL files until the SOAP APIs are available
e052536
e052536
* Tue Nov 20 2007  <mfarrellee@redhat> - 6.9.5-0.3.200711091700cvs
e052536
- Rebuild for repo inheritance update: dependencies are now pulled
e052536
  from RHEL 5 U1 before RH Application Stack
e052536
e052536
* Thu Nov 15 2007 <mfarrellee@redhat> - 6.9.5-0.2.200711091700cvs
e052536
- Added support for building on x86_64 without multilib packages
e052536
- Made the install section more flexible, reduced need for
e052536
  make_final_tarballs to be updated
e052536
e052536
* Fri Nov 9 2007 <mfarrellee@redhat> - 6.9.5-0.1.200711091700cvs
e052536
- Working source with new ASL 2.0 license
e052536
e052536
* Fri Nov 9 2007 <mfarrellee@redhat> - 6.9.5-0.1.200711091330cvs
e052536
- Source is now stamped ASL 2.0, as of Nov 9 2007 1:30PM Central
e052536
- Changed license to ASL 2.0
e052536
- Fixed find in prep to work if no files have bad permissions
e052536
- Changed the name of the LICENSE file to match was is now release in
e052536
  the source tarball
e052536
e052536
* Tue Nov 6 2007  <mfarrellee@redhat> - 6.9.5-0.1.rc
e052536
- Added m4 dependency not in RHEL 5.1's base
e052536
- Changed chmod a-x script to use find as more files appear to have
e052536
  improper execute bits set
e052536
- Added ?dist to Release:
e052536
- condor_privsep became condor_root_switchboard
e052536
e052536
* Tue Sep 11 2007  <mfarrellee@redhat> - 6.9.5-0.3.20070907cvs
e052536
- Instead of releasing libcondorapi.so, which is improperly created
e052536
  and poorly versioned, we release libcondorapi.a, which is apparently
e052536
  more widely used, in a -static package
e052536
- Instead of installing the stripped tarball, the unstripped is now
e052536
  installed, which gives a nice debuginfo package
e052536
- Found and fixed permissions problems on a number of src files,
e052536
  issue raised by rpmlint on the debuginfo package
e052536
e052536
* Mon Sep 10 2007  <mfarrellee@redhat> - 6.9.5-0.2.20070907cvs
e052536
- Updated pre section to create condor's home directory with adduser, and
e052536
  removed _var/lib/condor from files section
e052536
- Added doc LICENSE.TXT to all files sections
e052536
- Shortened lines longer than 80 characters in this spec (except the sed line)
e052536
- Changed install section so untar'ing a release can handle fedora7 or fedora8
e052536
- Simplified the site.def and config file updates (sed + mv over mv + sed + rm)
e052536
- Added a patch (fedora_rawhide_7.91-20070907cvs.patch) to support building on
e052536
  a fedora 7.91 (current Rawhide) release
e052536
- Moved the examples from /usr/share/doc/condor... into builddir and just
e052536
  marked them as documentation
e052536
- Added a number of dir directives to force all files to be listed, no implicit
e052536
  inclusion
e052536
e052536
* Fri Sep  7 2007  <mfarrellee@redhat> - 6.9.5-0.1.20070907cvs
e052536
- Initial release