yselkowitz / rpms / condor

Forked from rpms/condor 6 years ago
Clone
e052536
Summary: Condor: High Throughput Computing
e052536
Name: condor
Matthew Farrellee 78c4620
Version: 7.5.5
81d4d96
Release: 2%{?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
1455b29
#   6d9b0ef74d575623af11e396fa274174  condor_src-7.2.4-all-all.tar.gz
5c1920c
#   ee72b65fad02d21af0dc8f1aa5872110  condor_src-7.4.0-all-all.tar.gz
5c1920c
#   d4deeabbbce65980c085d8bea4c1018a  condor_src-7.4.1-all-all.tar.gz
5c1920c
#   4714086f58942b78cf03fef9ccb1117c  condor_src-7.4.2-all-all.tar.gz
Matthew Farrellee d35d9f3
#   2b7e7687cba85d0cf0774f9126b51779  condor_src-7.4.3-all-all.tar.gz
Matthew Farrellee d35d9f3
#   108a4b91cd10deca1554ca1088be6c8c  condor_src-7.4.4-all-all.tar.gz
Matthew Farrellee 78c4620
#   b482c4bfa350164427a1952113d53d03  condor_src-7.5.5-all-all.tar.gz
e052536
# Note: The md5sum of each generated tarball may be different
Matthew Farrellee 78c4620
Source0: condor-7.5.5-308936-RH.tar.gz
e052536
Source1: generate-tarball.sh
e8dbbab
Patch0: condor_config.generic.patch
893fef1
Patch3: chkconfig_off.patch
f99aae8
Patch6: log_lock_run.patch
6094047
e052536
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
e052536
Matthew Farrellee 78c4620
BuildRequires: cmake
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
5c1920c
BuildRequires: libvirt-devel
e052536
BuildRequires: bind-utils
e052536
BuildRequires: m4
e052536
BuildRequires: autoconf
3e1318f
BuildRequires: libX11-devel
e052536
5c1920c
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
5c1920c
%package vm-gahp
5c1920c
Summary: Condor's VM Gahp
5c1920c
Group: Applications/System
5c1920c
Requires: %name = %version-%release
5c1920c
5c1920c
%description vm-gahp
5c1920c
The condor_vm-gahp enables the Virtual Machine Universe feature of
5c1920c
Condor. The VM Universe uses libvirt to start and control VMs under
5c1920c
Condor's Startd.
5c1920c
5c1920c
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
893fef1
%patch3 -p1
f99aae8
%patch6 -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
Matthew Farrellee 5cd8875
%cmake
Matthew Farrellee 78c4620
make %{?_smp_mflags}
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}
Matthew Farrellee 78c4620
make install DESTDIR=%{buildroot}
e052536
Matthew Farrellee 78c4620
# The install target puts etc/ under usr/, let's fix that.
Matthew Farrellee 78c4620
mv %{buildroot}/usr/etc %{buildroot}/%{_sysconfdir}
e8dbbab
Matthew Farrellee 78c4620
# It is proper to put Condor specific libexec binaries under libexec/condor/
Matthew Farrellee 78c4620
populate %_libexecdir/condor %{buildroot}/usr/libexec/*
e8dbbab
Matthew Farrellee 78c4620
# man pages go under %{_mandir}
Matthew Farrellee 78c4620
mkdir -p %{buildroot}/%{_mandir}
Matthew Farrellee 78c4620
mv %{buildroot}/usr/man/man1 %{buildroot}/%{_mandir}
e8dbbab
Matthew Farrellee 78c4620
# Things in /usr/lib really belong in /usr/share/condor
Matthew Farrellee 78c4620
mv %{buildroot}/usr/lib %{buildroot}/%{_datarootdir}/condor
e8dbbab
Matthew Farrellee 78c4620
mkdir -p %{buildroot}/%{_sysconfdir}/condor
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:" \
Matthew Farrellee 78c4620
  %{buildroot}/etc/examples/condor_config.generic \
Matthew Farrellee 78c4620
  > %{buildroot}/%{_sysconfdir}/condor/condor_config
3e1318f
Matthew Farrellee 78c4620
mkdir -p -m0755 %{buildroot}/%{_var}/run/condor
Matthew Farrellee 78c4620
mkdir -p -m0755 %{buildroot}/%{_var}/log/condor
Matthew Farrellee 78c4620
mkdir -p -m0755 %{buildroot}/%{_var}/lock/condor
Matthew Farrellee 78c4620
mkdir -p -m0755 %{buildroot}/%{_sharedstatedir}/condor/spool
Matthew Farrellee 78c4620
mkdir -p -m1777 %{buildroot}/%{_sharedstatedir}/condor/execute
3e1318f
Matthew Farrellee 78c4620
cat >> %{buildroot}/%{_sharedstatedir}/condor/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
Matthew Farrellee 78c4620
echo "TRUST_UID_DOMAIN = TRUE" >> %{buildroot}/%{_sharedstatedir}/condor/condor_config.local
e052536
e052536
# used by BLAHP, which is not packaged
Matthew Farrellee 78c4620
rm -r %{buildroot}/%{_libexecdir}/condor/glite
Matthew Farrellee 78c4620
rm -r %{buildroot}/%{_datarootdir}/condor/glite
e052536
# used by old MPI universe, not packaged (it's rsh, it should die)
Matthew Farrellee 78c4620
rm %{buildroot}/%{_libexecdir}/condor/rsh
e052536
# this is distributed as chirp_client.c/h and chirp_protocol.h in %_usrsrc
Matthew Farrellee 78c4620
rm %{buildroot}/%{_datarootdir}/condor/libchirp_client.a
Matthew Farrellee 78c4620
# which we're not distributing atm either
Matthew Farrellee 78c4620
rm -r %{buildroot}/%{_usrsrc}/chirp
3e1318f
3e1318f
# not packaging the condor_startd_factory right now
Matthew Farrellee 78c4620
rm %{buildroot}/%{_sbindir}/condor_startd_factory
Matthew Farrellee 78c4620
rm -r %{buildroot}/%{_usrsrc}/startd_factory
Matthew Farrellee 78c4620
rm %{buildroot}/%{_libexecdir}/condor/bgp_available_partitions
Matthew Farrellee 78c4620
rm %{buildroot}/%{_libexecdir}/condor/bgp_back_partition
Matthew Farrellee 78c4620
rm %{buildroot}/%{_libexecdir}/condor/bgp_boot_partition
Matthew Farrellee 78c4620
rm %{buildroot}/%{_libexecdir}/condor/bgp_destroy_partition
Matthew Farrellee 78c4620
rm %{buildroot}/%{_libexecdir}/condor/bgp_generate_partition
Matthew Farrellee 78c4620
rm %{buildroot}/%{_libexecdir}/condor/bgp_query_work_loads
Matthew Farrellee 78c4620
rm %{buildroot}/%{_libexecdir}/condor/bgp_shutdown_partition
3e1318f
3e1318f
# not packaging glexec support right now
Matthew Farrellee 78c4620
rm %{buildroot}/%{_libexecdir}/condor/condor_glexec_cleanup
Matthew Farrellee 78c4620
rm %{buildroot}/%{_libexecdir}/condor/condor_glexec_job_wrapper
Matthew Farrellee 78c4620
rm %{buildroot}/%{_libexecdir}/condor/condor_glexec_kill
Matthew Farrellee 78c4620
rm %{buildroot}/%{_libexecdir}/condor/condor_glexec_run
Matthew Farrellee 78c4620
rm %{buildroot}/%{_libexecdir}/condor/condor_glexec_setup
3e1318f
3e1318f
# not going to package the sc2005 negotiator
Matthew Farrellee 78c4620
rm %{buildroot}/%{_sbindir}/condor_lease_manager
3e1318f
Matthew Farrellee 78c4620
# no master shutdown program for now
Matthew Farrellee 78c4620
rm %{buildroot}/%{_sbindir}/condor_set_shutdown
Matthew Farrellee 78c4620
rm %{buildroot}/%{_mandir}/man1/condor_set_shutdown.1.gz
3e1318f
3e1318f
# not packaging glidein support, depends on globus
Matthew Farrellee 78c4620
rm %{buildroot}/%{_mandir}/man1/condor_glidein.1.gz
Matthew Farrellee 78c4620
rm %{buildroot}/%{_bindir}/condor_glidein
3e1318f
3e1318f
# not packaging deployment tools
3e1318f
# sbin/uniq_pid_command is a link for uniq_pid_midwife/undertaker
Matthew Farrellee 78c4620
rm %{buildroot}/%{_sbindir}/uniq_pid_command
Matthew Farrellee 78c4620
rm %{buildroot}/%{_sbindir}/uniq_pid_midwife
Matthew Farrellee 78c4620
rm %{buildroot}/%{_sbindir}/uniq_pid_undertaker
Matthew Farrellee 78c4620
rm %{buildroot}/%{_sbindir}/cleanup_release
Matthew Farrellee 78c4620
rm %{buildroot}/%{_sbindir}/condor_local_stop
Matthew Farrellee 78c4620
rm %{buildroot}/%{_sbindir}/condor_cleanup_local
Matthew Farrellee 78c4620
rm %{buildroot}/%{_sbindir}/condor_cold_start
Matthew Farrellee 78c4620
rm %{buildroot}/%{_sbindir}/condor_cold_stop
Matthew Farrellee 78c4620
rm %{buildroot}/%{_sbindir}/condor_config_bind
Matthew Farrellee 78c4620
rm %{buildroot}/%{_sbindir}/filelock_midwife
Matthew Farrellee 78c4620
rm %{buildroot}/%{_sbindir}/filelock_undertaker
Matthew Farrellee 78c4620
rm %{buildroot}/%{_sbindir}/condor_install_local
Matthew Farrellee 78c4620
rm %{buildroot}/%{_sbindir}/condor_local_start
Matthew Farrellee 78c4620
rm %{buildroot}/%{_sbindir}/install_release
Matthew Farrellee 78c4620
rm %{buildroot}/%{_datarootdir}/condor/Execute.pm
Matthew Farrellee 78c4620
rm %{buildroot}/%{_datarootdir}/condor/FileLock.pm
Matthew Farrellee 78c4620
rm %{buildroot}/%{_mandir}/man1/condor_config_bind.1.gz
Matthew Farrellee 78c4620
rm %{buildroot}/%{_mandir}/man1/condor_cold_start.1.gz
Matthew Farrellee 78c4620
rm %{buildroot}/%{_mandir}/man1/condor_cold_stop.1.gz
Matthew Farrellee 78c4620
rm %{buildroot}/%{_mandir}/man1/uniq_pid_midwife.1.gz
Matthew Farrellee 78c4620
rm %{buildroot}/%{_mandir}/man1/uniq_pid_undertaker.1.gz
Matthew Farrellee 78c4620
rm %{buildroot}/%{_mandir}/man1/filelock_midwife.1.gz
Matthew Farrellee 78c4620
rm %{buildroot}/%{_mandir}/man1/filelock_undertaker.1.gz
Matthew Farrellee 78c4620
rm %{buildroot}/%{_mandir}/man1/install_release.1.gz
Matthew Farrellee 78c4620
rm %{buildroot}/%{_mandir}/man1/cleanup_release.1.gz
3e1318f
3e1318f
# not packaging standard universe
Matthew Farrellee 78c4620
rm %{buildroot}/%{_mandir}/man1/condor_compile.1.gz
Matthew Farrellee 78c4620
rm %{buildroot}/%{_mandir}/man1/condor_checkpoint.1.gz
Matthew Farrellee 78c4620
rm -r %{buildroot}/usr/examples
3e1318f
3e1318f
# not packaging configure/install scripts
Matthew Farrellee 78c4620
rm %{buildroot}/%{_mandir}/man1/condor_configure.1.gz
Matthew Farrellee 78c4620
rm %{buildroot}/%{_sbindir}/condor_configure
Matthew Farrellee 78c4620
rm %{buildroot}/%{_sbindir}/condor_install
3e1318f
3e1318f
# not packaging legacy cruft
Matthew Farrellee 78c4620
rm %{buildroot}/%{_mandir}/man1/condor_master_off.1.gz
Matthew Farrellee 78c4620
rm %{buildroot}/%{_sbindir}/condor_master_off
Matthew Farrellee 78c4620
rm %{buildroot}/%{_mandir}/man1/condor_reconfig_schedd.1.gz
Matthew Farrellee 78c4620
rm %{buildroot}/%{_sbindir}/condor_reconfig_schedd
Matthew Farrellee 78c4620
rm %{buildroot}/%{_mandir}/man1/condor_convert_history.1.gz
3e1318f
3e1318f
# not packaging anything globus related
Matthew Farrellee 78c4620
rm %{buildroot}/%{_sbindir}/condor_gridshell
Matthew Farrellee 78c4620
rm %{buildroot}/%{_sbindir}/grid_monitor.sh
Matthew Farrellee 78c4620
rm %{buildroot}/%{_sbindir}/gt4_gahp
Matthew Farrellee 78c4620
rm %{buildroot}/%{_sbindir}/gt42_gahp
3e1318f
3e1318f
# not packaging unsupported gahps
Matthew Farrellee 78c4620
rm %{buildroot}/%{_sbindir}/unicore_gahp
3e1318f
3e1318f
# not packaging libcondorapi.a
Matthew Farrellee 78c4620
rm %{buildroot}/%{_datarootdir}/condor/libcondorapi.a
Matthew Farrellee 78c4620
Matthew Farrellee 78c4620
# not packaging quill bits
Matthew Farrellee 78c4620
rm %{buildroot}/%{_mandir}/man1/condor_load_history.1.gz
Matthew Farrellee 78c4620
Matthew Farrellee 78c4620
# Remove junk
Matthew Farrellee 78c4620
rm -r %{buildroot}/%{_sysconfdir}/sysconfig
Matthew Farrellee 78c4620
rm -r %{buildroot}/%{_sysconfdir}/init.d
Matthew Farrellee 78c4620
rm %{buildroot}/usr/DOC
Matthew Farrellee 78c4620
rm %{buildroot}/usr/INSTALL
Matthew Farrellee 78c4620
rm %{buildroot}/usr/LICENSE-2.0.txt
Matthew Farrellee 78c4620
rm %{buildroot}/usr/README
Matthew Farrellee 78c4620
# No libs, no headers!
Matthew Farrellee 78c4620
rm -r %{buildroot}/usr/include
3e1318f
e052536
# install the lsb init script
Matthew Farrellee 78c4620
install -Dp -m0755 %{buildroot}/etc/examples/condor.init %buildroot/%_initrddir/condor
e052536
e052536
# we must place the config examples in builddir so %doc can find them
Matthew Farrellee 78c4620
mv %{buildroot}/etc/examples %_builddir/%name-%version
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
5c1920c
%_datadir/condor/condor_ssh_to_job_sshd_config_template
e052536
%dir %_datadir/condor/webservice/
e052536
%_datadir/condor/webservice/condorCollector.wsdl
e052536
%_datadir/condor/webservice/condorSchedd.wsdl
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
5c1920c
%_libexecdir/condor/condor_glexec_update_proxy
5c1920c
%_libexecdir/condor/condor_limits_wrapper.sh
5c1920c
%_libexecdir/condor/condor_rooster
5c1920c
%_libexecdir/condor/condor_ssh_to_job_shell_setup
5c1920c
%_libexecdir/condor/condor_ssh_to_job_sshd_setup
5c1920c
%_libexecdir/condor/power_state
Matthew Farrellee 78c4620
%_libexecdir/condor/condor_shared_port
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
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
Matthew Farrellee 78c4620
%_mandir/man1/condor_router_history.1.gz
Matthew Farrellee 78c4620
%_mandir/man1/condor_router_q.1.gz
Matthew Farrellee 78c4620
%_mandir/man1/condor_ssh_to_job.1.gz
Matthew Farrellee 78c4620
%_mandir/man1/condor_power.1.gz
e052536
# bin/condor is a link for checkpoint, reschedule, vacate
e052536
%_bindir/condor
e052536
%_bindir/condor_submit_dag
e052536
%_bindir/condor_prio
e052536
%_bindir/condor_transfer_data
e052536
%_bindir/condor_check_userlogs
e052536
%_bindir/condor_q
Matthew Farrellee 78c4620
%_libexecdir/condor/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_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
5c1920c
%_bindir/condor_ssh_to_job
Matthew Farrellee 78c4620
%_bindir/condor_power
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_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_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
Matthew Farrellee 78c4620
%_sbindir/condor_credd
e052536
%config(noreplace) %_var/lib/condor/condor_config.local
e052536
%defattr(-,condor,condor,-)
e052536
%dir %_var/lib/condor/
e052536
%dir %_var/lib/condor/execute/
f99aae8
%dir %_var/log/condor/
e052536
%dir %_var/lib/condor/spool/
f99aae8
%dir %_var/lock/condor/
f99aae8
%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
5c1920c
%files vm-gahp
5c1920c
%defattr(-,root,root,-)
5c1920c
%doc LICENSE-2.0.txt NOTICE.txt
5c1920c
%_sbindir/condor_vm-gahp
5c1920c
%_sbindir/condor_vm_vmware.pl
5c1920c
%_sbindir/condor_vm_xen.sh
5c1920c
%_libexecdir/condor/libvirt_simple_script.awk
5c1920c
5c1920c
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
5c1920c
   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
81d4d96
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.5.5-2
81d4d96
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
81d4d96
Matthew Farrellee 78c4620
* Thu Jan 27 2011 <matt@redhat> - 7.5.5-1
Matthew Farrellee 78c4620
- Rebase to 7.5.5 release
Matthew Farrellee 78c4620
-  configure+imake -> cmake
Matthew Farrellee 78c4620
-  Removed patches:
Matthew Farrellee 78c4620
-   only_dynamic_unstripped.patch
Matthew Farrellee 78c4620
-   gsoap-2.7.16-wsseapi.patch
Matthew Farrellee 78c4620
-   gsoap-2.7.16-dom.patch
Matthew Farrellee 78c4620
-  man pages are now built with source
Matthew Farrellee 78c4620
-  quill is no longer present
Matthew Farrellee 78c4620
-  condor_shared_port added
Matthew Farrellee 78c4620
-  condor_power added
Matthew Farrellee 78c4620
-  condor_credd added
Matthew Farrellee 78c4620
-  classads now built from source
Matthew Farrellee 78c4620
Matthew Farrellee d35d9f3
* Thu Jan 13 2011 <matt@redhat> - 7.4.4-1
Matthew Farrellee d35d9f3
- Upgrade to 7.4.4 release
Matthew Farrellee d35d9f3
- Upstreamed: stdsoap2.h.patch.patch
Matthew Farrellee d35d9f3
Matthew Farrellee d35d9f3
* Mon Aug 23 2010  <matt@redhat> - 7.4.3-1
Matthew Farrellee d35d9f3
- Upgrade to 7.4.3 release
Matthew Farrellee d35d9f3
- Upstreamed: dso_link_change
Matthew Farrellee d35d9f3
2aed700
* Fri Jun 11 2010  <matt@redhat> - 7.4.2-2
2aed700
- Rebuild for classads DSO version change (1:0:0)
2aed700
- Updated stdsoap2.h.patch.patch for gsoap 2.7.16
2aed700
- Added gsoap-2.7.16-wsseapi/dom.patch for gsoap 2.7.16
2aed700
5c1920c
* Wed Apr 21 2010  <matt@redhat> - 7.4.2-1
5c1920c
- Upgrade to 7.4.2 release
5c1920c
5c1920c
* Tue Jan  5 2010  <matt@redhat> - 7.4.1-1
5c1920c
- Upgrade to 7.4.1 release
5c1920c
- Upstreamed: guess_version_from_release_dir, fix_platform_check
5c1920c
- Security update (BZ549577)
5c1920c
5c1920c
* Fri Dec  4 2009  <matt@redhat> - 7.4.0-1
5c1920c
- Upgrade to 7.4.0 release
5c1920c
- Fixed POSTIN error (BZ540439)
5c1920c
- Removed NOTICE.txt source, now provided by upstream
5c1920c
- Removed no_rpmdb_query.patch, applied upstream
5c1920c
- Removed no_basename.patch, applied upstream
5c1920c
- Added only_dynamic_unstripped.patch to reduce build time
5c1920c
- Added guess_version_from_release_dir.patch, for previous
5c1920c
- Added fix_platform_check.patch
5c1920c
- Use new --with-platform, to avoid modification of make_final_tarballs
5c1920c
- Introduced vm-gahp package to hold libvirt deps
5c1920c
1455b29
* Fri Aug 28 2009  <matt@redhat> - 7.2.4-1
1455b29
- Upgrade to 7.2.4 release
9c2691f
- Removed gcc44_const.patch, accepted upstream
f99aae8
- New log, lock, run locations (BZ502175)
f99aae8
- Filtered innocuous semanage message
1455b29
5aefd3e
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 7.2.1-3
5aefd3e
- rebuilt with new openssl
5aefd3e
a0035f2
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.2.1-2
a0035f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
a0035f2
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