[dpm-xrootd] initial import

Ricardo Rocha rocha at fedoraproject.org
Wed Jul 11 09:49:26 UTC 2012


commit 3e7023b92b88a8eb6d5643d478e1aabdf293ae72
Author: Ricardo Rocha <rocha.porto at gmail.com>
Date:   Wed Jul 11 11:47:46 2012 +0200

    initial import

 .gitignore      |    1 +
 dpm-xrootd.spec |  119 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources         |    1 +
 3 files changed, 121 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..cc429ab 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/dpm-xrootd-3.1.0.tar.gz
diff --git a/dpm-xrootd.spec b/dpm-xrootd.spec
new file mode 100644
index 0000000..4226fe1
--- /dev/null
+++ b/dpm-xrootd.spec
@@ -0,0 +1,119 @@
+Name:		dpm-xrootd
+Summary:	XROOT interface to the Disk Pool Manager (DPM)
+Version:	3.1.0
+Release:	1%{?dist}
+License:	GPLv3
+Group:		Applications/Internet
+URL:		http://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/dpm-xrootd/tags/dpm-xrootd_3_1_0 dpm-xrootd-3.1.0
+# tar -czvf dpm-xrootd-3.1.0.tar.gz dpm-xrootd-3.1.0
+Source0:	%{name}-%{version}.tar.gz
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires:	cmake
+BuildRequires:	dpm-devel
+BuildRequires:	openssl-devel
+BuildRequires:	xrootd-devel
+
+Requires(preun):	chkconfig
+Requires(preun):	initscripts
+Requires(post):		chkconfig
+Requires(postun):	initscripts
+Requires:		xrootd
+Provides:		DPM-xrootd = %{version}-%{release}
+Obsoletes:		DPM-xrootd <= 2.2.0
+
+%description
+This package contains plugins for XROOTD to allow it to provide
+access to DPM managed storage via the XROOT protocol.
+
+%package devel 
+Summary:	Development libraries and headers for the DPM XROOT interface 
+Group:		Applications/Internet 
+Requires:	dpm-xrootd%{?isa} = %{version}-%{release} 
+ 
+%description devel 
+This package contains the development libraries and headers for the  
+DPM XROOT interface. 
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+%cmake . -DCMAKE_INSTALL_PREFIX=/
+
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+make DESTDIR=%{buildroot} install
+mkdir -p %{buildroot}%{_bindir}
+
+%clean
+rm -rf %{buildroot}
+
+%post -p /sbin/ldconfig
+
+%preun
+if [ "$1" = "0" ]; then
+    /sbin/service xrootd stop >/dev/null 2>&1
+    /sbin/service cmsd stop >/dev/null 2>&1
+fi
+
+%postun
+/sbin/ldconfig
+if [ "$1" -ge "1" ] ; then
+    /sbin/service xrootd condrestart >/dev/null 2>&1 || :
+    /sbin/service cmsd condrestart >/dev/null 2>&1 || :
+fi
+
+%files
+%defattr(-,root,root)
+%config(noreplace) %{_sysconfdir}/xrootd/*.cfg
+%config(noreplace) %{_sysconfdir}/sysconfig/xrootd.dpm-templ
+%{_libdir}/libXrdDPM*.so.*
+%doc COPYING
+
+%files devel 
+%defattr(-,root,root) 
+%dir %{_includedir}/XrdDPM 
+%{_includedir}/XrdDPM/* 
+%{_libdir}/libXrdDPM*.so 
+
+%changelog
+* Fri Jun 15 2012 Ricardo Rocha <ricardo.rocha at cern.ch> 3.1.0-1
+- Update for new upstream release
+
+* Thu May 24 2012 Ricardo Rocha <ricardo.rocha at cern.ch> 3.0.0-2
+- Added devel package
+
+* Wed Feb 29 2012 David Smith <david.smith at cern.ch> 3.0.0-1
+- New packing for 3.0.0-1
+
+* Mon Dec 05 2011 Ricardo Rocha <ricardo.rocha at cern.ch> - 2.2.5-1
+- Added dpmmgr user creation (required for service), only if non-existing
+- Put init scripts in appropriate directory (initrddir)
+- Moved include dir to -devel package
+- Update to new upstream patch release
+
+* Mon Nov 21 2011 Ricardo Rocha <ricardo.rocha at cern.ch> - 2.2.4-1
+- Fixed license to match upstream (GPLv3)
+- Update to new upstream version
+
+* Sat Nov 19 2011 Ricardo Rocha <ricardo.rocha at cern.ch> - 2.2.3-2
+- Added provides/obsoletes entry for DPM-xrootd <= 2.2.0
+
+* Tue Nov 16 2011 Ricardo Rocha <ricardo.rocha at cern.ch> - 2.2.3-1
+- Fixed spelling issues (detected by rpmlint)
+- Added dependency on dpm-xrootd from devel package
+- Removed ldconfig from -devel scriptlets
+- Dropped useless doc files from -devel package
+- Updated to build 2.2.3 upstream release (move to cmake and several fixes)
+
+* Tue Nov 08 2011 Ricardo Rocha <ricardo.rocha at cern.ch> - 2.2.2-1
+- Updated to build 2.2.2 upstream release (fixes for build in >=RHEL5)
+
+* Mon Oct 17 2011 Ricardo Rocha <ricardo.rocha at cern.ch> - 2.2.1-1
+- Initial build
diff --git a/sources b/sources
index e69de29..8bd4cb4 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+afaea30b20f8b579a2a6e18a8167f24d  dpm-xrootd-3.1.0.tar.gz


More information about the scm-commits mailing list