|
|
6743633 |
%if %{?fedora}%{!?fedora:0} >= 17 || %{?rhel}%{!?rhel:0} >= 7
|
|
|
6743633 |
%global boost_cmake_flags -DBOOST_INCLUDEDIR=/usr/include
|
|
|
6743633 |
%else
|
|
|
6743633 |
%global boost_cmake_flags -DBOOST_INCLUDEDIR=/usr/include/boost148 -DBOOST_LIBRARYDIR=%{_libdir}/boost148
|
|
|
6743633 |
%endif
|
|
|
6743633 |
|
|
|
6743633 |
%if %{?fedora}%{!?fedora:0} >= 17 || %{?rhel}%{!?rhel:0} >= 7
|
|
|
6743633 |
%global systemd 1
|
|
|
6743633 |
%else
|
|
|
6743633 |
%global systemd 0
|
|
|
6743633 |
%endif
|
|
|
6743633 |
|
|
|
fbfe22d |
%define _unpackaged_files_terminate_build 0
|
|
|
fbfe22d |
|
|
|
6743633 |
Name: dynafed
|
|
|
00370fa |
Version: 1.4.0
|
|
|
3f9b6f6 |
Release: 1%{?dist}
|
|
|
6743633 |
Summary: Ultra-scalable dynamic system for federating HTTP-based storage resources
|
|
|
6743633 |
Group: Applications/Internet
|
|
|
6743633 |
License: ASL 2.0
|
|
|
6743633 |
URL: https://svnweb.cern.ch/trac/lcgdm/wiki
|
|
|
00370fa |
# svn export http://svn.cern.ch/guest/lcgdm/ugr/tags/dynafed_1_4_0e dynafed-1.4.0
|
|
|
00370fa |
# tar -czvf dynafed-1.4.0.tar.gz dynafed-1.4.0
|
|
|
6743633 |
Source0: http://grid-deployment.web.cern.ch/grid-deployment/dms/lcgutil/tar/%{name}/%{name}-%{version}.tar.gz
|
|
|
6743633 |
|
|
|
6743633 |
%if %{?fedora}%{!?fedora:0} >= 17 || %{?rhel}%{!?rhel:0} >= 7
|
|
Igor Gnatenko |
b409d29 |
BuildRequires: gcc-c++
|
|
|
6743633 |
BuildRequires: boost-devel >= 1.48.0
|
|
|
6743633 |
%else
|
|
|
6743633 |
BuildRequires: boost148-devel >= 1.48.0
|
|
|
6743633 |
%endif
|
|
|
6743633 |
|
|
|
6743633 |
BuildRequires: cmake
|
|
|
00370fa |
BuildRequires: dmlite-devel >= 1.11.0
|
|
|
00370fa |
BuildRequires: dmlite-private-devel >= 1.11.0
|
|
|
00370fa |
BuildRequires: davix-devel >= 0.6.2
|
|
|
6743633 |
BuildRequires: lfc-devel >= 1.8.8
|
|
|
6743633 |
BuildRequires: gfal2-devel
|
|
|
6743633 |
BuildRequires: GeoIP-devel
|
|
|
7ded98c |
BuildRequires: libmaxminddb-devel
|
|
|
6743633 |
BuildRequires: libmemcached-devel
|
|
|
6743633 |
BuildRequires: openssl-devel
|
|
|
6743633 |
BuildRequires: protobuf-devel
|
|
|
298b69c |
%if %{?fedora}%{!?fedora:0} >= 26
|
|
|
404727b |
BuildRequires: python2
|
|
|
404727b |
BuildRequires: python2-devel
|
|
|
298b69c |
%else
|
|
|
298b69c |
BuildRequires: python
|
|
|
298b69c |
BuildRequires: python-devel
|
|
|
298b69c |
%endif
|
|
|
6743633 |
|
|
|
6743633 |
%if %systemd
|
|
|
6743633 |
# possible deps to configure the journal for practical logging
|
|
|
6743633 |
%else
|
|
|
6743633 |
Requires: rsyslog
|
|
|
6743633 |
%endif
|
|
|
6743633 |
|
|
|
6743633 |
|
|
|
6743633 |
%description
|
|
|
6743633 |
The Dynafed project provides a dynamic, scalable HTTP resource
|
|
|
6743633 |
federation mechanism for distributed storage systems.
|
|
|
6743633 |
It supports backends exposing HTTP, WebDAV, S3, Azure as
|
|
|
6743633 |
access protocols. In the S3 and Azure case it hides the secret
|
|
|
6743633 |
keys and exploits pre-signed URLs.
|
|
|
6743633 |
The default deployment style is accessible by any HTTP/Webdav
|
|
|
6743633 |
compatible client. The core components can be used to design
|
|
|
6743633 |
frontends based on other protocols.
|
|
|
6743633 |
|
|
|
6743633 |
%package private-devel
|
|
|
6743633 |
Summary: Development files for %{name}
|
|
|
6743633 |
Group: Applications/Internet
|
|
|
6743633 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
6743633 |
Requires: pkgconfig
|
|
|
6743633 |
|
|
|
6743633 |
%description private-devel
|
|
|
6743633 |
Headers files for %{name}'s plugin development.
|
|
|
6743633 |
|
|
|
6743633 |
%package http-plugin
|
|
|
6743633 |
Summary: Http and WebDav plugin for %{name}
|
|
|
6743633 |
Group: Applications/Internet
|
|
|
6743633 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
6743633 |
Requires: davix-libs >= 0.5.1
|
|
|
6743633 |
Provides: %{name}-dav-plugin = %{version}-%{release}
|
|
|
6743633 |
|
|
|
6743633 |
%description http-plugin
|
|
|
6743633 |
Plugin for the WebDav based storage system for %{name}
|
|
|
6743633 |
|
|
|
6743633 |
%package lfc-plugin
|
|
|
6743633 |
Summary: Logical File catalog (LFC) plugin for %{name}
|
|
|
6743633 |
Group: Applications/Internet
|
|
|
6743633 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
6743633 |
Requires: gfal2-plugin-lfc%{?_isa}
|
|
|
6743633 |
|
|
|
6743633 |
%description lfc-plugin
|
|
|
6743633 |
Plugin for the Logical File catalog system for %{name}
|
|
|
6743633 |
|
|
|
6743633 |
%package dmlite-plugin
|
|
|
6743633 |
Summary: dmlite plugin for %{name}
|
|
|
6743633 |
Group: Applications/Internet
|
|
|
6743633 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
00370fa |
Requires: dmlite-libs%{?_isa} >= 1.11.0
|
|
|
6743633 |
|
|
|
6743633 |
%description dmlite-plugin
|
|
|
6743633 |
Plugin for using dmlite for %{name}
|
|
|
6743633 |
|
|
|
00370fa |
%package tpc-gfal2
|
|
|
00370fa |
Summary: Third party copy (TPC) scripts using gfal2 for %{name}
|
|
|
00370fa |
Group: Applications/Internet
|
|
|
00370fa |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
00370fa |
Requires: gfal2-all%{?_isa} >= 2.16.0
|
|
|
00370fa |
Requires: davix%{?_isa} >= 0.7.0
|
|
|
00370fa |
|
|
|
00370fa |
%description tpc-gfal2
|
|
|
00370fa |
Scripts that implement the cross-protocol third party copy (TPC) using gfal2
|
|
|
00370fa |
|
|
|
6743633 |
%package dmlite-frontend
|
|
|
6743633 |
Summary: dmlite plugin for %{name}
|
|
|
6743633 |
Group: Applications/Internet
|
|
|
6743633 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
6743633 |
Requires: %{_libdir}/httpd/modules/mod_lcgdm_dav.so
|
|
|
00370fa |
Requires: lcgdm-dav-server >= 0.22
|
|
|
00370fa |
Requires: dmlite-libs%{?_isa} >= 1.11.0
|
|
|
3de6ac3 |
%if %systemd == 0
|
|
|
6743633 |
Requires: mod_proxy_fcgi
|
|
|
3de6ac3 |
%endif
|
|
|
6743633 |
Requires: php-fpm
|
|
|
6743633 |
Requires: php-pecl-memcache
|
|
|
6743633 |
|
|
|
6743633 |
%description dmlite-frontend
|
|
|
6743633 |
Webdav frontend for %{name} using dmlite and lcgdm-dav
|
|
|
6743633 |
|
|
|
6743633 |
|
|
|
6743633 |
|
|
|
6743633 |
%clean
|
|
|
6743633 |
rm -rf %{buildroot};
|
|
|
6743633 |
make clean
|
|
|
6743633 |
|
|
|
6743633 |
%prep
|
|
|
6743633 |
%setup -q
|
|
|
6743633 |
|
|
|
6743633 |
%build
|
|
|
6743633 |
%if %systemd
|
|
|
6743633 |
%cmake \
|
|
|
6743633 |
-DDOC_INSTALL_DIR=%{_docdir}/%{name}-%{version} \
|
|
|
6743633 |
-DAPACHE_SITES_INSTALL_DIR=%{_sysconfdir}/httpd/conf.d \
|
|
|
6743633 |
-DOUT_OF_SOURCE_CHECK=FALSE \
|
|
|
6743633 |
-DRSYSLOG_SUPPORT=FALSE \
|
|
|
6743633 |
-DLOGROTATE_SUPPORT=FALSE \
|
|
|
6743633 |
%{boost_cmake_flags} \
|
|
|
6743633 |
.
|
|
|
6743633 |
make
|
|
|
6743633 |
%else
|
|
|
6743633 |
%cmake \
|
|
|
6743633 |
-DDOC_INSTALL_DIR=%{_docdir}/%{name}-%{version} \
|
|
|
6743633 |
-DAPACHE_SITES_INSTALL_DIR=%{_sysconfdir}/httpd/conf.d \
|
|
|
6743633 |
-DOUT_OF_SOURCE_CHECK=FALSE \
|
|
|
6743633 |
-DRSYSLOG_SUPPORT=TRUE \
|
|
|
6743633 |
-DLOGROTATE_SUPPORT=TRUE \
|
|
|
6743633 |
%{boost_cmake_flags} \
|
|
|
6743633 |
.
|
|
|
6743633 |
make
|
|
|
6743633 |
%endif
|
|
|
6743633 |
|
|
|
6743633 |
%install
|
|
|
6743633 |
rm -rf %{buildroot}
|
|
|
6743633 |
make DESTDIR=%{buildroot} install
|
|
|
6743633 |
|
|
|
6743633 |
%post
|
|
|
6743633 |
/sbin/ldconfig
|
|
|
6743633 |
/sbin/service rsyslog condrestart || true
|
|
|
6743633 |
## conf file plugin path transition
|
|
|
6743633 |
## sed -i 's@/usr/lib\([0-9]*\)/ugr@/usr/lib\1/dynafed@g' /etc/ugr.conf || true
|
|
|
6743633 |
|
|
|
6743633 |
%postun
|
|
|
6743633 |
/sbin/ldconfig
|
|
|
6743633 |
|
|
|
6743633 |
%post dmlite-frontend
|
|
|
6743633 |
/sbin/ldconfig
|
|
|
6743633 |
/sbin/service rsyslog condrestart || true
|
|
|
6743633 |
/sbin/service httpd condrestart || true
|
|
|
6743633 |
|
|
|
6743633 |
%files
|
|
|
6743633 |
%{_libdir}/libugrconnector.so.*
|
|
|
6743633 |
%{_libdir}/ugr/libugrgeoplugin_geoip.so
|
|
|
7ded98c |
%{_libdir}/ugr/libugrgeoplugin_mmdb.so
|
|
|
6743633 |
%{_libdir}/ugr/libugrnoloopplugin.so
|
|
|
6743633 |
%{_libdir}/ugr/libugrauthplugin_python*.so
|
|
|
6743633 |
%config(noreplace) %{_sysconfdir}/ugr/ugr.conf
|
|
|
6743633 |
%config(noreplace) %{_sysconfdir}/ugr/conf.d/*
|
|
|
6743633 |
%if %systemd
|
|
|
6743633 |
# possible config to configure the journal for practical logging
|
|
|
6743633 |
%else
|
|
|
6743633 |
%config(noreplace) %{_sysconfdir}/rsyslog.d/*
|
|
|
6743633 |
%config(noreplace) %{_sysconfdir}/logrotate.d/*
|
|
|
6743633 |
%endif
|
|
|
6743633 |
%doc RELEASE-NOTES
|
|
|
7ded98c |
%doc doc/whitepaper/Doc_DynaFeds.pdf
|
|
|
6743633 |
|
|
|
6743633 |
%files private-devel
|
|
|
6743633 |
%{_libdir}/libugrconnector.so
|
|
|
6743633 |
%dir %{_includedir}/ugr
|
|
|
6743633 |
%{_includedir}/ugr/*
|
|
|
6743633 |
%{_libdir}/pkgconfig/*
|
|
|
6743633 |
|
|
|
6743633 |
%files http-plugin
|
|
|
6743633 |
%{_libdir}/ugr/libugrlocplugin_dav.so
|
|
|
6743633 |
%{_libdir}/ugr/libugrlocplugin_http.so
|
|
|
6743633 |
%{_libdir}/ugr/libugrlocplugin_s3.so
|
|
|
6743633 |
%{_libdir}/ugr/libugrlocplugin_azure.so
|
|
|
6743633 |
%{_libdir}/ugr/libugrlocplugin_davrucio.so
|
|
|
6743633 |
|
|
|
6743633 |
%files lfc-plugin
|
|
|
6743633 |
%{_libdir}/ugr/libugrlocplugin_lfc.so
|
|
|
6743633 |
|
|
|
6743633 |
|
|
|
6743633 |
%files dmlite-plugin
|
|
|
6743633 |
%attr (-,root,root)
|
|
|
6743633 |
%{_libdir}/ugr/libugrlocplugin_dmliteclient.so
|
|
|
6743633 |
%config(noreplace) %{_sysconfdir}/ugr/ugrdmliteclientORA.conf
|
|
|
6743633 |
%config(noreplace) %{_sysconfdir}/ugr/ugrdmliteclientMY.conf
|
|
|
6743633 |
|
|
|
00370fa |
%files tpc-gfal2
|
|
|
00370fa |
%defattr (-,root,root)
|
|
|
00370fa |
%attr (-,root,root)
|
|
|
00370fa |
%config(noreplace) %{_libexecdir}/ugr/ugrpullscript_gfal.sh
|
|
|
00370fa |
%config(noreplace) %{_libexecdir}/ugr/ugrpushscript_gfal.sh
|
|
|
6743633 |
|
|
|
6743633 |
%files dmlite-frontend
|
|
|
6743633 |
%{_libdir}/ugr/libugrdmlite.so
|
|
|
6743633 |
%config(noreplace) %{_sysconfdir}/ugr/ugrdmlite.conf
|
|
|
6743633 |
%config(noreplace) %{_sysconfdir}/httpd/conf.d/zlcgdm-ugr-dav.conf
|
|
|
6743633 |
/var/www/html/dashboard/*
|
|
|
6743633 |
|
|
|
6743633 |
%changelog
|
|
|
00370fa |
* Thu Dec 06 2018 Oliver Keeble <oliver.keeble@cern.ch> - 1.4.0-1
|
|
|
00370fa |
- Upstream 1.4.0
|
|
|
00370fa |
|
|
|
3f9b6f6 |
* Fri Nov 30 2018 Oliver Keeble <oliver.keeble@cern.ch> - 1.3.3-1
|
|
|
3f9b6f6 |
- Upstream 1.3.3
|
|
|
3f9b6f6 |
|
|
|
82618e2 |
* Wed Nov 21 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.3.2-3
|
|
|
82618e2 |
- Rebuild for protobuf 3.6
|
|
|
82618e2 |
|
|
|
623fed4 |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-2
|
|
|
623fed4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
623fed4 |
|
|
|
298b69c |
* Fri May 11 2018 Oliver Keeble <oliver.keeble@cern.ch> - 1.3.2-1
|
|
|
298b69c |
- New upstream release
|
|
|
298b69c |
|
|
|
404727b |
* Mon Mar 26 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.3.1-10
|
|
|
404727b |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
404727b |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
404727b |
|
|
|
419952f |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-9
|
|
|
419952f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
419952f |
|
|
Igor Gnatenko |
3b0c837 |
* Wed Nov 29 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.3.1-8
|
|
Igor Gnatenko |
3b0c837 |
- Rebuild for protobuf 3.5
|
|
Igor Gnatenko |
3b0c837 |
|
|
|
8c7fa6f |
* Mon Nov 13 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.3.1-7
|
|
|
8c7fa6f |
- Rebuild for protobuf 3.4
|
|
|
8c7fa6f |
|
|
|
dede743 |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-5
|
|
|
dede743 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
dede743 |
|
|
|
5a94288 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-4
|
|
|
5a94288 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
5a94288 |
|
|
|
cf93ecc |
* Mon Jul 24 2017 Björn Esser <besser82@fedoraproject.org> - 1.3.1-3
|
|
|
cf93ecc |
- Rebuilt for Boost 1.64
|
|
|
cf93ecc |
|
|
Orion Poplawski |
0521594 |
* Tue Jun 13 2017 Orion Poplawski <orion@cora.nwra.com> - 1.3.1-2
|
|
Orion Poplawski |
0521594 |
- Rebuild for protobuf 3.3.1
|
|
Orion Poplawski |
0521594 |
|
|
|
afad9ee |
* Tue May 30 2017 Andrea Manzi <amanzi at cern.ch> - 1.3.1-1
|
|
|
afad9ee |
- new upstream release
|
|
|
afad9ee |
|
|
|
7ded98c |
* Wed Apr 12 2017 Andrea Manzi <amanzi at cern.ch> - 1.3.0-1
|
|
|
7ded98c |
- new upstream release
|
|
|
7ded98c |
|
|
|
d70492b |
* Tue Mar 14 2017 Andrea Manzi <amanzi at cern.ch> - 1.2.5-1
|
|
|
d70492b |
- new bug fix release
|
|
|
d70492b |
|
|
|
b375ba5 |
* Tue Feb 21 2017 Andrea Manzi <amanzi at cern.ch> - 1.2.4-1
|
|
|
b375ba5 |
- new bug fix release
|
|
|
b375ba5 |
|
|
|
739f989 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-5
|
|
|
739f989 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
739f989 |
|
|
Orion Poplawski |
8ed3d94 |
* Mon Jan 23 2017 Orion Poplawski <orion@cora.nwra.com> - 1.2.3-4
|
|
Orion Poplawski |
8ed3d94 |
- Rebuild for protobuf 3.2.0
|
|
Orion Poplawski |
8ed3d94 |
|
|
Orion Poplawski |
8ed3d94 |
* Mon Jan 23 2017 Orion Poplawski <orion@cora.nwra.com> - 1.2.3-3
|
|
Orion Poplawski |
8ed3d94 |
- Rebuild for protobuf 3.2.0
|
|
Orion Poplawski |
8ed3d94 |
|
|
Orion Poplawski |
ec6fa95 |
* Sat Nov 19 2016 Orion Poplawski <orion@cora.nwra.com> - 1.2.3-2
|
|
Orion Poplawski |
ec6fa95 |
- Rebuild for protobuf 3.1.0
|
|
Orion Poplawski |
ec6fa95 |
|
|
|
8f6c6e2 |
* Wed Oct 26 2016 Fabrizio Furano <furano at cern.ch> - 1.2.3-1
|
|
|
8f6c6e2 |
- new bug fix release
|
|
|
bc74340 |
* Fri Jul 01 2016 Fabrizio Furano <furano at cern.ch> - 1.2.2-2
|
|
|
bc74340 |
- fixing dependency issue in EL7 and F25
|
|
|
00370fa |
* Wed May 18 2016 Fabrizio Furano <furano at cern.ch> - 1.2.1-1
|
|
|
6743633 |
- Little packaging fixes for inclusion into EPEL
|
|
|
6743633 |
* Fri Jun 01 2012 Adrien Devresse <adevress at cern.ch> - 0.0.2-0.1-2012052812snap
|
|
|
6743633 |
- initial draft
|