Blame SPECS/xfsprogs.spec

6e38bb
Summary:	Utilities for managing the XFS filesystem
6e38bb
Name:		xfsprogs
6e38bb
Version:	5.14.2
6e38bb
Release:	1%{?dist}
6e38bb
License:	GPL+ and LGPLv2+
6e38bb
URL:		https://xfs.wiki.kernel.org
6e38bb
Source0:	http://kernel.org/pub/linux/utils/fs/xfs/xfsprogs/%{name}-%{version}.tar.xz
6e38bb
Source1:	http://kernel.org/pub/linux/utils/fs/xfs/xfsprogs/%{name}-%{version}.tar.sign
6e38bb
Source2:	https://git.kernel.org/pub/scm/docs/kernel/pgpkeys.git/plain/keys/20AE1692E13DDEE0.asc
6e38bb
Source3:	rhel8.0.conf
6e38bb
Requires:	util-linux
6e38bb
BuildRequires:	make
6e38bb
BuildRequires:	gcc
6e38bb
BuildRequires:	libtool, gettext, libattr-devel, libuuid-devel
6e38bb
BuildRequires:	libedit-devel, libblkid-devel >= 2.17-0.1.git5e51568
6e38bb
Buildrequires:	lvm2-devel, libicu-devel >= 4.6
6e38bb
BuildRequires:	gnupg2, xz, inih-devel
6e38bb
BuildRequires:  userspace-rcu-devel
6e38bb
Provides:	xfs-cmds
6e38bb
Obsoletes:	xfs-cmds <= %{version}
6e38bb
Provides:	xfsprogs-qa-devel
6e38bb
Obsoletes:	xfsprogs-qa-devel <= %{version}
6e38bb
Conflicts:	xfsdump < 3.0.1
6e38bb
Suggests:	xfsprogs-xfs_scrub
6e38bb
6e38bb
Patch0:		xfsprogs-5.12.0-default-bigtime-inobtcnt-on.patch
6e38bb
Patch1:		xfsprogs-5.12.0-example-conf.patch
6e38bb
6e38bb
%description
6e38bb
A set of commands to use the XFS filesystem, including mkfs.xfs.
6e38bb
6e38bb
XFS is a high performance journaling filesystem which originated
6e38bb
on the SGI IRIX platform.  It is completely multi-threaded, can
6e38bb
support large files and large filesystems, extended attributes,
6e38bb
variable block sizes, is extent based, and makes extensive use of
6e38bb
Btrees (directories, extents, free space) to aid both performance
6e38bb
and scalability.
6e38bb
6e38bb
This implementation is on-disk compatible with the IRIX version
6e38bb
of XFS.
6e38bb
6e38bb
%package devel
6e38bb
Summary: XFS filesystem-specific headers
6e38bb
Requires: xfsprogs = %{version}-%{release}, libuuid-devel
6e38bb
6e38bb
%description devel
6e38bb
xfsprogs-devel contains the header files needed to develop XFS
6e38bb
filesystem-specific programs.
6e38bb
6e38bb
You should install xfsprogs-devel if you want to develop XFS
6e38bb
filesystem-specific programs,  If you install xfsprogs-devel, you'll
6e38bb
also want to install xfsprogs.
6e38bb
6e38bb
%package xfs_scrub
6e38bb
Summary: XFS filesystem online scrubbing utilities
6e38bb
Requires: xfsprogs = %{version}-%{release}, python3
6e38bb
6e38bb
%description xfs_scrub
6e38bb
xfs_scrub attempts to check and repair all metadata in a mounted XFS filesystem.
6e38bb
WARNING!  This program is EXPERIMENTAL, which means that its behavior and
6e38bb
interface could change at any time!
6e38bb
6e38bb
%prep
6e38bb
xzcat '%{SOURCE0}' | %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data=-
6e38bb
%autosetup -p1
6e38bb
6e38bb
%build
6e38bb
export tagname=CC
6e38bb
6e38bb
%configure \
6e38bb
	--enable-editline=yes	\
6e38bb
	--enable-blkid=yes	\
6e38bb
	--enable-lto=no
6e38bb
6e38bb
%make_build
6e38bb
6e38bb
%install
6e38bb
make DIST_ROOT=$RPM_BUILD_ROOT install install-dev \
6e38bb
	PKG_ROOT_SBIN_DIR=%{_sbindir} PKG_ROOT_LIB_DIR=%{_libdir}
