d79ca33
Summary:	Utilities for managing the XFS filesystem
d79ca33
Name:		xfsprogs
Eric Sandeen 69247b4
Version:	5.10.0
Eric Sandeen 289fd12
Release:	1%{?dist}
d79ca33
License:	GPL+ and LGPLv2+
Eric Sandeen 71cdeac
URL:		https://xfs.wiki.kernel.org
Eric Sandeen 33013a1
Source0:	http://kernel.org/pub/linux/utils/fs/xfs/xfsprogs/%{name}-%{version}.tar.xz
Eric Sandeen 289fd12
Source1:	http://kernel.org/pub/linux/utils/fs/xfs/xfsprogs/%{name}-%{version}.tar.sign
Eric Sandeen 289fd12
Source2:	https://git.kernel.org/pub/scm/docs/kernel/pgpkeys.git/tree/keys/20AE1692E13DDEE0.asc
Eric Sandeen 26bc3ff
Requires:	util-linux
f9890bf
BuildRequires: make
Eric Sandeen 28642ee
BuildRequires:	gcc
Eric Sandeen dd4cc09
BuildRequires:	libtool, gettext, libattr-devel, libuuid-devel
Eric Sandeen 0aa1da0
BuildRequires:	libedit-devel, libblkid-devel >= 2.17-0.1.git5e51568
Eric Sandeen 71cdeac
Buildrequires:	lvm2-devel, libicu-devel >= 4.6
Eric Sandeen 69247b4
BuildRequires:	gnupg2, xz, inih-devel
d79ca33
Provides:	xfs-cmds
d79ca33
Obsoletes:	xfs-cmds <= %{version}
Eric Sandeen e439738
Provides:	xfsprogs-qa-devel
Eric Sandeen e439738
Obsoletes:	xfsprogs-qa-devel <= %{version}
88976ab
Conflicts:	xfsdump < 3.0.1
Eric Sandeen 453f0df
Suggests:	xfsprogs-xfs_scrub
84e3000
cvsdist 71b6743
%description
cvsdist 71b6743
A set of commands to use the XFS filesystem, including mkfs.xfs.
cvsdist 71b6743
cvsdist 71b6743
XFS is a high performance journaling filesystem which originated
cvsdist 71b6743
on the SGI IRIX platform.  It is completely multi-threaded, can
cvsdist 71b6743
support large files and large filesystems, extended attributes,
cvsdist 71b6743
variable block sizes, is extent based, and makes extensive use of
cvsdist 71b6743
Btrees (directories, extents, free space) to aid both performance
cvsdist 71b6743
and scalability.
cvsdist 71b6743
Eric Sandeen e0fb2b4
This implementation is on-disk compatible with the IRIX version
Eric Sandeen e0fb2b4
of XFS.
cvsdist 71b6743
cvsdist 71b6743
%package devel
2d0cf55
Summary: XFS filesystem-specific headers
8dc5a86
Requires: xfsprogs = %{version}-%{release}, libuuid-devel
cvsdist 71b6743
cvsdist 71b6743
%description devel
2d0cf55
xfsprogs-devel contains the header files needed to develop XFS
2d0cf55
filesystem-specific programs.
cvsdist 71b6743
cvsdist 71b6743
You should install xfsprogs-devel if you want to develop XFS
cvsdist 71b6743
filesystem-specific programs,  If you install xfsprogs-devel, you'll
cvsdist 71b6743
also want to install xfsprogs.
cvsdist 71b6743
Eric Sandeen 453f0df
%package xfs_scrub
Eric Sandeen 453f0df
Summary: XFS filesystem online scrubbing utilities
Eric Sandeen 453f0df
Requires: xfsprogs = %{version}-%{release}, python3
Eric Sandeen 453f0df
Eric Sandeen 453f0df
%description xfs_scrub
Eric Sandeen 453f0df
xfs_scrub attempts to check and repair all metadata in a mounted XFS filesystem.
Eric Sandeen 453f0df
WARNING!  This program is EXPERIMENTAL, which means that its behavior and
Eric Sandeen 453f0df
interface could change at any time!
Eric Sandeen 453f0df
cvsdist 71b6743
%prep
Eric Sandeen 289fd12
xzcat '%{SOURCE0}' | %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data=-
Eric Sandeen 473dc60
%setup -q
ab73c6e
cvsdist 71b6743
%build
Eric Sandeen bda1012
export tagname=CC
Eric Sandeen 71cdeac
rcattela 741f3a9
%configure \
Eric Sandeen 289fd12
	--enable-editline=yes	\
