43325296 |
Summary: GNU Parted manipulates partition tables
Name: parted
Version: 3.2
Release: 7%{?dist}
License: GPLv3+
URL: http://ftp.gnu.org/gnu/parted/parted-3.2.tar.xz
Group: Applications/System
Vendor: VMware, Inc.
Distribution: Photon
Source0: http://ftp.gnu.org/gnu/parted/%{name}-%{version}.tar.xz |
3cc43c92 |
%define sha1 parted=8cabb2d6789badec15c857dcc003d0dd931a818b |
43325296 |
Conflicts: toybox
|
f4d17450 |
%description |
79e82f3b |
This is useful for creating space for new operating systems,
reorganizing disk usage, copying data on hard disks and disk imaging.
The package contains a library, libparted, as well as well as a
command-line frontend, parted, which can also be used in scripts. |
43325296 |
|
f4d17450 |
%prep
%setup -q
%build |
6fff4634 |
#Add a header to allow building with glibc-2.28 or later
sed -i '/utsname.h/a#include <sys/sysmacros.h>' libparted/arch/linux.c && |
43325296 |
%configure --without-readline --disable-debug \
--disable-nls --disable-device-mapper |
f4d17450 |
make %{?_smp_mflags} |
43325296 |
|
f4d17450 |
%install
make DESTDIR=%{buildroot} install |
ab53721f |
|
f4d17450 |
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig |
43325296 |
%files |
f4d17450 |
%defattr(-,root,root)
%{_sbindir}/*
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/*.so
%{_libdir}/*.so.*
%{_libdir}/pkgconfig/*.pc
%{_includedir}/* |
43325296 |
%{_infodir}/* |
f4d17450 |
%{_datadir}/* |
43325296 |
|
f4d17450 |
%changelog |
43325296 |
* Tue Oct 2 2018 Michelle Wang <michellew@vmware.com> 3.2-7
- Add conflict toybox.
* Sun Sep 09 2018 Alexey Makhalov <amakhalov@vmware.com> 3.2-6
- Fix compilation issue against glibc-2.28.
* Wed Aug 16 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.2-5
- Fix summary and description.
* Tue Jun 06 2017 ChangLee <changlee@vmware.com> 3.2-4
- Remove %check.
* Fri Oct 07 2016 ChangLee <changlee@vmware.com> 3.2-3
- Modified %check.
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.2-2
- GA Bump release of all rpms.
* Wed Nov 12 2014 Mahmoud Bassiouny <mbassiouny@vmware.com> 3.2-1
- Initial version. |