From 39a77b7361051f61043434435679cb101e3d2e69 Mon Sep 17 00:00:00 2001 From: Lukasz Janyst Date: Fri, 7 Jun 2013 18:40:14 +0200 Subject: [PATCH] [RPM] Adopt to EPEL layout --- packaging/rhel/xrootd.spec.in | 538 +++++++++++++++++++--------------- 1 file changed, 307 insertions(+), 231 deletions(-) diff --git a/packaging/rhel/xrootd.spec.in b/packaging/rhel/xrootd.spec.in index cdf6db19719..abd80efee47 100644 --- a/packaging/rhel/xrootd.spec.in +++ b/packaging/rhel/xrootd.spec.in @@ -12,9 +12,9 @@ Name: xrootd Epoch: 1 Version: __VERSION__ Release: __RELEASE__%{?dist}%{?_with_xrootd_user:.xu} -Summary: An extended root daemon (xrootd) +Summary: Extended ROOT file server Group: System Environment/Daemons -License: BSD +License: LGPL URL: http://xrootd.org/ # git clone http://xrootd.org/repo/xrootd.git xrootd @@ -25,9 +25,15 @@ Source1: xrootd-3.3.1.tar.gz BuildRoot: %{_tmppath}/%{name}-root -BuildRequires: cmake >= 2.8 -BuildRequires: readline-devel openssl-devel fuse-devel -BuildRequires: libxml2-devel krb5-devel zlib-devel ncurses-devel +BuildRequires: cmake +BuildRequires: krb5-devel +BuildRequires: readline-devel +BuildRequires: openssl-devel +BuildRequires: fuse-devel +BuildRequires: libxml2-devel +BuildRequires: krb5-devel +BuildRequires: zlib-devel +BuildRequires: ncurses-devel # Perl packaging changed on SLC6 - we require perl-devel to build %if 0%{?rhel} >= 6 || %{?fedora}%{!?fedora:0} >= 15 @@ -38,139 +44,184 @@ BuildRequires: perl-devel BuildRequires: cppunit-devel %endif +BuildRequires: doxygen +BuildRequires: graphviz +%if "%{?rhel}" == "5" +BuildRequires: graphviz-gd +%endif + +Provides: %{name}-server = %{epoch}:%{version}-%{release} +Obsoletes: %{name}-server < %{epoch}:%{version}-%{release} +Requires: %{name}-libs = %{epoch}:%{version}-%{release} +Requires: %{name}-client-libs = %{epoch}:%{version}-%{release} +Requires: %{name}-server-libs = %{epoch}:%{version}-%{release} + +Requires(pre): shadow-utils +Requires(pre): chkconfig +Requires(post): chkconfig +Requires(preun): chkconfig +Requires(preun): initscripts +Requires(postun): initscripts + %description -%{summary} +The Extended root file server consists of a file server called xrootd +and a cluster management server called cmsd. -#------------------------------------------------------------------------------- -# client -#------------------------------------------------------------------------------- -%package client -Summary: XRootD client -Group: System Environment/Applications -Requires: %{name}-libs = %{epoch}:%{version}-%{release} -%description client -The XRootD client software. +The xrootd server was developed for the root analysis framework to +serve root files. However, the server is agnostic to file types and +provides POSIX-like access to any type of file. + +The cmsd server is the next generation version of the olbd server, +originally developed to cluster and load balance Objectivity/DB AMS +database servers. It provides enhanced capability along with lower +latency and increased throughput. #------------------------------------------------------------------------------- -# client-devel +# libs #------------------------------------------------------------------------------- -%package client-devel -Summary: Headers for compiling against xrootd-client -Group: System Environment/Libraries -Requires: %{name}-libs = %{epoch}:%{version}-%{release} -Requires: %{name}-libs-devel = %{epoch}:%{version}-%{release} -Requires: %{name}-client = %{epoch}:%{version}-%{release} -%description client-devel -Headers for compiling against xrootd-client +%package libs +Summary: Libraries used by xrootd servers and clients +Group: System Environment/Libraries +Obsoletes: %{name}-client-admin-java < 1:3.3.0 + +%description libs +This package contains libraries used by the xrootd servers and clients. #------------------------------------------------------------------------------- -# new client -#------------------------------------------------------------------------------- -%package cl -Summary: The new XRootD client -Group: System Environment/Applications -Requires: %{name}-libs = %{epoch}:%{version}-%{release} -%description cl -The new XRootD client software. +# devel +#------------------------------------------------------------------------------ +%package devel +Summary: Development files for xrootd +Group: Development/Libraries +Provides: %{name}-libs-devel = %{epoch}:%{version}-%{release} +Provides: %{name}-libs-devel%{?_isa} = %{epoch}:%{version}-%{release} +Obsoletes:%{name}-libs-devel < %{epoch}:%{version}-%{release} +Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release} + +%description devel +This package contains header files and development libraries for xrootd +development. #------------------------------------------------------------------------------- -# new client devel +# client-libs #------------------------------------------------------------------------------- -%package cl-devel -Summary: Headers for compiling against xrootd-cl -Group: System Environment/Libraries -Requires: %{name}-libs = %{epoch}:%{version}-%{release} -Requires: %{name}-libs-devel = %{epoch}:%{version}-%{release} -Requires: %{name}-cl = %{epoch}:%{version}-%{release} -%description cl-devel -Headers for compiling against xrootd-cl +%package client-libs +Summary: Libraries used by xrootd clients +Group: System Environment/Libraries +Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release} + +%description client-libs +This package contains libraries used by xrootd clients. #------------------------------------------------------------------------------- -# fuse +# client-devel #------------------------------------------------------------------------------- -%package fuse -Summary: XRootD filesystem -Group: System Environment/Filesystems -Requires: %{name}-client = %{epoch}:%{version}-%{release} -Requires: %{name}-libs = %{epoch}:%{version}-%{release} -Requires: fuse -%description fuse -Fuse driver for xrootd +%package client-devel +Summary: Development files for xrootd clients +Group: Development/Libraries +Requires: %{name}-devel%{?_isa} = %{epoch}:%{version}-%{release} +Requires: %{name}-client-libs%{?_isa} = %{epoch}:%{version}-%{release} + +%description client-devel +This package contains header files and development libraries for xrootd +client development. #------------------------------------------------------------------------------- -# server +# server-libs #------------------------------------------------------------------------------- -%package server -Summary: XRootD server -Group: System Environment/Daemons -Requires: %{name}-libs = %{epoch}:%{version}-%{release}, %{name}-client = %{epoch}:%{version}-%{release} -Obsoletes: xrootd -Requires(post): chkconfig -Requires(preun): chkconfig -# for /sbin/service -Requires(preun): initscripts -Requires(postun): initscripts +%package server-libs +Summary: Libraries used by xrootd servers +Group: System Environment/Libraries +Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release} +Requires: %{name}-client-libs%{?_isa} = %{epoch}:%{version}-%{release} -%description server -XRootD server +%description server-libs +This package contains libraries used by xrootd servers. #------------------------------------------------------------------------------- # server-devel #------------------------------------------------------------------------------- %package server-devel -Summary: Headers for compiling against xrootd-server -Group: System Environment/Libraries -Requires: %{name}-server = %{epoch}:%{version}-%{release} -Requires: %{name}-libs = %{epoch}:%{version}-%{release} -Requires: %{name}-client = %{epoch}:%{version}-%{release} -Requires: %{name}-libs-devel = %{epoch}:%{version}-%{release} -Requires: %{name}-client-devel = %{epoch}:%{version}-%{release} -Obsoletes: xrootd-devel +Summary: Development files for xrootd servers +Group: Development/Libraries +Requires: %{name}-devel%{?_isa} = %{epoch}:%{version}-%{release} +Requires: %{name}-client-devel%{?_isa} = %{epoch}:%{version}-%{release} +Requires: %{name}-server-libs%{?_isa} = %{epoch}:%{version}-%{release} + %description server-devel -Headers for compiling against xrootd-server +This package contains header files and development libraries for xrootd +server development. #------------------------------------------------------------------------------- -# libs +# private devel #------------------------------------------------------------------------------- -%package libs -Summary: XRootD core libraries -Group: System Environment/Libraries -%description libs -XRootD core libraries +%package private-devel +Summary: Legacy xrootd headers +Group: Development/Libraries +Requires: %{name}-libs = %{epoch}:%{version}-%{release} +%if %{?fedora}%{!?fedora:0} >= 10 || %{?rhel}%{!?rhel:0} >= 6 +BuildArch: noarch +%endif + +%description private-devel +This package contains some private xrootd headers. The use of these +headers is strongly discouraged. Backward compatibility between +versions is not guaranteed for these headers. #------------------------------------------------------------------------------- -# libs devel +# client #------------------------------------------------------------------------------- -%package libs-devel -Summary: Headers for compiling against xrootd-lib -Group: System Environment/Libraries -Requires: %{name}-libs = %{epoch}:%{version}-%{release} -%description libs-devel -Headers for compiling against xrootd-libs +%package client +Summary: Xrootd command line client tools +Group: Applications/Internet +Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release} +Requires: %{name}-client-libs%{?_isa} = %{epoch}:%{version}-%{release} + +%description client +This package contains the command line tools used to communicate with +xrootd servers. #------------------------------------------------------------------------------- -# private devel +# fuse #------------------------------------------------------------------------------- -%package private-devel -Summary: Transitional package holding some private headers -Group: System Environment/Libraries -Requires: %{name}-libs = %{epoch}:%{version}-%{release} -%description private-devel -Transitional package holding some private headers +%package fuse +Summary: Xrootd FUSE tool +Group: Applications/Internet +Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release} +Requires: %{name}-client-libs%{?_isa} = %{epoch}:%{version}-%{release} +Requires: fuse + +%description fuse +This package contains the FUSE (file system in user space) xrootd mount +tool. #------------------------------------------------------------------------------- -# admin perl +# perl #------------------------------------------------------------------------------- %package client-admin-perl -Summary: XRootD client administration Perl module -Group: Development/Libraries -Requires: %{name}-client = %{epoch}:%{version}-%{release} -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Summary: Xrootd client administration Perl module +Group: Development/Libraries +Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release} +Requires: %{name}-client-libs%{?_isa} = %{epoch}:%{version}-%{release} +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description client-admin-perl This package contains a swig generated xrootd client administration Perl module. +#------------------------------------------------------------------------------- +# doc +#------------------------------------------------------------------------------- +%package doc +Summary: Developer documentation for the xrootd libraries +Group: Documentation +%if %{?fedora}%{!?fedora:0} >= 10 || %{?rhel}%{!?rhel:0} >= 6 +BuildArch: noarch +%endif + +%description doc +This package contains the API documentation of the xrootd libraries. + #------------------------------------------------------------------------------- # tests #------------------------------------------------------------------------------- @@ -202,11 +253,13 @@ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo ../ %endif make VERBOSE=1 %{?_smp_mflags} +cd .. +doxygen Doxyfile #------------------------------------------------------------------------------- # Build old libXrdCl.so.0.0.1 #------------------------------------------------------------------------------- -cd ../../xrootd-3.3.1 +cd ../xrootd-3.3.1 mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo \ @@ -267,6 +320,10 @@ mv $RPM_BUILD_ROOT/%{_libdir}/XrdClientAdmin.pm \ mv $RPM_BUILD_ROOT/%{_libdir}/XrdClientAdmin.so \ $RPM_BUILD_ROOT%{perl_vendorarch}/auto/XrdClientAdmin +# documentation +mkdir -p %{buildroot}%{_docdir}/%{name}-%{version} +cp -pr doxydoc/html %{buildroot}%{_docdir}/%{name}-%{version} + #------------------------------------------------------------------------------- # Install libXrdCl.so.0.0.1 #------------------------------------------------------------------------------- @@ -279,49 +336,50 @@ ln -sf libXrdCl.so.0.0.1 libXrdCl.so.0 rm -rf $RPM_BUILD_ROOT #------------------------------------------------------------------------------- -# Install rc*.d links +# RPM scripts #------------------------------------------------------------------------------- -%post server -/sbin/ldconfig -/sbin/chkconfig --add xrootd -/sbin/chkconfig --add cmsd -/sbin/chkconfig --add frm_purged -/sbin/chkconfig --add frm_xfrd +%post libs -p /sbin/ldconfig +%postun libs -p /sbin/ldconfig + +%post client-libs -p /sbin/ldconfig +%postun client-libs -p /sbin/ldconfig + +%post server-libs -p /sbin/ldconfig +%postun server-libs -p /sbin/ldconfig + +%pre -#------------------------------------------------------------------------------- -# Add a new user and group if necessary -#------------------------------------------------------------------------------- %if %{?_with_xrootd_user:1}%{!?_with_xrootd_user:0} -%pre server getent group xrootd >/dev/null || groupadd -r xrootd getent passwd xrootd >/dev/null || \ useradd -r -g xrootd -c "XRootD runtime user" \ - -s /sbin/nologin -d /etc/xrootd xrootd + -s /sbin/nologin -d %{_localstatedir}/spool/%{name} exit 0 %endif -#------------------------------------------------------------------------------- -# Handle deinstallation of the server -#------------------------------------------------------------------------------- -%preun server -if [ "$1" = "0" ]; then - /sbin/service xrootd stop >/dev/null 2>&1 - /sbin/service cmsdd stop >/dev/null 2>&1 - /sbin/service frm_purged stop >/dev/null 2>&1 - /sbin/service frm_xfrd stop >/dev/null 2>&1 +%post +if [ $1 -eq 1 ]; then + /sbin/chkconfig --add xrootd + /sbin/chkconfig --add cmsd + /sbin/chkconfig --add frm_purged + /sbin/chkconfig --add frm_xfrd +fi + +%preun +if [ $1 -eq 0 ]; then + /sbin/service %{name} stop >/dev/null 2>&1 || : + /sbin/service cmsd stop >/dev/null 2>&1 || : + /sbin/service frm_purged stop >/dev/null 2>&1 || : + /sbin/service frm_xfrd stop >/dev/null 2>&1 || : /sbin/chkconfig --del xrootd /sbin/chkconfig --del cmsd /sbin/chkconfig --del frm_purged /sbin/chkconfig --del frm_xfrd fi -#------------------------------------------------------------------------------- -# Handle upgrade -#------------------------------------------------------------------------------- -%postun server -/sbin/ldconfig -if [ "$1" -ge "1" ] ; then - /sbin/service xrootd condrestart >/dev/null 2>&1 || : +%postun +if [ $1 -ge 1 ]; then + /sbin/service %{name} condrestart >/dev/null 2>&1 || : /sbin/service cmsd condrestart >/dev/null 2>&1 || : /sbin/service frm_purged condrestart >/dev/null 2>&1 || : /sbin/service frm_xfrd condrestart >/dev/null 2>&1 || : @@ -335,101 +393,14 @@ fi getent group xrootd >/dev/null || groupadd -r xrootd getent passwd xrootd >/dev/null || \ useradd -r -g xrootd -c "XRootD runtime user" \ - -s /sbin/nologin -d /etc/xrootd xrootd + -s /sbin/nologin -d %{_localstatedir}/spool/%{name} exit 0 %endif -%post client -/sbin/ldconfig - -%postun client -/sbin/ldconfig - -%post libs -/sbin/ldconfig - -%postun libs -/sbin/ldconfig - #------------------------------------------------------------------------------- # Files #------------------------------------------------------------------------------- -%files libs -%defattr(-,root,root,-) -%{_libdir}/libXrdSec*.so* -%{_libdir}/libXrdCrypto*.so* -%{_libdir}/libXrdUtils.so* -%{_libdir}/libXrdCksCalc*.so* -%{_libdir}/libXrdMain.so* -%{_libdir}/libXrdAppUtils.so* - -%files libs-devel -%defattr(-,root,root,-) -%{_includedir}/%{name}/XrdVersion.hh -%{_includedir}/%{name}/XrdVersionPlugin.hh -%{_includedir}/%{name}/XrdSec -%{_includedir}/%{name}/XrdNet -%{_includedir}/%{name}/XrdOuc -%{_includedir}/%{name}/XrdSys -%{_includedir}/%{name}/Xrd -%{_includedir}/%{name}/XProtocol -%{_includedir}/%{name}/XrdCks - -%files private-devel -%defattr(-,root,root,-) -%{_includedir}/%{name}/private - -%files client -%defattr(-,root,root,-) -%{_libdir}/libXrdClient.so* -%{_libdir}/libXrdPosix.so* -%{_libdir}/libXrdPosixPreload.so* -%{_libdir}/libXrdFfs.so* -%{_bindir}/xprep -%{_bindir}/xrd -%{_bindir}/xrdcp -%{_bindir}/xrdcp-old -%{_bindir}/xrdgsiproxy -%{_bindir}/xrdstagetool -%{_bindir}/xrdadler32 -%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/xrdcp-old.1.gz -%doc %{_mandir}/man1/xrdstagetool.1.gz -%doc %{_mandir}/man1/xrdgsiproxy.1.gz - -%files client-devel -%defattr(-,root,root,-) -%{_includedir}/%{name}/XrdClient -%{_includedir}/%{name}/XrdPosix - -%files cl -%defattr(-,root,root,-) -%{_libdir}/libXrdCl.so* -%{_bindir}/xrdcopy -%{_bindir}/xrdfs -%doc %{_mandir}/man1/xrdfs.1.gz -%doc %{_mandir}/man1/xrdcopy.1.gz - -%files cl-devel -%defattr(-,root,root,-) -%{_includedir}/%{name}/XrdCl - -%files fuse -%defattr(-,root,root,-) -%{_bindir}/xrootdfs -%doc %{_mandir}/man1/xrootdfs.1.gz - -%if %{?_with_xrootd_user:1}%{!?_with_xrootd_user:0} -%attr(-,xrootd,xrootd) %dir %{_sysconfdir}/%{name}/ -%else -%attr(-,daemon,daemon) %dir %{_sysconfdir}/%{name}/ -%endif - - -%files server +%files %defattr(-,root,root,-) %{_bindir}/cconfig %{_bindir}/cmsd @@ -444,15 +415,19 @@ exit 0 %{_bindir}/xrdpwdadmin %{_bindir}/xrdsssadmin %{_bindir}/xrootd -%{_libdir}/libXrdBwm.so* -%{_libdir}/libXrdPss*.so* -%{_libdir}/libXrdOfs*.so* -%{_libdir}/libXrdServer.so* -%{_libdir}/libXrdXrootd.so* -%doc %{_mandir}/man8/* - -%config(noreplace) %{_sysconfdir}/sysconfig/%{name} - +%{_mandir}/man8/cmsd.8* +%{_mandir}/man8/cns_ssi.8* +%{_mandir}/man8/frm_admin.8* +%{_mandir}/man8/frm_purged.8* +%{_mandir}/man8/frm_xfragent.8* +%{_mandir}/man8/frm_xfrd.8* +%{_mandir}/man8/mpxstats.8* +%{_mandir}/man8/XrdCnsd.8* +%{_mandir}/man8/xrdpwdadmin.8* +%{_mandir}/man8/xrdsssadmin.8* +%{_mandir}/man8/xrootd.8* +%{_datadir}/xrootd +%{_initrddir}/* %if %{?_with_xrootd_user:1}%{!?_with_xrootd_user:0} %attr(-,xrootd,xrootd) %config(noreplace) %{_sysconfdir}/%{name}/xrootd-clustered.cfg %attr(-,xrootd,xrootd) %config(noreplace) %{_sysconfdir}/%{name}/xrootd-standalone.cfg @@ -466,14 +441,74 @@ exit 0 %attr(-,daemon,daemon) %dir %{_var}/run/%{name} %attr(-,daemon,daemon) %dir %{_var}/spool/%{name} %endif +%config(noreplace) %{_sysconfdir}/sysconfig/%{name} -%{_datadir}/%{name}/utils -%{_initrddir}/%{name} -%{_initrddir}/cmsd -%{_initrddir}/frm_xfrd -%{_initrddir}/frm_purged -%{_initrddir}/xrootd -%{_initrddir}/xrootd.functions +%files libs +%defattr(-,root,root,-) +%{_libdir}/libXrdAppUtils.so.* +%{_libdir}/libXrdCksCalczcrc32.so.* +%{_libdir}/libXrdCrypto.so.* +%{_libdir}/libXrdCryptoLite.so.* +%{_libdir}/libXrdCryptossl.so.* +%{_libdir}/libXrdMain.so.* +%{_libdir}/libXrdSec*.so.* +%{_libdir}/libXrdUtils.so.* +# Some of the libraries are used as plugins - need the .so symlink at runtime +%{_libdir}/libXrdCksCalczcrc32.so +%{_libdir}/libXrdCryptossl.so +%{_libdir}/libXrdSec*.so + +%files devel +%defattr(-,root,root,-) +%dir %{_includedir}/%{name} +%{_includedir}/%{name}/XProtocol +%{_includedir}/%{name}/Xrd +%{_includedir}/%{name}/XrdCks +%{_includedir}/%{name}/XrdNet +%{_includedir}/%{name}/XrdOuc +%{_includedir}/%{name}/XrdSec +%{_includedir}/%{name}/XrdSys +%{_includedir}/%{name}/XrdVersion.hh +%{_includedir}/%{name}/XrdVersionPlugin.hh +# These libraries are not used as plugins +%{_libdir}/libXrdAppUtils.so +%{_libdir}/libXrdCrypto.so +%{_libdir}/libXrdCryptoLite.so +%{_libdir}/libXrdMain.so +%{_libdir}/libXrdUtils.so + +%files client-libs +%defattr(-,root,root,-) +%{_libdir}/libXrdCl.so.* +%{_libdir}/libXrdClient.so.* +%{_libdir}/libXrdFfs.so.* +%{_libdir}/libXrdPosix.so.* +%{_libdir}/libXrdPosixPreload.so.* +# Some of the libraries are used as plugins - need the .so symlink at runtime +%{_libdir}/libXrdPosixPreload.so + +%files client-devel +%defattr(-,root,root,-) +%{_includedir}/%{name}/XrdCl +%{_includedir}/%{name}/XrdClient +%{_includedir}/%{name}/XrdPosix +# These libraries are not used as plugins +%{_libdir}/libXrdCl.so +%{_libdir}/libXrdClient.so +%{_libdir}/libXrdFfs.so +%{_libdir}/libXrdPosix.so + +%files server-libs +%defattr(-,root,root,-) +%{_libdir}/libXrdBwm.so.* +%{_libdir}/libXrdPss.so.* +%{_libdir}/libXrdOfs.so.* +%{_libdir}/libXrdServer.so.* +%{_libdir}/libXrdXrootd.so.* +# Some of the libraries are used as plugins - need the .so symlink at runtime +%{_libdir}/libXrdBwm.so +%{_libdir}/libXrdPss.so +%{_libdir}/libXrdXrootd.so %files server-devel %defattr(-,root,root,-) @@ -482,12 +517,50 @@ exit 0 %{_includedir}/%{name}/XrdOss %{_includedir}/%{name}/XrdSfs %{_includedir}/%{name}/XrdXrootd +# These libraries are not used as plugins +%{_libdir}/libXrdOfs.so +%{_libdir}/libXrdServer.so + +%files private-devel +%defattr(-,root,root,-) +%{_includedir}/%{name}/private + +%files client +%defattr(-,root,root,-) +%{_bindir}/xprep +%{_bindir}/xrd +%{_bindir}/xrdadler32 +%{_bindir}/xrdcopy +%{_bindir}/xrdcp +%{_bindir}/xrdcp-old +%{_bindir}/xrdfs +%{_bindir}/xrdgsiproxy +%{_bindir}/xrdstagetool +%{_mandir}/man1/xprep.1* +%{_mandir}/man1/xrd.1* +%{_mandir}/man1/xrdadler32.1* +%{_mandir}/man1/xrdcopy.1* +%{_mandir}/man1/xrdcp.1* +%{_mandir}/man1/xrdcp-old.1* +%{_mandir}/man1/xrdfs.1* +%{_mandir}/man1/xrdgsiproxy.1* +%{_mandir}/man1/xrdstagetool.1* + +%files fuse +%defattr(-,root,root,-) +%{_bindir}/xrootdfs +%{_mandir}/man1/xrootdfs.1* +%dir %{_sysconfdir}/%{name} %files client-admin-perl %defattr(-,root,root,-) %{perl_vendorarch}/XrdClientAdmin.pm %{perl_vendorarch}/auto/XrdClientAdmin +%files doc +%defattr(-,root,root,-) +%doc %{_docdir}/%{name}-%{version} + %if %{?_with_tests:1}%{!?_with_tests:0} %files tests %defattr(-,root,root,-) @@ -501,6 +574,9 @@ exit 0 # Changelog #------------------------------------------------------------------------------- %changelog +* Fri Jun 7 2013 Lukasz Janyst +- adopt the EPEL RPM layout by Mattias Ellert + * Mon Apr 22 2013 Lukasz Janyst - add libXrdCl.so.0.0.1 for backwards compatibility