Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3:Update
xrootd
xrootd.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xrootd.spec of Package xrootd
# # spec file for package xrootd # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: xrootd Version: 3.2.7 Release: 0 Summary: An eXtended Root Daemon (xrootd) License: BSD-3-Clause Group: System/Daemons Url: http://xrootd.org/ Source0: http://xrootd.slac.stanford.edu/download/v%{version}/xrootd-%{version}.tar.gz Source1: xrootd Source2: cmsd Source3: frm_xfrd Source4: frm_purged BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: cmake >= 2.8 BuildRequires: fdupes BuildRequires: fuse-devel BuildRequires: gcc-c++ BuildRequires: krb5-devel BuildRequires: libxml2-devel BuildRequires: ncurses-devel BuildRequires: openssl-devel BuildRequires: readline-devel BuildRequires: swig BuildRequires: zlib-devel %description The eXtended Root Daemon %prep %setup -q -n %{name}-%{version} %build mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DCMAKE_BUILD_TYPE=RelWithDebInfo ../ make %{?_smp_mflags} %install cd build rm -rf $RPM_BUILD_ROOT make %{?_smp_mflags} install DESTDIR=$RPM_BUILD_ROOT cd .. rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/* mkdir -p $RPM_BUILD_ROOT%{_var}/log/%{name} mkdir -p $RPM_BUILD_ROOT%{_var}/run/%{name} mkdir -p $RPM_BUILD_ROOT%{_var}/spool/%{name} mkdir -p $RPM_BUILD_ROOT%{_var}/adm/fillup-templates/ mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/%{name} mkdir -p $RPM_BUILD_ROOT%{_initrddir} mkdir -p $RPM_BUILD_ROOT%{_sbindir} install -m 644 packaging/rhel/xrootd.sysconfig $RPM_BUILD_ROOT%{_var}/adm/fillup-templates/sysconfig.%{name} install -m 755 %{SOURCE2} $RPM_BUILD_ROOT%{_initrddir}/cmsd install -m 755 %{SOURCE4} $RPM_BUILD_ROOT%{_initrddir}/frm_purged install -m 755 %{SOURCE3} $RPM_BUILD_ROOT%{_initrddir}/frm_xfrd install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/xrootd install -m 755 packaging/rhel/xrootd.functions $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/xrootd.functions install -m 644 packaging/common/xrootd-clustered.cfg $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/xrootd-clustered.cfg install -m 644 packaging/common/xrootd-standalone.cfg $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/xrootd-standalone.cfg ln -sf %{_initrddir}/xrootd $RPM_BUILD_ROOT%{_sbindir}/rcxrootd ln -sf %{_initrddir}/cmsd $RPM_BUILD_ROOT%{_sbindir}/rccmsd ln -sf %{_initrddir}/frm_purged $RPM_BUILD_ROOT%{_sbindir}/rcfrm_purged ln -sf %{_initrddir}/frm_xfrd $RPM_BUILD_ROOT%{_sbindir}/rcfrm_xfrd chmod -x $RPM_BUILD_ROOT%{_datadir}/%{name}/utils/XrdCmsNotify.pm %fdupes $RPM_BUILD_ROOT%{_bindir} %clean rm -rf $RPM_BUILD_ROOT %package client Summary: XRootD client Group: Productivity/Clustering/Computing Requires: %{name}-libs = %{version}-%{release} %description client The XRootD client software. %files client %defattr(-,root,root,-) %{_libdir}/libXrdClient*.so.* %{_libdir}/libXrdPosix.so.* %{_libdir}/libXrdPosixPreload.so.* %{_libdir}/libXrdFfs.so.* %{_libdir}/XrdClientAdmin.pm %{_bindir}/xprep %{_bindir}/xrd %{_bindir}/xrdcp %{_bindir}/xrdgsiproxy %{_bindir}/xrdstagetool %doc %{_mandir}/man1/xprep.1.gz %doc %{_mandir}/man1/xrd.1.gz %doc %{_mandir}/man1/xrdadler32.1.gz %doc %{_mandir}/man1/xrdcp.1.gz %doc %{_mandir}/man1/xrdstagetool.1.gz %doc %{_mandir}/man1/xrdgsiproxy.1.gz %post client -p /sbin/ldconfig %postun client -p /sbin/ldconfig %package client-devel Summary: XRootD-client development files Group: Development/Libraries/Other Requires: %{name}-client = %{version}-%{release} Requires: %{name}-libs = %{version}-%{release} Requires: %{name}-libs-devel = %{version}-%{release} %description client-devel Headers for compiling against xrootd-client %files client-devel %defattr(-,root,root,-) %{_libdir}/libXrdClient*.so %{_libdir}/libXrdPosix.so %{_libdir}/libXrdPosixPreload.so %{_libdir}/libXrdFfs.so %{_includedir}/%{name}/XrdClient %{_includedir}/%{name}/XrdPosix %{_includedir}/%{name}/XrdFfs %package fuse Summary: XRootD filesystem Group: System/Filesystems Requires: %{name}-client = %{version}-%{release} Requires: %{name}-libs = %{version}-%{release} Requires: fuse %description fuse Fuse driver for xrootd %files fuse %defattr(-,root,root,-) %{_bindir}/xrootdfs %doc %{_mandir}/man1/xrootdfs.1.gz %attr(-,daemon,daemon) %dir %{_sysconfdir}/%{name}/ %package server Summary: XRootD server Group: System/Daemons Requires: %{name}-client = %{version}-%{release} Requires: %{name}-libs = %{version}-%{release} Requires(pre): %insserv_prereq %fillup_prereq %description server The XRootD server %files server %defattr(-,root,root,-) %{_bindir}/cconfig %{_bindir}/cmsd %{_bindir}/cns_ssi %{_bindir}/frm_admin %{_bindir}/frm_purged %{_bindir}/frm_xfragent %{_bindir}/frm_xfrd %{_bindir}/mpxstats %{_bindir}/wait41 %{_bindir}/xrdadler32 %{_bindir}/XrdCnsd %{_bindir}/xrdpwdadmin %{_bindir}/xrdsssadmin %{_bindir}/xrootd %{_libdir}/libXrdBwm.so.* %{_libdir}/libXrdPss*.so.* %{_libdir}/libXrdOfs*.so.* %{_libdir}/libXrdServer.so.* %doc %{_mandir}/man8/* %{_var}/adm/fillup-templates/sysconfig.%{name} %config(noreplace) %{_sysconfdir}/%{name}/xrootd-clustered.cfg %config(noreplace) %{_sysconfdir}/%{name}/xrootd-standalone.cfg %ghost%attr(-,daemon,daemon) %dir %{_var}/log/%{name} %ghost %attr(-,daemon,daemon) %dir %{_var}/run/%{name} %attr(-,daemon,daemon) %dir %{_var}/spool/%{name} %dir %{_datadir}/%{name} %{_datadir}/%{name}/utils %{_initrddir}/%{name} %{_initrddir}/cmsd %{_initrddir}/frm_xfrd %{_initrddir}/frm_purged %{_initrddir}/xrootd %{_sysconfdir}/%{name}/xrootd.functions %{_sbindir}/rcxrootd %{_sbindir}/rccmsd %{_sbindir}/rcfrm_xfrd %{_sbindir}/rcfrm_purged %post server /sbin/ldconfig || exit 1 %{fillup_and_insserv -n xrootd xrootd} %restart_on_update xrootd %fillup_and_insserv cmsd %restart_on_update cmsd %fillup_and_insserv frm_purged %restart_on_update frm_purged %fillup_and_insserv frm_xfrd %restart_on_update frm_xfrd %preun server %stop_on_removal xrootd %stop_on_removal cmsd %stop_on_removal frm_purged %stop_on_removal frm_xfrd %postun server /sbin/ldconfig || exit 1 %insserv_cleanup xrootd %restart_on_update xrootd %insserv_cleanup cmsd %restart_on_update cmsd %insserv_cleanup frm_purged %restart_on_update frm_purged %insserv_cleanup frm_xfrd %restart_on_update frm xfrd %package server-devel Summary: XRootD-server development files Group: Development/Libraries/Other Requires: %{name}-client = %{version}-%{release} Requires: %{name}-client-devel = %{version}-%{release} Requires: %{name}-libs = %{version}-%{release} Requires: %{name}-libs-devel = %{version}-%{release} Requires: %{name}-server = %{version}-%{release} %description server-devel Headers for compiling against xrootd-server %files server-devel %defattr(-,root,root,-) %{_libdir}/libXrdBwm.so %{_libdir}/libXrdPss*.so %{_libdir}/libXrdOfs*.so %{_libdir}/libXrdServer.so %{_includedir}/%{name}/XrdAcc %{_includedir}/%{name}/XrdBwm %{_includedir}/%{name}/XrdCms %{_includedir}/%{name}/XrdOfs %{_includedir}/%{name}/XrdOss %{_includedir}/%{name}/XrdPss %{_includedir}/%{name}/XrdFrc %{_includedir}/%{name}/XrdSfs %{_includedir}/%{name}/XrdCks %package libs Summary: XRootD core libraries Group: System/Libraries %description libs The XRootD core libraries %files libs %defattr(-,root,root,-) %{_libdir}/libXrdSec*.so.* %{_libdir}/libXrdCrypto*.so.* %{_libdir}/libXrdUtils.so.* %{_libdir}/libXrdMain.so.* %post libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig %package libs-devel Summary: XRootD-lib development files Group: Development/Libraries/Other Requires: %{name}-libs = %{version}-%{release} %description libs-devel Headers for compiling against xrootd-libs %files libs-devel %defattr(-,root,root,-) %dir %{_includedir}/%{name} %{_libdir}/libXrdSec*.so %{_libdir}/libXrdCrypto*.so %{_libdir}/libXrdUtils.so %{_libdir}/libXrdMain.so %{_includedir}/%{name}/XrdVersion.hh %{_includedir}/%{name}/XrdSec %{_includedir}/%{name}/XrdSecsss %{_includedir}/%{name}/XrdSecgsi %{_includedir}/%{name}/XrdCrypto %{_includedir}/%{name}/XrdSut %{_includedir}/%{name}/XrdNet %{_includedir}/%{name}/XrdOuc %{_includedir}/%{name}/XrdSys %{_includedir}/%{name}/Xrd %{_includedir}/%{name}/XProtocol %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor