xfsprogs/xfsprogs.spec
Stephan Kulow be511c0203 Accepting request 87879 from home:dsterba:branches:filesystems
- updated to 3.1.6
  - Re-synch of the header and libxfs files with the kernel
    code as of Linux 2.6.37, including reviving xfs_repair
    radix tree code.
  - Fix a xfs_repair phase 4 hang, thanks to Ajeet Yadav.
  - Subcommand names within various programs are no longer
    translated/localized, thanks to Arkadiusz Mi?kiewicz.
  - Build system fixes, thanks to Ted Ts'o.
  - Updates to teh xfs_info(8)/xfs_growfs(8) man page, thanks
    to Roman Ovchinnikov.
  - xfs_quota "df" no longer reports values twice what they
    should have been for project quotas.
  - mkfs.xfs now requires that sub-options are non-empty
    strings; thanks to Chris Pearson for reporting.
  - Better handling of short reads in libxfs.
  - xfs_quota now prints "N/A" rather than a large number for
    the quota file inode number for disabled quota types.
  - Bogus (unrelated) mount point entries no longer cause
    xfs_growfs, xfs_quota, and xfs_io to quit early.
  - xfs_repair no longer fails when the sector size of an
    underlying device is larger than the sector size in a
    hosted filesystem image.
  - Various other internal improvements, including refactoring
    and eliminating more build warnings.

OBS-URL: https://build.opensuse.org/request/show/87879
OBS-URL: https://build.opensuse.org/package/show/filesystems/xfsprogs?expand=0&rev=12
2011-10-15 05:09:26 +00:00

139 lines
3.6 KiB
RPMSpec

#
# spec file for package xfsprogs
#
# Copyright (c) 2011 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/
#
# norootforbuild
Name: xfsprogs
BuildRequires: e2fsprogs-devel
Version: 3.1.6
Release: 1
%if 0%{?suse_version} >= 1010
# hint for ZYPP
Supplements: filesystem(xfs)
%endif
AutoReqProv: on
Group: System/Filesystems
License: GPLv2+
Url: http://oss.sgi.com/projects/xfs/
Summary: Utilities for managing the XFS file system
Source0: xfsprogs-%{version}.tar.gz
Patch0: xfsprogs-docdir.diff
Patch1: xfsprogs-ppc64.diff
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
AutoReqProv: on
Group: Development/Libraries/C and C++
License: GPLv2+
Url: http://oss.sgi.com/projects/xfs/
Summary: XFS Filesystem-specific Static Libraries and Headers
%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.
Authors:
--------
SGI
%prep
%setup -q
%patch0
%patch1
%build
export OPTIMIZER="-fPIC"
export DEBUG=-DNDEBUG
export LIBUUID=/usr/%{_lib}/libuuid.a
export CFLAGS="$RPM_OPT_FLAGS"
./configure \
--prefix=%{_prefix} \
--libdir=/%{_libdir} \
--libexecdir=/usr/%{_lib} \
--includedir=%{_includedir} \
--mandir=%{_mandir} \
--datadir=%{_datadir}
make %{?jobs:-j %jobs}
%install
export DIST_ROOT="$RPM_BUILD_ROOT"
/usr/bin/make install
/usr/bin/make install-dev
# remove devel stuff from /lib
rm $RPM_BUILD_ROOT/%_lib/libhandle.{so,a,la}
rm $RPM_BUILD_ROOT/%_libdir/libhandle.so
pushd $RPM_BUILD_ROOT%_libdir
ls ../../%_lib/libhandle.so.[0-9]
ln -s ../../%_lib/libhandle.so.[0-9] libhandle.so
popd
chmod 755 $RPM_BUILD_ROOT/sbin/fsck.xfs
%find_lang %name
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f %name.lang
%defattr(-,root,root,755)
/sbin/*
/usr/sbin/*
# this is only used by xfs cmds, therefore no urgent need for a shlib package
/%_lib/libhandle.so.*
%doc /usr/share/man/man[58]/*
%doc %_defaultdocdir/%name
%files devel
%defattr(-,root,root,755)
/usr/include/xfs
%_libdir/*.so
%_libdir/*.a
%_libdir/*.la
/usr/share/man/man3/*
%changelog