From e4dc3baec57c3c5b7e3aa2bdf6f9aa54c749e623 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 19:42:02 +0100 Subject: [PATCH] update to 5.19.0 [release 5.19.0-1mamba;Fri Sep 30 2022] --- xfsprogs.spec | 58 ++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 50 insertions(+), 8 deletions(-) diff --git a/xfsprogs.spec b/xfsprogs.spec index addeaf8..21070ab 100644 --- a/xfsprogs.spec +++ b/xfsprogs.spec @@ -1,30 +1,50 @@ Name: xfsprogs -Version: 5.9.0 -Release: 2mamba +Version: 5.19.0 +Release: 1mamba 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: Silvan Calarco -URL: http://oss.sgi.com/projects/xfs/ +URL: https://xfs.wiki.kernel.org/ 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: libdevmapper-devel BuildRequires: libicu-devel +BuildRequires: libinih-devel +BuildRequires: liburcu-devel BuildRequires: libuuid-devel ## AUTOBUILDREQ-END BuildRequires: bash BuildRequires: gettext-devel BuildRequires: ldconfig BuildRequires: libe2fs-devel +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description This package contains the userspace tools to accompany the XFS driver in the kernel. +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n lib%{name} +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + %prep %setup -q #%patch -p1 @@ -42,7 +62,7 @@ export DEBUG="-DNDEBUG" %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall +%makeinstall install-dev %find_lang %{name} @@ -62,9 +82,9 @@ export DEBUG="-DNDEBUG" %{_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}/xfsprogs +%dir %{_datadir}/xfsprogs/mkfs +%{_datadir}/xfsprogs/mkfs/* %dir %{_datadir}/doc/xfsprogs %{_datadir}/doc/xfsprogs/* %{_mandir}/man5/xfs.* @@ -74,7 +94,29 @@ export DEBUG="-DNDEBUG" %{_mandir}/man8/mkfs.xfs.* %{_mandir}/man8/xfs_*.* +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libhandle.so.* +%dir %{_libdir}/xfsprogs +%{_libdir}/xfsprogs/* +%doc LICENSES + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_includedir}/xfs +%{_includedir}/xfs/*.h +%{_libdir}/libhandle.a +%{_libdir}/libhandle.so +%{_mandir}/man2/ioctl_xfs_*.2* +%{_mandir}/man3/*.3* + %changelog +* Fri Sep 30 2022 Silvan Calarco 5.19.0-1mamba +- update to 5.19.0 + +* Wed May 19 2021 Silvan Calarco 5.11.0-1mamba +- update to 5.11.0 + * Sat May 01 2021 Silvan Calarco 5.9.0-2mamba - rebuilt in /usr