Source: gfal2
Priority: optional
Maintainer: Mattias Ellert <mattias.ellert@physics.uu.se>
Build-Depends:
 debhelper-compat (= 13),
 dpkg-dev (>= 1.22.5),
 cmake,
 libattr1-dev [kfreebsd-any],
 libglib2.0-dev,
 libjson-c-dev,
 libldap2-dev,
 libpugixml-dev,
 uuid-dev,
 zlib1g-dev,
 srm-ifce-dev (>= 1.23.1),
 dcap-dev,
 libglobus-gass-copy-dev,
 davix-dev (>= 0.8.4),
 libcrypto++-dev (>= 5.6.2),
 libxrootd-client-dev,
 libssh2-1-dev,
 pkgconf,
 libgtest-dev (>= 1.8.0-7)
Build-Depends-Indep:
 doxygen
Standards-Version: 4.7.2
Section: net
Vcs-Browser: https://salsa.debian.org/ellert/gfal2
Vcs-Git: https://salsa.debian.org/ellert/gfal2.git
Homepage: https://dmc-docs.web.cern.ch/dmc-docs/gfal2/gfal2.html

Package: gfal2
Architecture: all
Multi-Arch: foreign
Depends:
 libgfal2-2t64,
 libgfal-transfer2t64,
 ${misc:Depends}
Recommends:
 gfal2-plugin-file,
 gfal2-plugin-dcap,
 gfal2-plugin-srm,
 gfal2-plugin-gridftp,
 gfal2-plugin-http,
 gfal2-plugin-xrootd,
 gfal2-plugin-sftp
Description: Grid file access library 2.0
 GFAL 2.0 offers a single and simple POSIX-like API for the file
 operations in grids and cloud environments. The set of supported
 protocols depends on the gfal2 installed plugins.

Package: libgfal2-2t64
Provides: ${t64:Provides}
Replaces: libgfal2-2
Breaks: libgfal2-2 (<< ${source:Version})
Section: libs
Architecture: any
Multi-Arch: same
Depends:
 ${shlibs:Depends},
 ${misc:Depends}
Description: Core of the grid file access library 2.0
 The main library of gfal2. The gfal protocol support relies on a
 plugin system.

Package: libgfal-transfer2t64
Provides: ${t64:Provides}
Replaces: libgfal-transfer2
Breaks: libgfal-transfer2 (<< ${source:Version})
Section: libs
Architecture: any
Multi-Arch: same
Depends:
 libgfal2-2t64 (= ${binary:Version}),
 ${shlibs:Depends},
 ${misc:Depends}
Description: File Transfer logic of gfal2
 gfal-transfer is the high level API for file transfer operations in
 gfal2. It supports third-party copy.

Package: libgfal2-dev
Section: libdevel
Architecture: any
Multi-Arch: same
Depends:
 libgfal2-2t64 (= ${binary:Version}),
 libgfal-transfer2t64 (= ${binary:Version}),
 libattr1-dev [kfreebsd-any],
 libglib2.0-dev,
 ${misc:Depends}
Description: Development files of gfal2
 Development files for gfal2.

Package: gfal2-doc
Section: doc
Architecture: all
Multi-Arch: foreign
Depends:
 ${misc:Depends}
Description: Documentation for gfal2
 Documentation, doxygen and examples of gfal2.

Package: gfal2-plugin-file
Architecture: any
Multi-Arch: same
Depends:
 libgfal2-2t64 (= ${binary:Version}),
 ${shlibs:Depends},
 ${misc:Depends}
Description: Provides file support for gfal2
 Provides the file support (file://) for gfal2. The file plugin
 provides local file operations, as copying from local to remote or
 the other way around.

Package: gfal2-plugin-dcap
Architecture: any
Multi-Arch: same
Depends:
 libgfal2-2t64 (= ${binary:Version}),
 dcap-tunnel-gsi,
 ${shlibs:Depends},
 ${misc:Depends}
Description: Provides dcap support for gfal2
 Provides the dcap support (gsidcap://, dcap://) for gfal2. The dcap
 plugin provides the POSIX operations for the dcap URLs, the dcap
 protocol is used on the DCACHE storage system.

Package: gfal2-plugin-srm
Architecture: any
Multi-Arch: same
Depends:
 libgfal2-2t64 (= ${binary:Version}),
 libgfal-transfer2t64 (= ${binary:Version}),
 ${shlibs:Depends},
 ${misc:Depends}
Description: Provides srm support for gfal2
 Provides the srm support (srm://) for gfal2. The srm plugin provides
 the POSIX operations and the third party transfer support on the SRM
 URLs.

Package: gfal2-plugin-gridftp
Architecture: any
Multi-Arch: same
Depends:
 libgfal2-2t64 (= ${binary:Version}),
 libgfal-transfer2t64 (= ${binary:Version}),
 ${shlibs:Depends},
 ${misc:Depends}
Description: Provides the gridftp support for gfal2
 Provides the gridftp support (gsiftp://) for gfal2. The gridftp plugin
 provides the POSIX operations and the third party transfer support on
 the GSIFTP URLs.

Package: gfal2-plugin-http
Architecture: any
Multi-Arch: same
Depends:
 libgfal2-2t64 (= ${binary:Version}),
 libgfal-transfer2t64 (= ${binary:Version}),
 ${shlibs:Depends},
 ${misc:Depends}
Description: Provides HTTP and DAV support for gfal2
 Provides the HTTP (http[s]://) and WebDAV (dav[s]://) support for
 gfal2. This plugin is able to do third-party copy with WebDAV if the
 storage supports it.

Package: gfal2-plugin-xrootd
Architecture: any
Multi-Arch: same
Depends:
 libgfal2-2t64 (= ${binary:Version}),
 libgfal-transfer2t64 (= ${binary:Version}),
 ${shlibs:Depends},
 ${misc:Depends}
Description: Provides xrootd support for gfal2
 Provides the xrootd (root://) support for gfal2.

Package: gfal2-plugin-sftp
Architecture: any
Multi-Arch: same
Depends:
 libgfal2-2t64 (= ${binary:Version}),
 libgfal-transfer2t64 (= ${binary:Version}),
 ${shlibs:Depends},
 ${misc:Depends}
Description: Provides sftp support for gfal2
 Provides the sftp (sftp://) support for gfal2.

Package: gfal2-plugin-mock
Architecture: any
Multi-Arch: same
Depends:
 libgfal2-2t64 (= ${binary:Version}),
 libgfal-transfer2t64 (= ${binary:Version}),
 ${shlibs:Depends},
 ${misc:Depends}
Description: Provides a mock dummy protocol for gfal2
 Provides a dummy mock:// protocol for gfal2.