rebuilt in /usr [release 5.9.0-2mamba;Sat May 01 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 19:42:01 +01:00
parent 1e0c4b9b39
commit b4e73d5317

View File

@ -1,26 +1,26 @@
Name: xfsprogs
Version: 5.9.0
Release: 1mamba
Release: 2mamba
Summary: This package contains the userspace tools to accompany the XFS driver in the kernel
Group: System/Kernel and Hardware
Vendor: openmamba
Distribution: openmamba
Packager: Aleph0 <aleph0@openmamba.org>
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://oss.sgi.com/projects/xfs/
Source: https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs//xfsprogs-%{version}.tar.xz
Source: https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/xfsprogs-%{version}.tar.xz
#Source: ftp://oss.sgi.com/projects/xfs/cmd_tars/xfsprogs-%{version}.tar.gz
Patch: %{name}-2.8.21-buildfix.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libblkid-devel
BuildRequires: libdevmapper-devel
BuildRequires: libicu-devel
BuildRequires: libuuid-devel
## AUTOBUILDREQ-END
BuildRequires: bash
BuildRequires: gettext-devel
BuildRequires: ldconfig
BuildRequires: libe2fs-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
This package contains the userspace tools to accompany the XFS driver in the kernel.
@ -33,20 +33,16 @@ This package contains the userspace tools to accompany the XFS driver in the ker
#autoconf
export DEBUG="-DNDEBUG"
%configure \
--exec-prefix=/ \
--enable-shared=yes \
--enable-gettext=yes
--enable-gettext=yes \
--with-systemd-unit-dir=%{_unitdir}
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
#\
# PKG_ROOT_LIB_DIR=%{buildroot}%{_libdir} \
# PKG_ROOT_BIN_DIR=%{buildroot}%{_bindir} \
# PKG_ROOT_SBIN_DIR=%{buildroot}%{_sbindir} \
# PKG_SBIN_DIR=%{buildroot}%{_sbindir} \
# PKG_MAN_DIR=%{buildroot}%{_mandir} \
# PKG_DOC_DIR=%{_builddir}/%{name}-%{version}/xfsprogs_docs
%find_lang %{name}
@ -58,15 +54,15 @@ export DEBUG="-DNDEBUG"
%files -f %{name}.lang
%defattr(-,root,root)
/sbin/fsck.xfs
/sbin/mkfs.xfs
/sbin/xfs_*
%{_sbindir}/fsck.xfs
%{_sbindir}/mkfs.xfs
%{_sbindir}/xfs_*
/lib/systemd/system/xfs_scrub@.service
/lib/systemd/system/xfs_scrub_all.service
/lib/systemd/system/xfs_scrub_all.timer
/lib/systemd/system/xfs_scrub_fail@.service
/%{_lib}/libhandle.so.*
%{_sbindir}/xfs_*
%{_unitdir}/xfs_scrub@.service
%{_unitdir}/xfs_scrub_all.service
%{_unitdir}/xfs_scrub_all.timer
%{_unitdir}/xfs_scrub_fail@.service
%{_libdir}/libhandle.so.*
%dir %{_libdir}/xfsprogs
%{_libdir}/xfsprogs/*
%dir %{_datadir}/doc/xfsprogs
@ -79,6 +75,9 @@ export DEBUG="-DNDEBUG"
%{_mandir}/man8/xfs_*.*
%changelog
* Sat May 01 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.9.0-2mamba
- rebuilt in /usr
* Wed Oct 21 2020 Automatic Build System <autodist@mambasoft.it> 5.9.0-1mamba
- automatic version update by autodist