6e38bb
6e38bb
# nuke .la files, etc
6e38bb
rm -f $RPM_BUILD_ROOT/{%{_lib}/*.{la,a,so},%{_libdir}/*.{la,a}}
6e38bb
6e38bb
# remove non-versioned docs location
6e38bb
rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/xfsprogs/
6e38bb
6e38bb
# add backward compatible configure file for mkfs
6e38bb
%global mkfsdir %{_datadir}/xfsprogs/mkfs
6e38bb
install -m 0755 -d %{buildroot}%{mkfsdir}
6e38bb
install -m 0644 %{SOURCE3} %{buildroot}%{mkfsdir}
6e38bb
6e38bb
%find_lang %{name}
6e38bb
6e38bb
%ldconfig_scriptlets
6e38bb
6e38bb
%files -f %{name}.lang
6e38bb
%doc doc/CHANGES README
6e38bb
%{_libdir}/*.so.*
6e38bb
%dir %{_usr}/%{_lib}/xfsprogs
6e38bb
%{_usr}/%{_lib}/xfsprogs/*
6e38bb
%{_mandir}/man5/*
6e38bb
%{_mandir}/man8/*
6e38bb
%{_sbindir}/*
6e38bb
%{_unitdir}/*
6e38bb
%{mkfsdir}
6e38bb
%exclude %{_sbindir}/xfs_scrub*
6e38bb
%exclude %{_mandir}/man8/xfs_scrub*
6e38bb
%exclude %{_usr}/%{_lib}/xfsprogs/xfs_scrub*
6e38bb
%exclude %{_mandir}/man8/xfs_scrub_all*
6e38bb
%exclude %{_unitdir}/xfs_scrub*
6e38bb
6e38bb
%files xfs_scrub
6e38bb
%{_sbindir}/xfs_scrub*
6e38bb
%{_mandir}/man8/xfs_scrub*
6e38bb
%{_usr}/%{_lib}/xfsprogs/xfs_scrub*
6e38bb
%{_mandir}/man8/xfs_scrub_all*
6e38bb
%{_unitdir}/xfs_scrub*
6e38bb
6e38bb
%files devel
6e38bb
%{_mandir}/man2/*
6e38bb
%{_mandir}/man3/*
6e38bb
%dir %{_includedir}/xfs
6e38bb
%{_includedir}/xfs/handle.h
6e38bb
%{_includedir}/xfs/jdm.h
6e38bb
%{_includedir}/xfs/linux.h
6e38bb
%{_includedir}/xfs/xfs.h
6e38bb
%{_includedir}/xfs/xfs_arch.h
6e38bb
%{_includedir}/xfs/xfs_fs.h
6e38bb
%{_includedir}/xfs/xfs_fs_compat.h
6e38bb
%{_includedir}/xfs/xfs_types.h
6e38bb
%{_includedir}/xfs/xfs_format.h
6e38bb
%{_includedir}/xfs/xfs_da_format.h
6e38bb
%{_includedir}/xfs/xfs_log_format.h
6e38bb
%{_includedir}/xfs/xqm.h
6e38bb
6e38bb
%{_libdir}/*.so
6e38bb
6e38bb
%changelog
6e38bb
* Fri Jan 21 2022 Pavel Reichl <preichl@redhat.com> - 5.14.2-1
6e38bb
- New upstream release
6e38bb
  Related: rhbz#2041525
6e38bb
6e38bb
* Wed Dec 01 2021 Pavel Reichl <preichl@redhat.com> - 5.12.0-5
6e38bb
- Add an example of backward compatible conf. file for mkfs
6e38bb
  Related: rhbz#2026002
6e38bb
6e38bb
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 5.12.0-4
6e38bb
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
6e38bb
  Related: rhbz#1991688
6e38bb
6e38bb
* Wed Jun 16 2021 Eric Sandeen <sandeen@redhat.com> 5.12.0-3
6e38bb
- Local change to default bigtime & inobtcnt to off under older kernels
6e38bb
6e38bb
* Thu Jun 03 2021 Eric Sandeen <sandeen@redhat.com> 5.12.0-2
6e38bb
- Turn on bigtime (y2038) and inobtcnt features by default
6e38bb
6e38bb
* Thu Jun 03 2021 Eric Sandeen <sandeen@redhat.com> 5.12.0-1
6e38bb
- New upstream release
6e38bb
6e38bb
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 5.10.0-3
6e38bb
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
6e38bb
6e38bb
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.10.0-2
6e38bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
6e38bb
6e38bb
* Fri Dec 11 2020 Eric Sandeen <sandeen@redhat.com> 5.10.0-1
6e38bb
- New upstream release
6e38bb
- New mkfs config file feature
6e38bb
- Y2038+ format support
6e38bb
6e38bb
* Tue Oct 20 2020 Eric Sandeen <sandeen@redhat.com> 5.9.0-1
6e38bb
- New upstream release
6e38bb
6e38bb
* Fri Sep 04 2020 Eric Sandeen <sandeen@redhat.com> 5.8.0-1
6e38bb
- New upstream release
6e38bb
6e38bb
* Fri Jul 24 2020 Eric Sandeen <sandeen@redhat.com> 5.7.0-1
6e38bb
- New upstream release
6e38bb
- Replace libreadline with libedit
6e38bb
- Add tarball signature checking
6e38bb
6e38bb
* Tue Jul 14 2020 Tom Stellard <tstellar@redhat.com> - 5.6.0-3
6e38bb
- Use make macros
6e38bb
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
6e38bb
6e38bb
* Sat May 16 2020 Pete Walter <pwalter@fedoraproject.org> - 5.6.0-2
6e38bb
- Rebuild for ICU 67
6e38bb
6e38bb
* Tue Apr 14 2020 Eric Sandeen <sandeen@redhat.com> 5.6.0-1
6e38bb
- New upstream release
6e38bb
6e38bb
* Fri Mar 13 2020 Eric Sandeen <sandeen@redhat.com> 5.5.0-1
6e38bb
- New upstream release
6e38bb
6e38bb
* Fri Jan 31 2020 Eric Sandeen <sandeen@redhat.com> 5.4.0-3
6e38bb
- Fix global redefinitions for gcc10 build
6e38bb
6e38bb
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.4.0-2
6e38bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
6e38bb
6e38bb
* Fri Jan 17 2020 Eric Sandeen <sandeen@redhat.com> 5.4.0-1
6e38bb
- New upstream release
6e38bb
6e38bb
* Fri Nov 15 2019 Eric Sandeen <sandeen@redhat.com> 5.3.0-1
6e38bb
- New upstream release
6e38bb
6e38bb
* Fri Nov 01 2019 Pete Walter <pwalter@fedoraproject.org> - 5.2.1-2
6e38bb
- Rebuild for ICU 65
6e38bb
6e38bb
* Wed Aug 21 2019 Eric Sandeen <sandeen@redhat.com> 5.2.1-1
6e38bb
- New upstream release
6e38bb
6e38bb
* Fri Aug 16 2019 Eric Sandeen <sandeen@redhat.com> 5.2.0-1
6e38bb
- New upstream release
6e38bb
6e38bb
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-2
6e38bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
6e38bb
6e38bb
* Fri Jul 19 2019 Eric Sandeen <sandeen@redhat.com> 5.1.0-1
6e38bb
- New upstream release
6e38bb
6e38bb
* Wed May 08 2019 Eric Sandeen <sandeen@redhat.com> 5.0.0-2
6e38bb
- Create new xfs_scrub subpackage (#1666839)
6e38bb
6e38bb
* Fri May 03 2019 Eric Sandeen <sandeen@redhat.com> 5.0.0-1
6e38bb
- New upstream release
6e38bb
6e38bb
* Fri Feb 22 2019 Eric Sandeen <sandeen@redhat.com> 4.20.0-1
6e38bb
- New upstream release
6e38bb
6e38bb
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.19.0-4
6e38bb
- Rebuild for readline 8.0
6e38bb
6e38bb
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.19.0-3
6e38bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
6e38bb
6e38bb
* Wed Jan 23 2019 Pete Walter <pwalter@fedoraproject.org> - 4.19.0-2
6e38bb
- Rebuild for ICU 63
6e38bb
6e38bb
* Tue Nov 13 2018 Eric Sandeen <sandeen@redhat.com> 4.19.0-1
6e38bb
- New upstream release
6e38bb
6e38bb
* Fri Aug 24 2018 Eric Sandeen <sandeen@redhat.com> 4.18.0-1
6e38bb
- New upstream release
6e38bb
6e38bb
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.17.0-3
6e38bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
6e38bb
6e38bb
* Tue Jul 10 2018 Pete Walter <pwalter@fedoraproject.org> - 4.17.0-2
6e38bb
- Rebuild for ICU 62
6e38bb
6e38bb
* Thu Jun 28 2018 Eric Sandeen <sandeen@redhat.com> 4.17.0-1
6e38bb
- New upstream release
6e38bb
6e38bb
* Mon Apr 30 2018 Pete Walter <pwalter@fedoraproject.org> - 4.16.0-2
6e38bb
- Rebuild for ICU 61.1
6e38bb
6e38bb
* Thu Apr 26 2018 Eric Sandeen <sandeen@redhat.com> 4.16.0-1
6e38bb
- New upstream release
6e38bb
- Clean up specfile
6e38bb
6e38bb
* Mon Feb 26 2018 Eric Sandeen <sandeen@redhat.com> 4.15.1-1
6e38bb
- New upstream release
6e38bb
- Update Polish translation
6e38bb
6e38bb
* Mon Feb 26 2018 Eric Sandeen <sandeen@redhat.com> 4.15.0-2
6e38bb
- BuildRequires: gcc
6e38bb
6e38bb
* Sat Feb 24 2018 Eric Sandeen <sandeen@redhat.com> 4.15.0-1
6e38bb
- New upstream release
6e38bb
- Adds new xfs_scrub utility and services
6e38bb
6e38bb
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.14.0-2
6e38bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6e38bb
6e38bb
* Mon Nov 27 2017 Eric Sandeen <sandeen@redhat.com> 4.14.0-1
6e38bb
- New upstream release
6e38bb
6e38bb
* Wed Sep 27 2017 Eric Sandeen <sandeen@redhat.com> 4.13.1-1
6e38bb
- New upstream release
6e38bb
- Trim ancient changelog
6e38bb
6e38bb
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.12.0-4
6e38bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
6e38bb
6e38bb
* Sun Jul 30 2017 Florian Weimer <fweimer@redhat.com> - 4.12.0-3
6e38bb
- Rebuild with binutils fix for ppc64le (#1475636)
6e38bb
6e38bb
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.12.0-2
6e38bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
6e38bb
6e38bb
* Mon Jul 24 2017 Eric Sandeen <sandeen@redhat.com> 4.12.0-1
6e38bb
- New upstream release
6e38bb
6e38bb
* Fri May 05 2017 Eric Sandeen <sandeen@redhat.com> 4.11.0-1
6e38bb
- New upstream release
6e38bb
6e38bb
* Sun Feb 26 2017 Eric Sandeen <sandeen@redhat.com> 4.10.0-1
6e38bb
- New upstream release
6e38bb
6e38bb
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.9.0-3
6e38bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
6e38bb
6e38bb
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 4.9.0-2
6e38bb
- Rebuild for readline 7.x
6e38bb
6e38bb
* Thu Jan 05 2017 Eric Sandeen <sandeen@redhat.com> 4.9.0-1
6e38bb
- New upstream release
6e38bb
6e38bb
* Tue Oct 18 2016 Eric Sandeen <sandeen@redhat.com> 4.8.0-1
6e38bb
- New upstream release
6e38bb
6e38bb
* Tue Sep 06 2016 Eric Sandeen <sandeen@redhat.com> 4.7.0-2
6e38bb
- Add libattr-devel build dependency to fix xfs_fsr
6e38bb
6e38bb
* Sun Sep 04 2016 Eric Sandeen <sandeen@redhat.com> 4.7.0-1
6e38bb
- New upstream release
6e38bb
6e38bb
* Tue Mar 15 2016 Eric Sandeen <sandeen@redhat.com> 4.5.0-1
6e38bb
- New upstream release
6e38bb
6e38bb
* Thu Mar 10 2016 Eric Sandeen <sandeen@redhat.com> 4.3.0-3
6e38bb
- Fix build w/ new kernels which have [sg]etxattr promotion
6e38bb
6e38bb
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.0-2
6e38bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
6e38bb
6e38bb
* Mon Nov 30 2015 Eric Sandeen <sandeen@redhat.com> 4.3.0-1
6e38bb
- New upstream release
6e38bb
6e38bb
* Wed Sep 09 2015 Eric Sandeen <sandeen@redhat.com> 4.2.0-1
6e38bb
- New upstream release
6e38bb
6e38bb
* Thu Jul 30 2015 Eric Sandeen <sandeen@redhat.com> 3.2.4-1
6e38bb
- New upstream release
6e38bb
- Addresses CVE-2012-2150 for xfs_metadump
6e38bb
6e38bb
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.3-2
6e38bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
6e38bb
6e38bb
* Wed Jun 10 2015 Eric Sandeen <sandeen@redhat.com> 3.2.3-1
6e38bb
- New upstream release