Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
xfsprogs.970
xfsprogs.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xfsprogs.spec of Package xfsprogs.970
# # spec file for package xfsprogs # # Copyright (c) 2015 SUSE LINUX 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: xfsprogs BuildRequires: readline-devel %if 0%{?suse_version} > 0 %if 0%{?suse_version} < 1100 BuildRequires: e2fsprogs-devel %else BuildRequires: libuuid-devel %endif %else BuildRequires: libuuid-devel %endif BuildRequires: libblkid-devel BuildRequires: libtool Version: 3.2.1 Release: 0 %if 0%{?suse_version} >= 1010 # hint for ZYPP Supplements: filesystem(xfs) %endif Provides: xfsprogs-%{version} #AutoReqProv: no Url: http://oss.sgi.com/projects/xfs/ Summary: Utilities for managing the XFS file system License: GPL-2.0+ Group: System/Filesystems Source0: xfsprogs-%{version}.tar.gz Patch0: xfsprogs-docdir.diff Patch1: xfsprogs-ppc64.diff Patch2: logprint-Fix-printing-of-AGF-and-AGI-buffers.patch Patch3: 0001-libxlog-add-xlog_is_empty-helper.patch Patch4: 0002-metadump-rename-dont_obfuscate-variable.patch Patch5: 0003-metadump-zero-out-clean-log.patch Patch6: 0004-xfs_metadump-don-t-zero-log-if-not-obfuscating.patch Patch7: 0005-xfs_metadump-obfuscate-remote-symlinks-on-CRC-filesy.patch Patch8: 0006-metadump-obfuscate-attrs-on-CRC-fs.patch Patch9: 0007-metadump-Fill-attribute-values-with-v-rather-than-NU.patch Patch10: 0008-metadump-Obfuscate-the-filesystem-label.patch Patch11: 0009-metadump-handle-multi-block-directories.patch Patch12: 0010-metadump-Add-option-to-copy-metadata-blocks-intact.patch Patch13: 0011-metadump-Copy-the-log-if-not-obfuscating-or-zeroing.patch Patch14: 0012-metadump-Zero-out-unused-portion-of-the-AGFL.patch Patch15: 0013-metadump-Zero-literal-area-of-unused-inodes.patch Patch16: 0014-metadump-Zero-unused-portions-of-inode-literal-area.patch Patch17: 0015-metadump-Zero-sparse-unused-regions-of-dir2.patch Patch18: 0016-metadump-Zero-unused-tail-of-symlink-blocks.patch Patch19: 0017-metadump-Zero-unused-portions-of-attribute-blocks.patch Patch20: 0018-metadump-Zero-unused-portions-of-DA_NODE-blocks.patch Patch21: 0019-metadump-Zero-unused-portions-of-inode-BMAP-and-allo.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A set of commands to use the XFS file system, including mkfs.xfs. XFS is a high performance journaling file system which originated on the SGI IRIX platform. It is completely multithreaded. It can support large files and large file systems, extended attributes, and variable block sizes.It is extent based and makes extensive use of Btrees (directories, extents, and free space) to aid both performance and scalability. Refer to the documentation at http://oss.sgi.com/projects/xfs/ for complete details. This implementation is on-disk compatible with the IRIX version of XFS. Authors: -------- SGI %package devel Requires: xfsprogs = %version Url: http://oss.sgi.com/projects/xfs/ Summary: XFS Filesystem-specific Static Libraries and Headers Group: Development/Libraries/C and C++ Requires: libuuid-devel %description devel xfsprogs-devel contains the libraries and header files needed to develop XFS file system-specific programs. You should install xfsprogs-devel if you want to develop XFS file system-specific programs. If you install xfsprogs-devel, you will also want to install xfsprogs. %prep %setup -q %if 0%{?suse_version} %patch0 %endif %patch1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -p1 %patch9 -p1 %patch10 -p1 %patch11 -p1 %patch12 -p1 %patch13 -p1 %patch14 -p1 %patch15 -p1 %patch16 -p1 %patch17 -p1 %patch18 -p1 %patch19 -p1 %patch20 -p1 %patch21 -p1 %build export OPTIMIZER="-fPIC" export DEBUG=-DNDEBUG export LIBUUID=/usr/%{_lib}/libuuid.a export CFLAGS="$RPM_OPT_FLAGS" %configure --enable-static --enable-readline=yes --enable-blkid=yes # Kill rpaths sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool make %{?_smp_mflags} %install export DIST_ROOT="$RPM_BUILD_ROOT" make install make install-dev make install-qa # remove devel stuff from /lib rm -f -- $RPM_BUILD_ROOT/%{_lib}/*.{so,a,la} rm -f -- $RPM_BUILD_ROOT/%_libdir/libhandle.so # move things to usr mv $RPM_BUILD_ROOT/sbin/* $RPM_BUILD_ROOT%{_sbindir} mv $RPM_BUILD_ROOT/%_lib/* $RPM_BUILD_ROOT%{_libdir} #UsrMerge ln -s %{_sbindir}/{fsck.xfs,mkfs.xfs,xfs_repair} $RPM_BUILD_ROOT/sbin #EndUserMerge pushd $RPM_BUILD_ROOT%_libdir ln -s libhandle.so.[0-9] libhandle.so popd chmod 755 $RPM_BUILD_ROOT/%_sbindir/fsck.xfs %find_lang %name %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f %name.lang %defattr(-,root,root,755) #UsrMerge /sbin/* #EndUsrMerge %_sbindir/* # this is only used by xfs cmds, therefore no urgent need for a shlib package %_libdir/libhandle.so.* %doc /usr/share/man/man[58]/* %doc %_defaultdocdir/%name %files devel %defattr(-,root,root,755) %dir %_includedir/xfs %ifarch %{multilib_arches} %{_includedir}/xfs/platform_defs-%{_arch}.h %endif %{_includedir}/xfs/* %_libdir/*.so %_libdir/*.a %_libdir/*.la /usr/share/man/man3/* %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