[davix] - Initial update of davix R_0_2_2

Devresse adev at fedoraproject.org
Thu Jun 20 12:38:29 UTC 2013


commit 03606fb9fa5ec68f61dda319edbdbe334baa7e76
Author: Adrien Devresse <Adrien.Devresse at cern.ch>
Date:   Thu Jun 20 14:32:00 2013 +0200

    - Initial update of davix R_0_2_2

 .gitignore |    1 +
 davix.spec |  104 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources    |    1 +
 3 files changed, 106 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a23a99b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/davix-0.2.2.tar.gz
diff --git a/davix.spec b/davix.spec
new file mode 100644
index 0000000..2ba0ddb
--- /dev/null
+++ b/davix.spec
@@ -0,0 +1,104 @@
+Name:				davix
+Version:			0.2.2
+Release:			2%{?dist}
+Summary:			Toolkit for Http-based file management
+Group:				Applications/Internet
+License:			LGPLv2+
+URL:				https://svnweb.cern.ch/trac/lcgutil/wiki/davix
+# git clone http://git.cern.ch/pub/davix
+Source0:			http://grid-deployment.web.cern.ch/grid-deployment/dms/lcgutil/tar/%{name}/%{name}-%{version}.tar.gz
+BuildRoot:			%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+
+#main lib dependencies
+BuildRequires:		cmake
+BuildRequires:		doxygen
+BuildRequires:		libxml2-devel
+BuildRequires:		openssl-devel
+
+%description
+Davix is a toolkit designed for file operations
+with Http based protocols (WebDav, Amazon S3, ...).
+Davix provides an API and a set of command line tools.
+
+%package libs
+Summary:			Development files for %{name}
+Group:				Applications/Internet
+
+%description libs
+Libraries for %{name}. Davix is a toolkit designed for file operations
+with Http based protocols (WebDav, Amazon S3, ...).
+
+
+%package devel
+Summary:			Development files for %{name}
+Group:				Applications/Internet
+Requires:			%{name}-libs%{?_isa} = %{version}-%{release}
+Requires:			pkgconfig
+
+%description devel
+Development files for %{name}. Davix is a toolkit designed for file operations
+with Http based protocols (WebDav, Amazon S3, ...).
+
+%package doc
+Summary:			Documentation for %{name}
+Group:				Applications/Internet
+Requires:			%{name}%{?_isa} = %{version}-%{release}
+
+%description doc
+Documentation and examples for %{name}. Davix is a toolkit designed 
+for file operations with Http based protocols (WebDav, Amazon S3, ...).
+
+%clean
+rm -rf %{buildroot};
+make clean
+
+%prep
+%setup -q
+
+%build
+%cmake \
+-DDOC_INSTALL_DIR=%{_docdir}/%{name}-%{version} \
+-D UNIT_TESTS=TRUE .
+make %{?_smp_mflags}
+make doc
+
+%check
+ctest -V -T Test
+
+
+%install
+rm -rf %{buildroot}
+make DESTDIR=%{buildroot} install
+
+%post libs -p /sbin/ldconfig
+
+%postun libs -p /sbin/ldconfig
+
+%files
+%defattr (-,root,root)
+%{_bindir}/*
+
+%files libs
+%defattr (-,root,root)
+%{_libdir}/libdavix.so.*
+%{_docdir}/%{name}-%{version}/RELEASE-NOTES
+%{_docdir}/%{name}-%{version}/LICENSE
+
+%files devel
+%defattr (-,root,root)
+%{_libdir}/libdavix.so
+%dir %{_includedir}/davix
+%{_includedir}/davix/*
+%{_libdir}/pkgconfig/*
+
+%files doc
+%defattr (-,root,root)
+%dir %{_docdir}/%{name}-%{version}/
+%dir %{_docdir}/%{name}-%{version}/html/
+%{_docdir}/%{name}-%{version}/html/*
+
+%changelog
+* Wed Jun 05 2013 Adrien Devresse <adevress at cern.ch> - 0.2.2-2
+ - Initial EPEL release
+ 
+ 
diff --git a/sources b/sources
index e69de29..5c34704 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+5c4bddfce3809508070df6c647a757e2  davix-0.2.2.tar.gz


More information about the scm-commits mailing list