2007-01-16 00:42:30 +01:00
|
|
|
#
|
2010-07-19 14:33:03 +02:00
|
|
|
# spec file for package xfsprogs (Version 3.1.2)
|
2007-01-16 00:42:30 +01:00
|
|
|
#
|
2010-03-19 09:26:05 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:42:30 +01:00
|
|
|
#
|
2008-09-02 18:22:58 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-01-16 00:42:30 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-03-21 05:07:53 +01:00
|
|
|
|
2007-01-16 00:42:30 +01:00
|
|
|
Name: xfsprogs
|
|
|
|
BuildRequires: e2fsprogs-devel
|
2010-07-19 14:33:03 +02:00
|
|
|
Version: 3.1.2
|
|
|
|
Release: 1
|
2010-03-19 09:26:05 +01:00
|
|
|
%if 0%{?suse_version} >= 1010
|
2007-04-04 20:13:27 +02:00
|
|
|
# hint for ZYPP
|
|
|
|
Supplements: filesystem(xfs)
|
2010-03-19 09:26:05 +01:00
|
|
|
%endif
|
2007-10-24 01:46:13 +02:00
|
|
|
AutoReqProv: on
|
2007-01-16 00:42:30 +01:00
|
|
|
Group: System/Filesystems
|
2010-03-19 09:26:05 +01:00
|
|
|
License: GPLv2+
|
2007-10-24 01:46:13 +02:00
|
|
|
Url: http://oss.sgi.com/projects/xfs/
|
2007-01-16 00:42:30 +01:00
|
|
|
Summary: Utilities for managing the XFS file system
|
2009-08-13 01:41:09 +02:00
|
|
|
Source0: xfsprogs-%{version}.tar.bz2
|
2007-04-04 20:13:27 +02:00
|
|
|
Patch0: xfsprogs-docdir.diff
|
2007-06-22 18:53:51 +02:00
|
|
|
Patch1: xfsprogs-ppc64.diff
|
2007-01-16 00:42:30 +01:00
|
|
|
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
|
2007-06-22 18:53:51 +02:00
|
|
|
Requires: xfsprogs = %version
|
2007-10-24 01:46:13 +02:00
|
|
|
AutoReqProv: on
|
2007-01-16 00:42:30 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2010-03-19 09:26:05 +01:00
|
|
|
License: GPLv2+
|
2007-10-24 01:46:13 +02:00
|
|
|
Url: http://oss.sgi.com/projects/xfs/
|
2007-01-16 00:42:30 +01:00
|
|
|
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
|
2007-04-04 20:13:27 +02:00
|
|
|
%setup -q
|
2007-01-16 00:42:30 +01:00
|
|
|
%patch0
|
|
|
|
%patch1
|
|
|
|
|
|
|
|
%build
|
|
|
|
export OPTIMIZER="-fPIC"
|
|
|
|
export DEBUG=-DNDEBUG
|
|
|
|
export LIBUUID=/usr/%{_lib}/libuuid.a
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
./configure \
|
2007-06-22 18:53:51 +02:00
|
|
|
--prefix=%{_prefix} \
|
2010-07-19 14:33:03 +02:00
|
|
|
--libdir=/%{_libdir} \
|
2007-06-22 18:53:51 +02:00
|
|
|
--libexecdir=/usr/%{_lib} \
|
|
|
|
--includedir=%{_includedir} \
|
|
|
|
--mandir=%{_mandir} \
|
|
|
|
--datadir=%{_datadir}
|
2007-01-16 00:42:30 +01:00
|
|
|
make %{?jobs:-j %jobs}
|
|
|
|
|
|
|
|
%install
|
2007-06-22 18:53:51 +02:00
|
|
|
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
|
2007-01-16 00:42:30 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2007-06-22 18:53:51 +02:00
|
|
|
%post -p /sbin/ldconfig
|
2007-01-16 00:42:30 +01:00
|
|
|
|
2007-06-22 18:53:51 +02:00
|
|
|
%postun -p /sbin/ldconfig
|
2007-01-16 00:42:30 +01:00
|
|
|
|
2007-06-22 18:53:51 +02:00
|
|
|
%files -f %name.lang
|
2007-01-16 00:42:30 +01:00
|
|
|
%defattr(-,root,root,755)
|
2007-06-22 18:53:51 +02:00
|
|
|
/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
|
2007-01-16 00:42:30 +01:00
|
|
|
%defattr(-,root,root,755)
|
2007-06-22 18:53:51 +02:00
|
|
|
/usr/include/xfs
|
|
|
|
%_libdir/*.so
|
|
|
|
%_libdir/*.a
|
|
|
|
%_libdir/*.la
|
|
|
|
/usr/share/man/man3/*
|
2008-02-04 17:44:01 +01:00
|
|
|
|
2007-04-04 20:13:27 +02:00
|
|
|
%changelog
|