ALT Linux repositórios
Group :: Sistema/Kernel e hardware
RPM: xfsprogs
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
# -*- rpm-spec -*-
# $Id: xfsprogs,v 1.6 2006/09/15 12:53:45 me Exp $
Name: xfsprogs
Version: 2.8.16
Release: alt1
Summary: Utilities for managing the XFS filesystem
License: GPL
Group: System/Kernel and hardware
Url: http://oss.sgi.com/projects/xfs/
Source: %name-%version.tar.bz2
Requires: libxfs = %version-%release
BuildPreReq: rpm-build >= 4.0.4-alt10
# makefiles are buggy
BuildConflicts: libxfs-devel
BuildRequires: libe2fs-devel
%description
XFS is a high performance journaling filesystem which originated
on the SGI IRIX platform. It is completely multi-threaded, can
support large files and large filesystems, extended attributes,
variable block sizes, is extent based, and makes extensive use of
Btrees (directories, extents, 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.
This package contains a set of commands to use the XFS filesystem,
including mkfs.xfs.
%package -n libxfs
Summary: XFS filesystem-specific libraries
Group: System/Libraries
%package -n libxfs-devel
Summary: XFS filesystem-specific devel libraries and headers
Group: Development/C
Requires: libxfs = %version-%release
%package -n libxfs-devel-static
Summary: XFS filesystem-specific static libraries
Group: Development/C
Requires: libxfs-devel = %version-%release
%description -n libxfs
This package contains the library needed to run programs dynamically
linked with libxfs.
%description -n libxfs-devel
libxfs-devel contains the libraries and header files needed to
develop XFS filesystem-specific programs.
You should install libxfs-devel if you want to develop XFS
filesystem-specific programs, If you install libxfs-devel, you'll
also want to install xfsprogs.
%description -n libxfs-devel-static
libxfs-devel-static contains the static libraries needed to
develop XFS filesystem-specific programs.
You should install libxfs-devel-static if you want to develop XFS
filesystem-specific programs.
If you install libxfs-devel-static, you'll also want to install xfsprogs.
%prep
%setup -q
sed 's|^\(hardcode_into_libs\)=.*$|\1=no|' < %_bindir/libtool-default > libtool
chmod +x libtool
%build
autoconf
%configure --enable-shared-uuid --sbindir=/sbin --bindir=%_sbindir --libdir=/%_lib --libexecdir=%_libdir
%make_build DEBUG=-DNDEBUG LIBTOOL="`pwd`/libtool --tag=CC"
%install
make DIST_ROOT=%buildroot install install-dev
for f in %buildroot/%_lib/*.so; do
t=`objdump -p "$f" |awk '/SONAME/ {print $2}'`
[ -n "$t" ]
ln -nsf ../../%_lib/"$t" "%buildroot%_libdir/${f##*/}"
done
# Workaround bug in makefiles
rm -f %buildroot/lib/*.{so,*a}
rm -rf %buildroot%_datadir/doc/%name
%find_lang %name
%post -n libxfs -p %post_ldconfig
%postun -n libxfs -p %postun_ldconfig
%files -f %name.lang
/sbin/*
%_sbindir/*
%_mandir/man[85]/*
%doc doc/CHANGES.gz doc/CREDITS README
%files -n libxfs
/%_lib/*.so.*
%files -n libxfs-devel
%_libdir/*.so
%_includedir/*
%_man3dir/*
%files -n libxfs-devel-static
%_libdir/*.a
%changelog
…
Todas as alterações você pod ver aqui
# $Id: xfsprogs,v 1.6 2006/09/15 12:53:45 me Exp $
Name: xfsprogs
Version: 2.8.16
Release: alt1
Summary: Utilities for managing the XFS filesystem
License: GPL
Group: System/Kernel and hardware
Url: http://oss.sgi.com/projects/xfs/
Source: %name-%version.tar.bz2
Requires: libxfs = %version-%release
BuildPreReq: rpm-build >= 4.0.4-alt10
# makefiles are buggy
BuildConflicts: libxfs-devel
BuildRequires: libe2fs-devel
%description
XFS is a high performance journaling filesystem which originated
on the SGI IRIX platform. It is completely multi-threaded, can
support large files and large filesystems, extended attributes,
variable block sizes, is extent based, and makes extensive use of
Btrees (directories, extents, 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.
This package contains a set of commands to use the XFS filesystem,
including mkfs.xfs.
%package -n libxfs
Summary: XFS filesystem-specific libraries
Group: System/Libraries
%package -n libxfs-devel
Summary: XFS filesystem-specific devel libraries and headers
Group: Development/C
Requires: libxfs = %version-%release
%package -n libxfs-devel-static
Summary: XFS filesystem-specific static libraries
Group: Development/C
Requires: libxfs-devel = %version-%release
%description -n libxfs
This package contains the library needed to run programs dynamically
linked with libxfs.
%description -n libxfs-devel
libxfs-devel contains the libraries and header files needed to
develop XFS filesystem-specific programs.
You should install libxfs-devel if you want to develop XFS
filesystem-specific programs, If you install libxfs-devel, you'll
also want to install xfsprogs.
%description -n libxfs-devel-static
libxfs-devel-static contains the static libraries needed to
develop XFS filesystem-specific programs.
You should install libxfs-devel-static if you want to develop XFS
filesystem-specific programs.
If you install libxfs-devel-static, you'll also want to install xfsprogs.
%prep
%setup -q
sed 's|^\(hardcode_into_libs\)=.*$|\1=no|' < %_bindir/libtool-default > libtool
chmod +x libtool
%build
autoconf
%configure --enable-shared-uuid --sbindir=/sbin --bindir=%_sbindir --libdir=/%_lib --libexecdir=%_libdir
%make_build DEBUG=-DNDEBUG LIBTOOL="`pwd`/libtool --tag=CC"
%install
make DIST_ROOT=%buildroot install install-dev
for f in %buildroot/%_lib/*.so; do
t=`objdump -p "$f" |awk '/SONAME/ {print $2}'`
[ -n "$t" ]
ln -nsf ../../%_lib/"$t" "%buildroot%_libdir/${f##*/}"
done
# Workaround bug in makefiles
rm -f %buildroot/lib/*.{so,*a}
rm -rf %buildroot%_datadir/doc/%name
%find_lang %name
%post -n libxfs -p %post_ldconfig
%postun -n libxfs -p %postun_ldconfig
%files -f %name.lang
/sbin/*
%_sbindir/*
%_mandir/man[85]/*
%doc doc/CHANGES.gz doc/CREDITS README
%files -n libxfs
/%_lib/*.so.*
%files -n libxfs-devel
%_libdir/*.so
%_includedir/*
%_man3dir/*
%files -n libxfs-devel-static
%_libdir/*.a
%changelog
…
Todas as alterações você pod ver aqui