Skip to content
Snippets Groups Projects
arc.spec.in 23.9 KiB
Newer Older
  • Learn to ignore specific revisions
  • %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
    
    
    Anders Waananen's avatar
    Anders Waananen committed
    %global with_lfc %{?_with_lfc:1}%{!?_with_lfc:0}
    
    %global with_java %{!?_without_java:1}%{?_without_java:0}
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %global with_gcj %{!?_without_gcj:1}%{?_without_gcj:0}
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    
    
    Anders Waananen's avatar
    Anders Waananen committed
    %global pkgdir @PACKAGE@
    
    Name: nordugrid-arc-nox
    
    Version: @VERSION@
    Release: 1%{?dist}
    Summary: ARC
    
    Group: System Environment/Daemons
    
    URL: http://www.nordugrid.org/
    
    Source: %{name}-%{version}.tar.gz
    
    BuildRoot:%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
    
    Provides: nordugrid-arc1 = %{version}
    Obsoletes: nordugrid-arc1 < 1.0.0
    
    Anders Waananen's avatar
    Anders Waananen committed
    BuildRequires: cppunit-devel
    
    Anders Waananen's avatar
    Anders Waananen committed
    BuildRequires: pkgconfig
    
    %if %{?fedora}%{!?fedora:0} >= 12 || %{?rhel}%{!?rhel:0} >= 6
    BuildRequires: libuuid-devel
    %else
    
    BuildRequires: gettext
    BuildRequires: python-devel
    BuildRequires: glibmm24-devel
    BuildRequires: glib2-devel
    BuildRequires: libxml2-devel
    BuildRequires: openssl-devel
    
    BuildRequires: xmlsec1-devel >= 1.2.4
    BuildRequires: xmlsec1-openssl-devel >= 1.2.4
    BuildRequires: gsoap-devel >= 2.7.2
    
    Anders Waananen's avatar
    Anders Waananen committed
    %if %{_vendor} == "suse"
    BuildRequires: openldap2-devel
    
    BuildRequires: gettext-devel
    
    Anders Waananen's avatar
    Anders Waananen committed
    %endif
    %if %{_vendor} != "suse"
    BuildRequires: openldap-devel
    %endif
    
    BuildRequires: globus-common-devel
    
    BuildRequires: globus-ftp-client-devel
    BuildRequires: globus-ftp-control-devel
    BuildRequires: globus-rls-client-devel
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %if %{with_lfc}
    
    BuildRequires: LFC-devel
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %endif
    
    BuildRequires: db4-devel
    
    #%if %{_vendor} == "suse" && %{dist} != ".oss10.3"
    
    #BuildRequires: db-devel
    
    #%endif
    #%if %{_vendor} == "suse" && %{dist} == ".oss10.3"
    #BuildRequires: libdb_cxx-4_4-devel
    #%endif
    %if %{_vendor} == "suse"
    
    BuildRequires: db-devel
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %if %{with_java}
    BuildRequires: java-devel
    BuildRequires: jpackage-utils
    %if %{with_gcj}
    
    Anders Waananen's avatar
    Anders Waananen committed
    %if %{?fedora}%{!?fedora:0} >= 4
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    BuildRequires: java-gcj-compat-devel
    
    Anders Waananen's avatar
    Anders Waananen committed
    %else
    BuildRequires: java-1.4.2-gcj-compat-devel
    %endif
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %endif
    %endif
    
    # Needed for LRMS testing during make check
    %if %{?fedora}%{!?fedora:0} >= 7
    BuildRequires: perl-Test-Harness
    
    BuildRequires: perl-Test-Simple
    
    %define pyver %(python -c 'import sys; print sys.version[:3]')
    %if "%{pyver}" < "2.4"
    %define ifpy #
    %else
    %define ifpy %{nil}
    %endif
    
    
    %package client
    Summary: ARC prototype clients
    Group: Applications/Internet
    
    Requires: %{name} = %{version}
    
    Requires: %{name}-plugins-base = %{version}
    
    Provides: nordugrid-arc1-client = %{version}
    Obsoletes: nordugrid-arc1-client < 1.0.0
    
    The NorduGrid is a collaboration aiming at development, maintenance
    and support of the free Grid middleware, known as the Advanced Resource
    Connector (ARC).
    
    For the regular user of any ARC-based computational grid,
    this client package contains (or depends on) all packages
    that are needed to submit jobs, query their status and
    retrieve results.
    
    Summary: ARC Hosting Environment Daemon
    Group: System Environment/Libraries
    
    Requires: %{name} = %{version}
    
    Provides: nordugrid-arc1-server = %{version}
    Obsoletes: nordugrid-arc1-server < 1.0.0
    
    Requires(post): chkconfig
    Requires(preun): chkconfig
    Requires(preun): initscripts
    Requires(postun): initscripts
    
    
    %description hed
    
    The NorduGrid is a collaboration aiming at development, maintenance
    and support of the free Grid middleware, known as the Advanced Resource
    Connector (ARC).
    
    The ARC Hosting Environment Daemon (HED). This daemon presents a
    site to other participants on the grid.  An intrinsic component
    of any grid system is a mechanism allowing for the secure stateful
    communication with remote environments. HED prepares for such an
    environment and as such is the core of the ARC middleware. HED
    was however written in a way, that represents typical grid
    computing tasks (the sharing of CPU time or storage) to become
    just one possible service between a user and a remote machine.
    Many others are thinkable, and HED takes considerable effort
    away from the respective implementors.
    
    %package charon
    Summary: ARC charon service
    Group: System Environment/Libraries
    Requires: %{name} = %{version}
    Requires: %{name}-hed = %{version}
    
    %description charon
    
    The NorduGrid is a collaboration aiming at development, maintenance
    and support of the free Grid middleware, known as the Advanced
    Resource Connector (ARC).
    
    CHARON is a remote policy decision point service.  It accepts formatted
    policy decision request and return positive or negative response. When
    running a CHARON (within the HED), the TLS layer can be used for
    securing the communication, when the request or response  information
    are critical.
    
    
    %package hopi
    Summary: ARC hopi service
    Group: System Environment/Libraries
    Requires: %{name} = %{version}
    Requires: %{name}-hed = %{version}
    
    %description hopi
    
    The NorduGrid is a collaboration aiming at development, maintenance
    and support of the free Grid middleware, known as the Advanced Resource
    Connector (ARC).
    
    The HOPI service provides a simple implementation of an http(s)
    server. It supports GET and PUT operations. It can be used as a simple
    file transfer service and it is usable via common web browsers and
    other http(s) clients (e.g. wget).
    
    
    %package isis
    Summary: ARC isis service
    Group: System Environment/Libraries
    Requires: %{name} = %{version}
    Requires: %{name}-hed = %{version}
    
    %description isis
    
    The NorduGrid is a collaboration aiming at development, maintenance
    and support of the free Grid middleware, known as the Advanced Resource
    Connector (ARC).
    
    ISIS is the new ARC information system implemented within HED. ISIS
    comes with P2P capabilities and a web-services interface. The new system
    grants grid participants an increase in flexibility, robustness and it
    also offers easier configuration and self-healing capability.
    
    
    %package compiler
    Summary: ARC compiler service
    Group: System Environment/Libraries
    Requires: %{name} = %{version}
    Requires: %{name}-hed = %{version}
    
    %description compiler
    
    The NorduGrid is a collaboration aiming at development, maintenance
    and support of the free Grid middleware, known as the Advanced Resource
    Connector (ARC).
    
    The purpose of this service is to provide compilation capability on the
    remote site utilizing its full CPU capacity for parallel compilation
    tasks. The service presumes that the compilation task is described
    in a usual make file. The current implementation supports GNU compilers
    only.
    
    
    %package delegation
    Summary: ARC delegation service
    Group: System Environment/Libraries
    Requires: %{name} = %{version}
    Requires: %{name}-hed = %{version}
    
    %description delegation
    
    The NorduGrid is a collaboration aiming at development, maintenance
    and support of the free Grid middleware, known as the Advanced Resource
    Connector (ARC).
    
    The description of the delegation services is still pending.
    
    
    %package paul
    Summary: ARC paul service
    Group: System Environment/Libraries
    Requires: %{name} = %{version}
    Requires: %{name}-hed = %{version}
    
    %description paul
    
    The NorduGrid is a collaboration aiming at development, maintenance
    and support of the free Grid middleware, known as the Advanced Resource
    Connector (ARC).
    
    The Paul is a pull-based execution service for computing resources. In
    these case the computing resource can be single SMP computer. The Paul
    uses the iBES protocol to communicate with Scheduler services or any
    other service which implements iBES. The Paul can interact with multiple
    Scheduler and can controll multiple job in one time. Paul can be used
    to run on desktops (MS Windows as well) to form a 'desktop' grid.
    
    
    %package saml2sp
    Summary: ARC saml2sp service
    Group: System Environment/Libraries
    Requires: %{name} = %{version}
    Requires: %{name}-hed = %{version}
    
    %description saml2sp
    
    The NorduGrid is a collaboration aiming at development, maintenance
    and support of the free Grid middleware, known as the Advanced Resource
    Connector (ARC).
    
    Service Provider is a utility service which is supposed to work together
    with external Identity Provider and user agent (client) to accomplish
    the "SAML2.0 Web SSO Profile" which requires client to provider
    "username/password" instead of X.509 certificate for authentication.
    
    
    %package slcs
    Summary: ARC slcs service
    Group: System Environment/Libraries
    Requires: %{name} = %{version}
    Requires: %{name}-hed = %{version}
    
    %description slcs
    
    The NorduGrid is a collaboration aiming at development, maintenance
    and support of the free Grid middleware, known as the Advanced Resource
    Connector (ARC).
    
    ARC Short-lived credential service.
    
    %package arex
    Summary: ARC Remote EXecution service
    Group: System Environment/Libraries
    
    Requires: %{name} = %{version}
    
    Requires: %{name}-hed = %{version}
    
    Requires: perl-XML-Simple
    
    Provides: nordugrid-arc1-arex = %{version}
    Obsoletes: nordugrid-arc1-arex < 1.0.0
    
    Requires(post): chkconfig
    Requires(preun): chkconfig
    Requires(preun): initscripts
    Requires(postun): initscripts
    
    
    The NorduGrid is a collaboration aiming at development, maintenance
    and support of the free Grid middleware, known as the Advanced
    Resource Connector (ARC).
    
    The ARC Remote EXecution service (AREX) represents those parts of
    the middleware that is responsible for the execution of compute
    jobs and the transfer of input or output data.
    
    
    %package plugins-base
    Summary: ARC base plugins
    
    Group: System Environment/Libraries
    
    Requires: %{name} = %{version}
    
    Provides: nordugrid-arc1-plugins-base = %{version}
    Obsoletes: nordugrid-arc1-plugins-base < 1.0.0
    
    %description plugins-base
    
    The NorduGrid is a collaboration aiming at development, maintenance
    and support of the free Grid middleware, known as the Advanced
    Resource Connector (ARC).
    
    ARC base plugins. This includes the Message Chain Components (MCCs) and
    
    Data Manager Components (DMCs).
    
    
    %package plugins-globus
    Summary: ARC Globus plugins
    Group: System Environment/Libraries
    
    Requires: %{name} = %{version}
    
    Provides: nordugrid-arc1-plugins-globus = %{version}
    Obsoletes: nordugrid-arc1-plugins-globus < 1.0.0
    
    
    %description plugins-globus
    
    The NorduGrid is a collaboration aiming at development, maintenance
    and support of the free Grid middleware, known as the Advanced
    Resource Connector (ARC).
    
    ARC Globus plugins. This includes the Globus dependent Data Manager
    
    Components (DMCs).
    
    %package devel
    Summary: ARC development files
    Group: Development/Libraries
    
    Requires: %{name} = %{version}
    
    Requires: glibmm24-devel
    Requires: glib2-devel
    Requires: libxml2-devel
    Requires: openssl-devel
    
    Provides: nordugrid-arc1-devel = %{version}
    Obsoletes: nordugrid-arc1-devel < 1.0.0
    
    The NorduGrid is a collaboration aiming at development, maintenance
    and support of the free Grid middleware, known as the Advanced
    Resource Connector (ARC).
    
    The ARC middleware's core functionality, the Hosting Environment
    Daemon (HED) can be extended for novel services. Considerable parts
    of a regular installation of a regular installation of the NorduGrid
    represent such modules. 
    
    
    %package python
    Summary: ARC Python wrapper
    Group: Development/Libraries
    
    Requires: %{name} = %{version}
    
    Provides: nordugrid-arc1-python = %{version}
    Obsoletes: nordugrid-arc1-python < 1.0.0
    
    Requires: fuse-python
    
    The NorduGrid is a collaboration aiming at development, maintenance
    and support of the free Grid middleware, known as the Advanced
    Resource Connector (ARC).
    
    Developers with an interest to integrate the some functionality on
    a remote site via an interface compatible with ARC, may find it
    preferable to perform that remote invocation from within Python.
    While today most services in ARC are associated with computation or
    storage, there is no constraint on these applications.
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %if %{with_java}
    
    %package java
    Summary: ARC Java wrapper
    Group: Development/Libraries
    
    Requires: %{name} = %{version}
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    Requires: java
    Requires: jpackage-utils
    %if %{with_gcj}
    Requires(post): java-gcj-compat
    Requires(postun): java-gcj-compat
    %endif
    
    Provides: nordugrid-arc1-java = %{version}
    Obsoletes: nordugrid-arc1-java < 1.0.0
    
    The NorduGrid is a collaboration aiming at development, maintenance
    and support of the free Grid middleware, known as the Advanced
    Resource Connector (ARC).
    
    Developers with an interest to integrate the some functionality on
    a remote site via an interface compatible with ARC, may find it
    preferable to perform that remote invocation from within Java.
    While today most services in ARC are associated with computation or
    storage, there is no constraint on these applications.
    
    %package janitor
    Summary: ARC dynamic installation of runtime environments
    Group: Applications/Internet
    
    Requires: wget
    Requires: perl-Log-Log4perl
    
    Provides: nordugrid-arc1-janitor = %{version}
    Obsoletes: nordugrid-arc1-janitor < 1.0.0
    
    
    %description janitor
    The NorduGrid is a collaboration aiming at development, maintenance
    and support of the free Grid middleware, known as the Advanced
    Resource Connector (ARC).
    
    For grid computing, a major challenge is to keep the working environments
    homogeneous between the sites.  To help this situation, runtime
    environments have been developed. Those can be added to or removed from
    a site, and this Janitor service helps automating this process.
    
    The Janitor is a recent development and the community to prepare
    catalogues of dynamically installable packages still needs to
    evolve.
    
    
    %package doc
    Summary: ARC API documentation
    Group: Documentation
    
    Provides: nordugrid-arc1-doc = %{version}
    Obsoletes: nordugrid-arc1-doc < 1.0.0
    %if %{?fedora}%{!?fedora:0} >= 10 || %{?rhel}%{!?rhel:0} >= 6
    BuildArch: noarch
    %endif
    
    
    %description doc
    
    The NorduGrid is a collaboration aiming at development, maintenance
    and support of the free Grid middleware, known as the Advanced
    Resource Connector (ARC).
    
    Reference to the ARC programming API. It is prepared with doxygen.
    
    %configure --disable-static \
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %if ! %{with_java}
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %if %{with_lfc}
    
    make all doc %{?_smp_mflags}
    
    
    %install
    rm -rf $RPM_BUILD_ROOT
    
    make install DESTDIR=$RPM_BUILD_ROOT
    
    find $RPM_BUILD_ROOT -type f -name \*.la -exec rm -fv '{}' ';'
    
    
    mkdir -p $RPM_BUILD_ROOT%{_initrddir}
    cp -p src/hed/daemon/scripts/arched.redhat $RPM_BUILD_ROOT%{_initrddir}/arched
    chmod +x $RPM_BUILD_ROOT%{_initrddir}/arched
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    # Turn off default enabling of the a-rex service
    mkdir -p $RPM_BUILD_ROOT%{_initrddir}
    sed -e 's/\(chkconfig: \)\w*/\1-/' \
        -e '/Default-Start/d' \
        -e 's/\(Default-Stop:\s*\).*/\10 1 2 3 4 5 6/' \
        -i $RPM_BUILD_ROOT%{_initrddir}/a-rex
    
    
    # RPM does it's own doc handling
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    rm -fr $RPM_BUILD_ROOT%{_datadir}/doc/%{pkgdir}
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %if %{with_gcj}
    %{_bindir}/aot-compile-rpm
    %endif
    
    
    %clean
    rm -rf $RPM_BUILD_ROOT
    
    
    Anders Waananen's avatar
    Anders Waananen committed
    %post -p /sbin/ldconfig
    
    %postun -p /sbin/ldconfig
    
    
    /sbin/chkconfig --add arched
    
    
    if [ $1 = 0 ]; then
      service arched stop > /dev/null 2>&1
      /sbin/chkconfig --del arched
    fi
    
    
    if [ "$1" -ge "1" ]; then
      service arched condrestart > /dev/null 2>&1
    fi
    exit 0
    
    
    %post arex
    /sbin/chkconfig --add a-rex
    
    %preun arex
    if [ $1 = 0 ]; then
      service a-rex stop > /dev/null 2>&1
      /sbin/chkconfig --del a-rex
    fi
    
    %postun arex
    if [ "$1" -ge "1" ]; then
      service a-rex condrestart > /dev/null 2>&1
    fi
    exit 0
    
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %post java
    %if %{with_gcj}
    [ -x %{_bindir}/rebuild-gcj-db ] && %{_bindir}/rebuild-gcj-db
    %endif
    
    %postun java
    %if %{with_gcj}
    [ -x %{_bindir}/rebuild-gcj-db ] && %{_bindir}/rebuild-gcj-db
    %endif
    
    %files -f arc.lang
    
    %defattr(-,root,root,-)
    %{_libdir}/lib*.so.*
    
    # We need to have libmodcrypto.so close to libarccrypto
    %{_libdir}/%{pkgdir}/libmodcrypto.so
    
    %{_libdir}/%{pkgdir}/libmodcrypto.apd
    
    # We need to have libmodcredential.so close to libarccredential
    %{_libdir}/%{pkgdir}/libmodcredential.so
    
    %{_libdir}/%{pkgdir}/libmodcredential.apd
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %{_datadir}/%{pkgdir}/schema
    
    %dir %{_datadir}/%{pkgdir}/perl
    %dir %{_datadir}/%{pkgdir}
    
    %files client
    %defattr(-,root,root,-)
    
    %{_bindir}/arccat
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %{_bindir}/arcclean
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %{_bindir}/arccp
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %{_bindir}/arcdecision
    %{_bindir}/arcecho
    %{_bindir}/arcget
    %{_bindir}/arcinfo
    %{_bindir}/arckill
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %{_bindir}/arcls
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %{_bindir}/arcmigrate
    %{_bindir}/arcproxy
    %{_bindir}/arcrenew
    %{_bindir}/arcresub
    %{_bindir}/arcresume
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %{_bindir}/arcrm
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %{_bindir}/arcslcs
    %{_bindir}/arcsrmping
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %{_bindir}/arcstat
    
    %{_bindir}/arcsub
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %{_bindir}/arcsync
    
    %{_bindir}/arcwsrf
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %{_bindir}/chelonia
    %{_bindir}/isistest
    %{_bindir}/jura
    %{_bindir}/perftest
    %{_bindir}/saml_assertion_init
    
    Anders Waananen's avatar
    Anders Waananen committed
    %config(noreplace) %{_sysconfdir}/%{pkgdir}/client.conf
    
    %{_datadir}/%{pkgdir}/examples/client.conf.example
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %doc %{_mandir}/man1/arccat.1*
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %doc %{_mandir}/man1/arcclean.1*
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %doc %{_mandir}/man1/arccp.1*
    
    Weizhong Qiang's avatar
    Weizhong Qiang committed
    %doc %{_mandir}/man1/arcdecision.1*
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %doc %{_mandir}/man1/arcecho.1*
    %doc %{_mandir}/man1/arcget.1*
    %doc %{_mandir}/man1/arcinfo.1*
    %doc %{_mandir}/man1/arckill.1*
    %doc %{_mandir}/man1/arcls.1*
    
    %doc %{_mandir}/man1/arcmigrate.1*
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %doc %{_mandir}/man1/arcproxy.1*
    
    %doc %{_mandir}/man1/arcrenew.1*
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %doc %{_mandir}/man1/arcresub.1*
    
    %doc %{_mandir}/man1/arcresume.1*
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %doc %{_mandir}/man1/arcrm.1*
    %doc %{_mandir}/man1/arcslcs.1*
    %doc %{_mandir}/man1/arcstat.1*
    %doc %{_mandir}/man1/arcsrmping.1*
    %doc %{_mandir}/man1/arcsub.1*
    %doc %{_mandir}/man1/arcsync.1*
    
    %doc %{_mandir}/man1/arcwsrf.1*
    
    %doc %{_mandir}/man1/chelonia.1*
    
    %doc %{_mandir}/man1/jura.1*
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %doc %{_mandir}/man1/perftest.1.gz
    %doc %{_mandir}/man1/saml_assertion_init.1*
    
    %doc %{_datadir}/%{pkgdir}/examples/charon/charon_client.xml.example
    %doc %{_datadir}/%{pkgdir}/examples/charon/charon_request.xml.example
    %doc %{_datadir}/%{pkgdir}/examples/echo/echo.wsdl
    
    %defattr(-,root,root,-)
    
    %{_initrddir}/arched
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %{_libdir}/%{pkgdir}/libecho.so
    
    %{_libdir}/%{pkgdir}/libecho.apd
    
    %{_datadir}/%{pkgdir}/profiles
    %{_datadir}/%{pkgdir}/examples/config
    
    %doc %{_datadir}/%{pkgdir}/examples/echo/echo_service.xml.example
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %doc %{_mandir}/man8/arched.8*
    
    
    %files charon
    %defattr(-,root,root,-)
    %{_libdir}/%{pkgdir}/libcharon.so
    
    %{_libdir}/%{pkgdir}/libcharon.apd
    
    %doc %{_datadir}/%{pkgdir}/examples/charon/charon_policy_arc.xml.example
    %doc %{_datadir}/%{pkgdir}/examples/charon/charon_policy_xacml.xml.example
    %doc %{_datadir}/%{pkgdir}/examples/charon/charon_service.xml.example
    
    
    %files hopi
    %defattr(-,root,root,-)
    %{_libdir}/%{pkgdir}/libhopi.so
    
    %{_libdir}/%{pkgdir}/libhopi.apd
    
    %doc %{_datadir}/%{pkgdir}/examples/hopi/hopi_service.xml.example
    
    
    %files isis
    %defattr(-,root,root,-)
    %{_libdir}/%{pkgdir}/libisis.so
    
    %{_libdir}/%{pkgdir}/libisis.apd
    
    %files compiler
    %defattr(-,root,root,-)
    %{_libdir}/%{pkgdir}/libcompiler.so
    
    %files delegation
    %defattr(-,root,root,-)
    %{_libdir}/%{pkgdir}/libdelegation.so
    
    %files paul
    %defattr(-,root,root,-)
    %{_sbindir}/manage_jobq
    %{_libdir}/%{pkgdir}/libgrid_sched.so
    %{_libdir}/%{pkgdir}/libpaul.so
    %doc %{_mandir}/man8/manage_jobq.8*
    
    %files saml2sp
    %defattr(-,root,root,-)
    %{_libdir}/%{pkgdir}/libsaml2sp.so
    
    %files slcs
    %defattr(-,root,root,-)
    %{_libdir}/%{pkgdir}/libslcs.so
    
    
    %defattr(-,root,root,-)
    
    %{_initrddir}/a-rex
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %{_libexecdir}/%{pkgdir}/cache-clean
    %{_libexecdir}/%{pkgdir}/cache-list
    
    Anders Waananen's avatar
    Anders Waananen committed
    %{_libexecdir}/%{pkgdir}/downloader
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %{_libexecdir}/%{pkgdir}/gm-jobs
    %{_libexecdir}/%{pkgdir}/gm-kick
    
    Anders Waananen's avatar
    Anders Waananen committed
    %{_libexecdir}/%{pkgdir}/smtp-send
    %{_libexecdir}/%{pkgdir}/smtp-send.sh
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %{_libexecdir}/%{pkgdir}/uploader
    %{_libexecdir}/%{pkgdir}/cancel-*-job
    %{_libexecdir}/%{pkgdir}/scan-*-job
    %{_libexecdir}/%{pkgdir}/submit-*-job
    %{_libexecdir}/%{pkgdir}/finish-condor-job
    %{_libexecdir}/%{pkgdir}/CEinfo.pl
    %{_libdir}/%{pkgdir}/libarex.so
    
    %{_libdir}/%{pkgdir}/libarex.apd
    
    Anders Waananen's avatar
    Anders Waananen committed
    %{_libdir}/%{pkgdir}/ARC0mod.pm
    %{_libdir}/%{pkgdir}/FORKmod.pm
    %{_libdir}/%{pkgdir}/SGEmod.pm
    %{_libdir}/%{pkgdir}/LL.pm
    %{_libdir}/%{pkgdir}/LSF.pm
    %{_libdir}/%{pkgdir}/PBS.pm
    %{_libdir}/%{pkgdir}/Condor.pm
    
    %{_libdir}/%{pkgdir}/SLURM.pm
    
    Anders Waananen's avatar
    Anders Waananen committed
    %{_libdir}/%{pkgdir}/ARC0ClusterInfo.pm
    %{_libdir}/%{pkgdir}/ARC0ClusterSchema.pm
    %{_libdir}/%{pkgdir}/ARC1ClusterInfo.pm
    %{_libdir}/%{pkgdir}/ARC1ClusterSchema.pm
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %{_libdir}/%{pkgdir}/ConfigCentral.pm
    
    Anders Waananen's avatar
    Anders Waananen committed
    %{_libdir}/%{pkgdir}/GMJobsInfo.pm
    %{_libdir}/%{pkgdir}/HostInfo.pm
    
    %{_libdir}/%{pkgdir}/RTEInfo.pm
    
    Anders Waananen's avatar
    Anders Waananen committed
    %{_libdir}/%{pkgdir}/InfoChecker.pm
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %{_libdir}/%{pkgdir}/IniParser.pm
    
    Anders Waananen's avatar
    Anders Waananen committed
    %{_libdir}/%{pkgdir}/LogUtils.pm
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %{_libdir}/%{pkgdir}/LRMSInfo.pm
    
    %{_libdir}/%{pkgdir}/Sysinfo.pm
    
    %{_libdir}/%{pkgdir}/cancel_common.sh
    %{_libdir}/%{pkgdir}/change-lsf-mode.sh
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %{_libdir}/%{pkgdir}/condor_env.pm
    %{_libdir}/%{pkgdir}/config_parser.sh
    %{_libdir}/%{pkgdir}/configure-*-env.sh
    %{_libdir}/%{pkgdir}/submit_common.sh
    
    Anders Waananen's avatar
    Anders Waananen committed
    %{_datadir}/%{pkgdir}/nordugrid.schema
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %doc %{_mandir}/man1/cache-clean.1*
    %doc %{_mandir}/man1/cache-list.1*
    
    %doc %{_datadir}/%{pkgdir}/examples/a-rex/arex.xml.example
    %doc %{_datadir}/%{pkgdir}/examples/a-rex/arex_minimalistic.xml.example
    %doc %{_datadir}/%{pkgdir}/examples/a-rex/arex_secure.xml.example
    %doc %{_datadir}/%{pkgdir}/examples/a-rex/arex_showcase.xml.example
    %doc %{_datadir}/%{pkgdir}/examples/a-rex/arex_xmlonly.xml.example
    
    %files devel
    %defattr(-,root,root,-)
    
    %{_includedir}/%{pkgdir}
    
    %{_libdir}/lib*.so
    
    %{_bindir}/wsdl2hed
    
    %doc %{_mandir}/man1/wsdl2hed.1*
    
    %{_bindir}/arcplugin
    %doc %{_mandir}/man1/arcplugin.1*
    
    Anders Waananen's avatar
    Anders Waananen committed
    %{_libdir}/pkgconfig/arcbase.pc
    
    %files plugins-base
    
    %defattr(-,root,root,-)
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %{_libdir}/%{pkgdir}/libaccARC1.so
    %{_libdir}/%{pkgdir}/libaccCREAM.so
    %{_libdir}/%{pkgdir}/libaccBroker.so
    %{_libdir}/%{pkgdir}/libaccUNICORE.so
    %{_libdir}/%{pkgdir}/libarcshc.so
    %{_libdir}/%{pkgdir}/libdmcarc.so
    %{_libdir}/%{pkgdir}/libdmcfile.so
    %{_libdir}/%{pkgdir}/libdmchttp.so
    %{_libdir}/%{pkgdir}/libdmcldap.so
    %{_libdir}/%{pkgdir}/libidentitymap.so
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %{_libdir}/%{pkgdir}/libmcchttp.so
    %{_libdir}/%{pkgdir}/libmccmsgvalidator.so
    %{_libdir}/%{pkgdir}/libmccsoap.so
    %{_libdir}/%{pkgdir}/libmcctcp.so
    %{_libdir}/%{pkgdir}/libmcctls.so
    
    %{_libdir}/%{pkgdir}/libaccARC1.apd
    %{_libdir}/%{pkgdir}/libaccCREAM.apd
    %{_libdir}/%{pkgdir}/libaccBroker.apd
    %{_libdir}/%{pkgdir}/libaccUNICORE.apd
    %{_libdir}/%{pkgdir}/libarcshc.apd
    %{_libdir}/%{pkgdir}/libdmcarc.apd
    %{_libdir}/%{pkgdir}/libdmcfile.apd
    %{_libdir}/%{pkgdir}/libdmchttp.apd
    %{_libdir}/%{pkgdir}/libdmcldap.apd
    %{_libdir}/%{pkgdir}/libidentitymap.apd
    %{_libdir}/%{pkgdir}/libmcchttp.apd
    %{_libdir}/%{pkgdir}/libmccsoap.apd
    %{_libdir}/%{pkgdir}/libmcctcp.apd
    %{_libdir}/%{pkgdir}/libmcctls.apd
    
    %files plugins-globus
    
    %defattr(-,root,root,-)
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %{_libdir}/%{pkgdir}/libaccARC0.so
    
    %{_libdir}/%{pkgdir}/libdmcgridftp.so
    
    %{_libdir}/%{pkgdir}/libaccARC0.apd
    %{_libdir}/%{pkgdir}/libdmcgridftp.apd
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %if %{with_lfc}
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %{_libdir}/%{pkgdir}/libdmclfc.so
    
    %{_libdir}/%{pkgdir}/libdmclfc.apd
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %endif
    
    %{_libdir}/%{pkgdir}/libdmcrls.so
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %{_libdir}/%{pkgdir}/libdmcsrm.so
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %{_libdir}/%{pkgdir}/libmccgsi.so
    
    %{_libdir}/%{pkgdir}/libdmcrls.apd
    %{_libdir}/%{pkgdir}/libdmcsrm.apd
    %{_libdir}/%{pkgdir}/libmccgsi.apd
    
    %files python
    %defattr(-,root,root,-)
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %{python_sitearch}/*
    
    Anders Waananen's avatar
    Anders Waananen committed
    %{_libdir}/%{pkgdir}/libaccPythonBroker.so
    
    %{_libdir}/%{pkgdir}/libaccPythonBroker.apd
    
    %{ifpy}%{_libdir}/%{pkgdir}/libpythonservice.so
    
    %{ifpy}%{_libdir}/%{pkgdir}/libpythonservice.apd
    
    %{_datadir}/%{pkgdir}/examples/storage_service.xml.example
    
    %doc %{_datadir}/%{pkgdir}/examples/PythonBroker/SampleBroker.py*
    
    %{_bindir}/arcfs
    #%{_bindir}/arcfs.1*
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %if %{with_java}
    
    %files java
    %defattr(-,root,root,-)
    
    Anders Waananen's avatar
    Anders Waananen committed
    %{_libdir}/java/libjarc.so
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %{_libdir}/java/arc.jar
    
    %{_libdir}/%{pkgdir}/libjavaservice.so
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %if %{with_gcj}
    %{_libdir}/gcj/%{name}
    %endif
    
    %files janitor
    %defattr(-,root,root,-)
    %{_libexecdir}/%{pkgdir}/janitor
    
    %{_datadir}/%{pkgdir}/janitor
    %{_datadir}/%{pkgdir}/perl/Janitor
    
    Mattias Ellert's avatar
    Mattias Ellert committed
    %doc %{_mandir}/man8/janitor.8*
    
    %files doc
    %defattr(-,root,root,-)
    
    %doc doc/tech_doc/doxygen/ARC1-API.pdf
    %doc doc/tech_doc/doxygen/ARC1-ChainComponents.pdf
    %doc doc/tech_doc/doxygen/ARC1-Services.pdf
    %doc doc/tech_doc/hed/ARCHED_article.pdf
    %doc doc/tech_doc/chelonia/arc-storage-documentation.pdf
    %doc doc/tech_doc/a-rex/arex_tech_doc.pdf
    %doc doc/tech_doc/backend_interface/Backends-arc1.pdf
    %doc doc/tech_doc/client/client_technical.pdf
    %doc doc/tech_doc/infosys/infosys_technical.pdf
    %doc doc/tech_doc/infosys/TechnicalHandbook/ISIS-TechnicalHandbook.pdf
    %doc doc/manuals/janitor/Janitor.pdf
    %doc doc/tech_doc/jura/jura-tech-doc.pdf
    
    %doc doc/tech_doc/sec/arc-security-documentation.pdf
    
    %doc doc/manuals/user_interface/ui.pdf
    %doc doc/manuals/ws-quick-guide/ws-quick-guide.pdf
    %doc doc/tutorials/ws-programming-tutorial/doc/WS-tutorial.pdf
    
    * @SPECDATE@ Anders Waananen <waananen@nbi.dk> - @VERSION@-1