Eric Sandeen 71cdeac
	--enable-blkid=yes	\
Eric Sandeen 71cdeac
	--enable-lto=no
d79ca33
0797a99
%make_build
d79ca33
cvsdist 71b6743
%install
Eric Sandeen 71cdeac
make DIST_ROOT=$RPM_BUILD_ROOT install install-dev \
Eric Sandeen 9a1c046
	PKG_ROOT_SBIN_DIR=%{_sbindir} PKG_ROOT_LIB_DIR=%{_libdir}
d79ca33
cvsdist 71b6743
# nuke .la files, etc
8ed7cf7
rm -f $RPM_BUILD_ROOT/{%{_lib}/*.{la,a,so},%{_libdir}/*.{la,a}}
bb692df
cvsdist 71b6743
# remove non-versioned docs location
cvsdist 71b6743
rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/xfsprogs/
cvsdist 71b6743
fbb3d89
%find_lang %{name}
fbb3d89
637fe34
%ldconfig_scriptlets
cvsdist 71b6743
fbb3d89
%files -f %{name}.lang
Eric Sandeen f80fe7a
%doc doc/CHANGES README
Eric Sandeen 9a1c046
%{_libdir}/*.so.*
Eric Sandeen 858cc40
%dir %{_usr}/%{_lib}/xfsprogs
Eric Sandeen 858cc40
%{_usr}/%{_lib}/xfsprogs/*
cvsdist 71b6743
%{_mandir}/man5/*
Eric Sandeen 858cc40
%{_mandir}/man8/*
Florian La Roche ceaf489
%{_sbindir}/*
Eric Sandeen 858cc40
%{_unitdir}/*
Eric Sandeen 453f0df
%exclude %{_sbindir}/xfs_scrub*
Eric Sandeen 453f0df
%exclude %{_mandir}/man8/xfs_scrub*
Eric Sandeen 453f0df
%exclude %{_usr}/%{_lib}/xfsprogs/xfs_scrub*
Eric Sandeen 453f0df
%exclude %{_mandir}/man8/xfs_scrub_all*
Eric Sandeen 453f0df
%exclude %{_unitdir}/xfs_scrub*
Eric Sandeen 453f0df
Eric Sandeen 453f0df
%files xfs_scrub
Eric Sandeen 453f0df
%{_sbindir}/xfs_scrub*
Eric Sandeen 453f0df
%{_mandir}/man8/xfs_scrub*
Eric Sandeen 453f0df
%{_usr}/%{_lib}/xfsprogs/xfs_scrub*
Eric Sandeen 453f0df
%{_mandir}/man8/xfs_scrub_all*
Eric Sandeen 453f0df
%{_unitdir}/xfs_scrub*
cvsdist 71b6743
cvsdist 71b6743
%files devel
Eric Sandeen 858cc40
%{_mandir}/man2/*
cvsdist 71b6743
%{_mandir}/man3/*
6c3ed89
%dir %{_includedir}/xfs
6c3ed89
%{_includedir}/xfs/handle.h
6c3ed89
%{_includedir}/xfs/jdm.h
6c3ed89
%{_includedir}/xfs/linux.h
6c3ed89
%{_includedir}/xfs/xfs.h
Eric Sandeen e439738
%{_includedir}/xfs/xfs_arch.h
6c3ed89
%{_includedir}/xfs/xfs_fs.h
Eric Sandeen cb7b291
%{_includedir}/xfs/xfs_fs_compat.h
Eric Sandeen 0f472cc
%{_includedir}/xfs/xfs_types.h
Eric Sandeen 1a42592
%{_includedir}/xfs/xfs_format.h
Eric Sandeen e439738
%{_includedir}/xfs/xfs_da_format.h
Eric Sandeen 1a42592
%{_includedir}/xfs/xfs_log_format.h
Eric Sandeen e439738
%{_includedir}/xfs/xqm.h
Eric Sandeen e439738
Eric Sandeen e439738
%{_libdir}/*.so
6c3ed89
cvsdist 71b6743
%changelog
Eric Sandeen 69247b4
* Fri Dec 11 2020 Eric Sandeen <sandeen@redhat.com> 5.10.0-1
Eric Sandeen 69247b4
- New upstream release
Eric Sandeen 69247b4
- New mkfs config file feature
Eric Sandeen 69247b4
- Y2038+ format support
Eric Sandeen 69247b4
Eric Sandeen 722ebf0
* Tue Oct 20 2020 Eric Sandeen <sandeen@redhat.com> 5.9.0-1
Eric Sandeen 722ebf0
- New upstream release
Eric Sandeen 722ebf0
Eric Sandeen cb7b291
* Fri Sep 04 2020 Eric Sandeen <sandeen@redhat.com> 5.8.0-1
Eric Sandeen cb7b291
- New upstream release
Eric Sandeen cb7b291
Eric Sandeen 289fd12
* Fri Jul 24 2020 Eric Sandeen <sandeen@redhat.com> 5.7.0-1
Eric Sandeen 289fd12
- New upstream release
Eric Sandeen 289fd12
- Replace libreadline with libedit
Eric Sandeen 289fd12
- Add tarball signature checking
Eric Sandeen 289fd12
0797a99
* Tue Jul 14 2020 Tom Stellard <tstellar@redhat.com> - 5.6.0-3
0797a99
- Use make macros
0797a99
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
0797a99
6ae1ec0
* Sat May 16 2020 Pete Walter <pwalter@fedoraproject.org> - 5.6.0-2
6ae1ec0
- Rebuild for ICU 67
6ae1ec0
Eric Sandeen e740325
* Tue Apr 14 2020 Eric Sandeen <sandeen@redhat.com> 5.6.0-1
Eric Sandeen e740325
- New upstream release
Eric Sandeen e740325
Eric Sandeen e740325
* Fri Mar 13 2020 Eric Sandeen <sandeen@redhat.com> 5.5.0-1
Eric Sandeen a6315ea
- New upstream release
Eric Sandeen a6315ea
Eric Sandeen 15aab9f
* Fri Jan 31 2020 Eric Sandeen <sandeen@redhat.com> 5.4.0-3
Eric Sandeen 15aab9f
- Fix global redefinitions for gcc10 build
Eric Sandeen 15aab9f
1bc5ab2
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.4.0-2
1bc5ab2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
1bc5ab2
Eric Sandeen 3fdfa07
* Fri Jan 17 2020 Eric Sandeen <sandeen@redhat.com> 5.4.0-1
Eric Sandeen 3fdfa07
- New upstream release
Eric Sandeen 3fdfa07
Eric Sandeen 116b158
* Fri Nov 15 2019 Eric Sandeen <sandeen@redhat.com> 5.3.0-1
Eric Sandeen 116b158
- New upstream release
Eric Sandeen 116b158
6a139a3
* Fri Nov 01 2019 Pete Walter <pwalter@fedoraproject.org> - 5.2.1-2
6a139a3
- Rebuild for ICU 65
6a139a3
Eric Sandeen 0b6f8de
* Wed Aug 21 2019 Eric Sandeen <sandeen@redhat.com> 5.2.1-1
Eric Sandeen 0b6f8de
- New upstream release
Eric Sandeen 0b6f8de
Eric Sandeen 43c8d81
* Fri Aug 16 2019 Eric Sandeen <sandeen@redhat.com> 5.2.0-1
Eric Sandeen 43c8d81
- New upstream release
Eric Sandeen 43c8d81
05a0441
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-2
05a0441
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
05a0441
Eric Sandeen d408d9d
* Fri Jul 19 2019 Eric Sandeen <sandeen@redhat.com> 5.1.0-1
Eric Sandeen d408d9d
- New upstream release
Eric Sandeen d408d9d
Eric Sandeen 453f0df
* Wed May 08 2019 Eric Sandeen <sandeen@redhat.com> 5.0.0-2
Eric Sandeen 453f0df
- Create new xfs_scrub subpackage (#1666839)
Eric Sandeen 453f0df
Eric Sandeen 26bc3ff
* Fri May 03 2019 Eric Sandeen <sandeen@redhat.com> 5.0.0-1
Eric Sandeen 26bc3ff
- New upstream release
Eric Sandeen 26bc3ff
Eric Sandeen f5b02fd
* Fri Feb 22 2019 Eric Sandeen <sandeen@redhat.com> 4.20.0-1
Eric Sandeen f5b02fd
- New upstream release
Eric Sandeen f5b02fd
e534ca3
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.19.0-4
e534ca3
- Rebuild for readline 8.0
e534ca3
fa48d8c
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.19.0-3
fa48d8c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
fa48d8c
5571f2c
* Wed Jan 23 2019 Pete Walter <pwalter@fedoraproject.org> - 4.19.0-2
5571f2c
- Rebuild for ICU 63
5571f2c
Eric Sandeen 47fb23d
* Tue Nov 13 2018 Eric Sandeen <sandeen@redhat.com> 4.19.0-1
Eric Sandeen 47fb23d
- New upstream release
Eric Sandeen 47fb23d
Eric Sandeen f80fe7a
* Fri Aug 24 2018 Eric Sandeen <sandeen@redhat.com> 4.18.0-1
Eric Sandeen f80fe7a
- New upstream release
Eric Sandeen f80fe7a
e45707c
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.17.0-3
e45707c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
e45707c
ba9d629
* Tue Jul 10 2018 Pete Walter <pwalter@fedoraproject.org> - 4.17.0-2
ba9d629
- Rebuild for ICU 62
ba9d629
Eric Sandeen e0fb2b4
* Thu Jun 28 2018 Eric Sandeen <sandeen@redhat.com> 4.17.0-1
Eric Sandeen e0fb2b4
- New upstream release
Eric Sandeen e0fb2b4
611467b
* Mon Apr 30 2018 Pete Walter <pwalter@fedoraproject.org> - 4.16.0-2
611467b
- Rebuild for ICU 61.1
611467b
Eric Sandeen 71cdeac
* Thu Apr 26 2018 Eric Sandeen <sandeen@redhat.com> 4.16.0-1
Eric Sandeen 71cdeac
- New upstream release
Eric Sandeen 71cdeac
- Clean up specfile
Eric Sandeen 71cdeac
Eric Sandeen bab8fb6
* Mon Feb 26 2018 Eric Sandeen <sandeen@redhat.com> 4.15.1-1
Eric Sandeen bab8fb6
- New upstream release
Eric Sandeen bab8fb6
- Update Polish translation
Eric Sandeen bab8fb6
Eric Sandeen 28642ee
* Mon Feb 26 2018 Eric Sandeen <sandeen@redhat.com> 4.15.0-2
Eric Sandeen 28642ee
- BuildRequires: gcc
Eric Sandeen 28642ee
Eric Sandeen 858cc40
* Sat Feb 24 2018 Eric Sandeen <sandeen@redhat.com> 4.15.0-1
Eric Sandeen 858cc40
- New upstream release
Eric Sandeen 858cc40
- Adds new xfs_scrub utility and services
Eric Sandeen 858cc40
09d95a2
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.14.0-2
09d95a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
09d95a2
Eric Sandeen 28dd79b
* Mon Nov 27 2017 Eric Sandeen <sandeen@redhat.com> 4.14.0-1
Eric Sandeen 28dd79b
- New upstream release
Eric Sandeen 28dd79b
Eric Sandeen f8bd46e
* Wed Sep 27 2017 Eric Sandeen <sandeen@redhat.com> 4.13.1-1
Eric Sandeen f8bd46e
- New upstream release
Eric Sandeen f8bd46e
- Trim ancient changelog
Eric Sandeen f8bd46e
e6eea5b
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.12.0-4
e6eea5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
e6eea5b
e2db7e7
* Sun Jul 30 2017 Florian Weimer <fweimer@redhat.com> - 4.12.0-3
e2db7e7
- Rebuild with binutils fix for ppc64le (#1475636)
e2db7e7
6f9829f
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.12.0-2
6f9829f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
6f9829f
Eric Sandeen dcc6fdf
* Mon Jul 24 2017 Eric Sandeen <sandeen@redhat.com> 4.12.0-1
Eric Sandeen dcc6fdf
- New upstream release
Eric Sandeen dcc6fdf
Eric Sandeen d58a029
* Fri May 05 2017 Eric Sandeen <sandeen@redhat.com> 4.11.0-1
Eric Sandeen d58a029
- New upstream release
Eric Sandeen d58a029
Eric Sandeen 08fe16a
* Sun Feb 26 2017 Eric Sandeen <sandeen@redhat.com> 4.10.0-1
Eric Sandeen 08fe16a
- New upstream release
Eric Sandeen 08fe16a
22ddfa4
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.9.0-3
22ddfa4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
22ddfa4
Igor Gnatenko 7204cd5
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 4.9.0-2
Igor Gnatenko 7204cd5
- Rebuild for readline 7.x
Igor Gnatenko 7204cd5
Eric Sandeen 33013a1
* Thu Jan 05 2017 Eric Sandeen <sandeen@redhat.com> 4.9.0-1
Eric Sandeen 33013a1
- New upstream release
Eric Sandeen 33013a1
Eric Sandeen 2e37129
* Tue Oct 18 2016 Eric Sandeen <sandeen@redhat.com> 4.8.0-1
Eric Sandeen 2e37129
- New upstream release
Eric Sandeen 2e37129
Eric Sandeen dd4cc09
* Tue Sep 06 2016 Eric Sandeen <sandeen@redhat.com> 4.7.0-2
Eric Sandeen dd4cc09
- Add libattr-devel build dependency to fix xfs_fsr
Eric Sandeen dd4cc09
Eric Sandeen e31d6fe
* Sun Sep 04 2016 Eric Sandeen <sandeen@redhat.com> 4.7.0-1
Eric Sandeen e31d6fe
- New upstream release
Eric Sandeen e31d6fe
Eric Sandeen a8eb9a0
* Tue Mar 15 2016 Eric Sandeen <sandeen@redhat.com> 4.5.0-1
Eric Sandeen a8eb9a0
- New upstream release
Eric Sandeen a8eb9a0
Eric Sandeen c258f8b
* Thu Mar 10 2016 Eric Sandeen <sandeen@redhat.com> 4.3.0-3
Eric Sandeen 77e949d
- Fix build w/ new kernels which have [sg]etxattr promotion
Eric Sandeen 77e949d
a83b84b
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.0-2
a83b84b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
a83b84b
Eric Sandeen 283cc9c
* Mon Nov 30 2015 Eric Sandeen <sandeen@redhat.com> 4.3.0-1
Eric Sandeen 283cc9c
- New upstream release
Eric Sandeen 283cc9c
Eric Sandeen e439738
* Wed Sep 09 2015 Eric Sandeen <sandeen@redhat.com> 4.2.0-1
Eric Sandeen e439738
- New upstream release
Eric Sandeen e439738
Eric Sandeen 2441dc2
* Thu Jul 30 2015 Eric Sandeen <sandeen@redhat.com> 3.2.4-1
Eric Sandeen d60793a
- New upstream release
Eric Sandeen d60793a
- Addresses CVE-2012-2150 for xfs_metadump
Eric Sandeen d60793a
13a095a
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.3-2
13a095a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
13a095a
Eric Sandeen 1e08703
* Wed Jun 10 2015 Eric Sandeen <sandeen@redhat.com> 3.2.3-1
Eric Sandeen 1e08703
- New upstream release