Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37037927
en ru br
Репозитории ALT
S:6.3.0-alt1
5.1: 3.0.1-alt1
4.1: 2.9.7-alt1
4.0: 2.8.16-alt1
3.0: 2.6.4-alt1
www.altlinux.org/Changes

Группа :: Система/Ядро и оборудование
Пакет: xfsprogs

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

# hey Emacs, its -*- mode: rpm-spec; coding: cyrillic-cp1251; -*-
# $Id: xfsprogs,v 1.9 2004/05/15 18:26:21 ab Exp $

%define lib_name_orig libxfs
%define lib_major 0
%define lib_name %lib_name_orig%lib_major

Name: xfsprogs
Version: 2.6.4
Release: alt1

Summary: Utilities for managing the XFS filesystem
License: GPL
Group: System/Kernel and hardware
Url: http://oss.sgi.com/projects/xfs/
Packager: Alexander Bokovoy <ab at altlinux.ru>

Source: %name-%version.src.tar.gz
Patch: %name-2.6.0-dynamic-alt.patch

Requires: libxfs = %version-%release

BuildPreReq: libtool_1.4, rpm-build >= 4.0.4-alt10

# makefiles are buggy

BuildConflicts: libxfs-devel

# Automatically added by buildreq on Wed Aug 13 2003

BuildRequires: XFree86-devel 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: Main library for %lib_name_orig
Group: System/Libraries

%description -n libxfs
This package contains the library needed to run programs dynamically
linked with libxfs.

%package -n libxfs-devel
Summary: XFS filesystem-specific static libraries and headers
Group: Development/C
Requires: libxfs = %version-%release

%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.

%package -n libxfs-devel-static
Summary: XFS filesystem-specific static libraries and headers
Group: Development/C
Requires: libxfs-devel = %version-%release

%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
%patch -p1

%build
%set_libtool_version 1.4
export DEBUG="-DNDEBUG"
# Call default target, it calls configure target which provides proper settings
 CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
 CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
 FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \
 LOCAL_CONFIGURE_OPTIONS='--enable-shared-uuid' ; export LOCAL_CONFIGURE_OPTIONS ; \
%make_build

%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_s -nf ../../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 doc/CREDITS README doc/README.LVM doc/README.quota

%files -n libxfs
/lib/*.so.*

%files -n libxfs-devel
%_libdir/*.so
%_includedir/*
%_man3dir/*

%files -n libxfs-devel-static
%_libdir/*.a

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin