[lcgdm-dav] Initial import (#749299).

Ricardo Rocha rocha at fedoraproject.org
Mon Dec 19 18:43:33 UTC 2011


commit 18a7cfb4cc39d55f314eb5ffcd0ed4d2c170f76d
Author: Ricardo Rocha <rocha at rocha-fedora16.(none)>
Date:   Mon Dec 19 19:43:30 2011 +0100

    Initial import (#749299).

 .gitignore     |    1 +
 lcgdm-dav.spec |  141 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources        |    1 +
 3 files changed, 143 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..908bd70 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/lcgdm-dav-0.5.4.tar.gz
diff --git a/lcgdm-dav.spec b/lcgdm-dav.spec
new file mode 100644
index 0000000..8163cc0
--- /dev/null
+++ b/lcgdm-dav.spec
@@ -0,0 +1,141 @@
+Name:		lcgdm-dav
+Version:	0.5.4
+Release:	1%{?dist}
+Summary:	HTTP/DAV front end to the DPM/LFC services
+Group:		Applications/Internet
+License:	ASL 2.0
+URL:		https://svnweb.cern.ch/trac/lcgdm
+# The source of this package was pulled from upstream's vcs. Use the
+# following commands to generate the tarball:
+# svn export http://svn.cern.ch/guest/lcgdm/lcgdm-dav/tags/lcgdm-webdav_0_5_4 lcgdm-dav-0.5.4
+# tar -czvf lcgdm-dav-0.5.4.tar.gz lcgdm-dav-0.5.4
+Source0:	%{name}-%{version}.tar.gz
+Buildroot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires:	cmake%{?_isa}
+%if %{?fedora}%{!?fedora:0} >= 10 || %{?rhel}%{!?rhel:0} >= 6
+BuildRequires:	libcurl-devel
+%else
+BuildRequires:	curl-devel
+%endif
+BuildRequires:	dpm-devel%{?_isa}
+BuildRequires:	gridsite-devel%{?_isa}
+BuildRequires:	gsoap-devel%{?_isa}
+BuildRequires:	httpd-devel%{?_isa}
+BuildRequires:	openssl-devel%{?isa}
+BuildRequires:	subversion%{?_isa}
+
+Requires:	curl%{?_isa}
+
+%description
+This package provides the HTTP/DAV front end to the LCGDM components 
+(DPM and LFC).
+
+The Disk Pool Manager (DPM) is a lightweight grid storage component, allowing
+access to data using commonly used grid protocols. The LCG File Catalog (LFC)
+is the main catalog being used by grid communities for both file bookkeeping
+and meta-data.
+
+%package libs
+Summary:	Common libraries for the lcgdm-dav
+Group:		Applications/Internet
+
+%description libs
+The lcgdm-dav specific client common libraries, with support for multiple
+stream transfers, certificate delegation, among other features.
+
+%package devel
+Summary:	Development libraries and headers for lcgdm-dav
+Group:		Applications/Internet
+Requires:	%{name}-libs%{?_isa} = %{version}-%{release}
+
+%description devel
+The lcgdm-dav development libraries and headers, with support for multiple
+stream transfers, certificate delegation, among other features.
+
+%package server
+Summary:	HTTP/DAV front end to the DPM and LFC services
+Group:		Applications/Internet
+Requires:	gridsite%{?_isa} >= 1.7
+Requires:	httpd%{?_isa}
+Requires:	mod_ssl%{?_isa}
+
+%description server
+The lcgdm-dav server package providing the HTTP and DAV front end to the LCGDM
+(DPM and LFC) services.
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+%cmake . -DCMAKE_INSTALL_PREFIX=/
+
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT
+
+make install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post libs -p /sbin/ldconfig
+
+%postun libs -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%{_bindir}/htcopy
+%{_mandir}/man1/htcopy.1*
+%doc client/README LICENSE
+
+%files libs
+%defattr(-,root,root,-)
+%{_libdir}/liblcgdmhtext.so.*
+%doc README LICENSE
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/lcgdm-dav
+%{_libdir}/liblcgdmhtext.so
+
+%files server
+%defattr(-,root,root,-)
+%config(noreplace) %{_sysconfdir}/httpd/conf.d/*
+%{_libdir}/httpd/modules/mod_lcgdm_provider.so
+%{_libdir}/httpd/modules/mod_lcgdm_dav.so
+%{_datadir}/%{name}/*
+
+%changelog
+* Thu Dec 08 2011 Ricardo Rocha <ricardo.rocha at cern.ch> - 0.5.4-1
+- Removed -server scriptlets (other httpd modules do not provide them)
+- Renamed lcgdm-dav.conf to zlcgdm-dav.conf to fix load order
+
+* Thu Dec 08 2011 Ricardo Rocha <ricardo.rocha at cern.ch> - 0.5.3-1
+- Removed useless BuildRequires from -devel package
+- Updated scriplets to reload httpd
+- Update for upstream patch release (gives own dir for static files)
+
+* Mon Dec 05 2011 Ricardo Rocha <ricardo.rocha at cern.ch> - 0.5.2-1
+- Dropped init scripts (use the standard httpd ones instead)
+- Dropped ldconfig from -devel scriptlets
+- Added dependency on mod_ssl for server package
+- Added man page for htcopy tool
+- Update for upstream patch release
+
+* Mon Nov 07 2011 Ricardo Rocha <ricardo.rocha at cern.ch> - 0.5.1-1
+- Fixed issue with CFLAGS not being taken into account
+ 
+* Fri Nov 04 2011 Ricardo Rocha <ricardo.rocha at cern.ch> - 0.5.0-2
+- Added proper details on tarball generation
+- svn module renamed upstream from dpm-webdav to lcgdm-dav
+- Removed useless BuildRequires
+- Optional BuildRequires for curl-devel (name changed to libcurl-devel in >EL5)
+- Removed useless Requires on libs package
+- Removed doc entries from sub-packages
+- Relocate init script to initrddir
+
+* Mon Oct 17 2011 Ricardo Rocha <ricardo.rocha at cern.ch> - 0.5.0-1
+- Initial build
diff --git a/sources b/sources
index e69de29..7600b3c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d5df2e59172230543a1b6ada020de4ce  lcgdm-dav-0.5.4.tar.gz


More information about the scm-commits mailing list