2007-02-08 16:00:22 +00:00
|
|
|
Summary: The GNU disk partition manipulation program
|
2006-08-22 20:43:14 +00:00
|
|
|
Name: parted
|
2023-04-11 00:00:48 +00:00
|
|
|
Version: 3.6
|
2024-06-24 16:07:00 +00:00
|
|
|
Release: 5%{?dist}
|
2023-01-30 23:09:42 +00:00
|
|
|
License: GPL-3.0-or-later
|
2007-04-19 18:52:23 +00:00
|
|
|
URL: http://www.gnu.org/software/parted
|
2006-06-15 20:16:26 +00:00
|
|
|
|
2022-04-18 20:29:03 +00:00
|
|
|
Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
|
|
|
|
Source1: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
|
2019-08-09 23:10:35 +00:00
|
|
|
Source2: pubkey.phillip.susi
|
|
|
|
Source3: pubkey.brian.lane
|
2019-01-31 19:35:16 +00:00
|
|
|
|
2018-02-20 00:42:40 +00:00
|
|
|
BuildRequires: gcc
|
2007-12-14 03:34:30 +00:00
|
|
|
BuildRequires: e2fsprogs-devel
|
|
|
|
BuildRequires: readline-devel
|
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
BuildRequires: gettext-devel
|
|
|
|
BuildRequires: texinfo
|
|
|
|
BuildRequires: device-mapper-devel
|
2009-07-10 13:16:25 +00:00
|
|
|
BuildRequires: libuuid-devel
|
2009-11-03 12:07:15 +00:00
|
|
|
BuildRequires: libblkid-devel >= 2.17
|
2018-06-07 16:47:30 +00:00
|
|
|
BuildRequires: gnupg2
|
2010-12-17 16:22:03 +00:00
|
|
|
BuildRequires: git
|
2021-03-10 18:18:59 +00:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: libtool
|
2011-10-31 21:56:09 +00:00
|
|
|
BuildRequires: e2fsprogs
|
2014-04-10 00:17:15 +00:00
|
|
|
BuildRequires: xfsprogs
|
2011-10-31 21:56:09 +00:00
|
|
|
BuildRequires: dosfstools
|
2013-09-11 18:39:51 +00:00
|
|
|
BuildRequires: perl-Digest-CRC
|
2014-04-10 00:17:15 +00:00
|
|
|
BuildRequires: bc
|
2022-08-09 17:15:30 +00:00
|
|
|
BuildRequires: python3
|
2017-05-02 16:41:50 +00:00
|
|
|
BuildRequires: gperf
|
2018-06-27 21:44:42 +00:00
|
|
|
BuildRequires: make
|
2022-08-09 17:15:30 +00:00
|
|
|
BuildRequires: check-devel
|
2006-03-14 21:12:47 +00:00
|
|
|
|
2012-05-15 17:20:59 +00:00
|
|
|
# bundled gnulib library exception, as per packaging guidelines
|
|
|
|
# https://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries
|
|
|
|
Provides: bundled(gnulib)
|
|
|
|
|
2004-09-09 09:51:30 +00:00
|
|
|
%description
|
2004-09-09 09:52:03 +00:00
|
|
|
The GNU Parted program allows you to create, destroy, resize, move,
|
|
|
|
and copy hard disk partitions. Parted can be used for creating space
|
|
|
|
for new operating systems, reorganizing disk usage, and copying data
|
2004-09-09 09:51:30 +00:00
|
|
|
to new hard disks.
|
|
|
|
|
2010-01-11 14:03:07 +00:00
|
|
|
|
2004-09-09 09:51:30 +00:00
|
|
|
%package devel
|
2007-04-19 18:52:23 +00:00
|
|
|
Summary: Files for developing apps which will manipulate disk partitions
|
2007-12-14 03:34:30 +00:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
2004-09-09 09:51:30 +00:00
|
|
|
%description devel
|
2004-09-09 09:52:03 +00:00
|
|
|
The GNU Parted library is a set of routines for hard disk partition
|
|
|
|
manipulation. If you want to develop programs that manipulate disk
|
|
|
|
partitions and filesystems using the routines provided by the GNU
|
|
|
|
Parted library, you need to install this package.
|
2004-09-09 09:51:30 +00:00
|
|
|
|
2010-01-11 14:03:07 +00:00
|
|
|
|
2004-09-09 09:51:30 +00:00
|
|
|
%prep
|
2021-08-03 22:43:24 +00:00
|
|
|
%{gpgverify} --keyring='%{SOURCE3}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
2020-07-21 16:29:18 +00:00
|
|
|
%autosetup -S git_am
|
2010-01-11 14:03:07 +00:00
|
|
|
iconv -f ISO-8859-1 -t UTF8 AUTHORS > tmp; touch -r AUTHORS tmp; mv tmp AUTHORS
|
2009-07-21 14:55:51 +00:00
|
|
|
|
2004-09-09 09:51:30 +00:00
|
|
|
%build
|
2021-03-10 18:18:59 +00:00
|
|
|
autoreconf -fiv
|
2011-02-09 17:18:23 +00:00
|
|
|
CFLAGS="$RPM_OPT_FLAGS -Wno-unused-but-set-variable"; export CFLAGS
|
2020-11-05 17:38:13 +00:00
|
|
|
%configure --disable-static --disable-gcc-warnings
|
2010-01-11 14:03:07 +00:00
|
|
|
# Don't use rpath!
|
|
|
|
%{__sed} -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
|
%{__sed} -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
2020-07-14 02:28:02 +00:00
|
|
|
%make_build
|
2004-09-09 10:00:21 +00:00
|
|
|
|
2010-01-11 14:03:07 +00:00
|
|
|
|
2004-09-09 09:51:30 +00:00
|
|
|
%install
|
2007-03-19 18:39:07 +00:00
|
|
|
%{__rm} -rf %{buildroot}
|
2020-07-14 02:28:02 +00:00
|
|
|
%make_install
|
2008-01-14 08:10:01 +00:00
|
|
|
|
|
|
|
# Remove components we do not ship
|
2007-03-19 18:39:07 +00:00
|
|
|
%{__rm} -rf %{buildroot}%{_libdir}/*.la
|
|
|
|
%{__rm} -rf %{buildroot}%{_infodir}/dir
|
2008-01-03 02:26:18 +00:00
|
|
|
%{__rm} -rf %{buildroot}%{_bindir}/label
|
2009-10-06 18:53:21 +00:00
|
|
|
%{__rm} -rf %{buildroot}%{_bindir}/disk
|
2004-09-09 09:51:40 +00:00
|
|
|
|
2007-03-20 05:37:27 +00:00
|
|
|
%find_lang %{name}
|
|
|
|
|
2010-01-11 14:03:07 +00:00
|
|
|
|
2010-01-17 15:57:08 +00:00
|
|
|
%check
|
2016-03-07 19:55:00 +00:00
|
|
|
export LD_LIBRARY_PATH=$(pwd)/libparted/.libs:$(pwd)/libparted/fs/.libs
|
2010-01-17 15:57:08 +00:00
|
|
|
make check
|
|
|
|
|
2007-03-20 05:37:27 +00:00
|
|
|
%files -f %{name}.lang
|
2014-07-30 15:00:02 +00:00
|
|
|
%doc AUTHORS NEWS README THANKS
|
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
%license COPYING
|
2007-03-19 18:39:07 +00:00
|
|
|
%{_sbindir}/parted
|
|
|
|
%{_sbindir}/partprobe
|
2022-02-11 07:45:56 +00:00
|
|
|
%{_mandir}/man8/parted.8*
|
|
|
|
%{_mandir}/man8/partprobe.8*
|
2016-02-29 20:01:52 +00:00
|
|
|
%{_libdir}/libparted.so.2
|
2023-03-27 15:13:23 +00:00
|
|
|
%{_libdir}/libparted.so.2.0.5
|
2016-02-29 20:01:52 +00:00
|
|
|
%{_libdir}/libparted-fs-resize.so.0
|
2023-03-27 15:13:23 +00:00
|
|
|
%{_libdir}/libparted-fs-resize.so.0.0.5
|
2022-02-11 07:45:56 +00:00
|
|
|
%{_infodir}/parted.info*
|
2004-09-09 09:51:30 +00:00
|
|
|
|
|
|
|
%files devel
|
2014-05-31 23:10:54 +00:00
|
|
|
%doc TODO doc/API doc/FAT
|
2007-03-19 18:39:07 +00:00
|
|
|
%{_includedir}/parted
|
2016-02-29 20:01:52 +00:00
|
|
|
%{_libdir}/libparted.so
|
|
|
|
%{_libdir}/libparted-fs-resize.so
|
|
|
|
%{_libdir}/pkgconfig/libparted.pc
|
|
|
|
%{_libdir}/pkgconfig/libparted-fs-resize.pc
|
2004-09-09 09:51:30 +00:00
|
|
|
|
2009-12-20 10:19:49 +00:00
|
|
|
|
2004-09-09 09:51:30 +00:00
|
|
|
%changelog
|
2024-06-24 16:07:00 +00:00
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 3.6-5
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
2024-01-25 12:04:58 +00:00
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2024-01-21 11:54:19 +00:00
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2023-07-20 18:42:01 +00:00
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-04-11 00:00:48 +00:00
|
|
|
* Mon Apr 10 2023 Brian C. Lane <bcl@redhat.com> - 3.6-1
|
|
|
|
- Upstream 3.6 stable release
|
|
|
|
- Dropping pre-3.5 changelog entries
|
|
|
|
|
2023-03-27 15:13:23 +00:00
|
|
|
* Mon Mar 27 2023 Brian C. Lane <bcl@redhat.com> - 3.5.28-1
|
|
|
|
- Upstream 3.5.28 Alpha release
|
|
|
|
- Dropped all patches included in new upstream release
|
|
|
|
- Bumped minor version on libparted.so and libparted-fs-resize.so
|
|
|
|
|
2023-03-17 23:27:05 +00:00
|
|
|
* Fri Mar 17 2023 Brian C. Lane <bcl@redhat.com> - 3.5-11
|
|
|
|
- parted: Fix ending sector location when using kibi IEC suffix (bcl)
|
|
|
|
- tests: Fix formatting and snprintf warnings in tests. (bcl)
|
|
|
|
- ui: Add checks for prompt being NULL (bcl)
|
|
|
|
- strlist: Handle realloc error in wchar_to_str (bcl)
|
|
|
|
- libparted: Fix potential NULL dereference in ped_disk_next_partition (bcl)
|
|
|
|
- filesys: Check for null from close_fn (bcl)
|
|
|
|
|
|
|
|
* Tue Feb 07 2023 Brian C. Lane <bcl@redhat.com> - 3.5-10
|
2023-02-08 00:44:57 +00:00
|
|
|
- libparted: Fix problem with creating 1s partitions
|
|
|
|
- tests: Fixing libparted test framework usage
|
|
|
|
|
2023-01-30 23:09:42 +00:00
|
|
|
* Mon Jan 30 2023 Brian C. Lane <bcl@redhat.com> - 3.5-9
|
|
|
|
- SPDX migration
|
|
|
|
|
2023-01-19 23:25:37 +00:00
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.5-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-10-04 15:43:04 +00:00
|
|
|
* Wed Dec 14 2022 Brian C. Lane <bcl@redhat.com> - 3.5-7
|
|
|
|
- libparted: Fix handling of msdos partition types
|
|
|
|
- tests: Add a libparted test for ped_partition_set_system on msdos
|
|
|
|
- parted: Add display of GPT UUIDs in JSON output
|
|
|
|
- Add no_automount flag support
|
|
|
|
- increase xfs size to 300M
|
|
|
|
|
|
|
|
* Mon Aug 08 2022 Brian C. Lane <bcl@redhat.com> - 3.5-6
|
2022-08-09 17:15:30 +00:00
|
|
|
- Fix ped_partition_set_system handling of existing flags
|
|
|
|
|
2022-08-04 18:54:17 +00:00
|
|
|
* Thu Aug 04 2022 Brian C. Lane <bcl@redhat.com> - 3.5-5
|
|
|
|
- Update enum patch description for upstream
|
|
|
|
|
2022-07-22 02:44:37 +00:00
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.5-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-06-20 20:10:26 +00:00
|
|
|
* Mon Jun 20 2022 Adam Williamson <awilliam@redhat.com> - 3.5-3
|
|
|
|
- Set _FIRST_ and _LAST_ macro values directly
|
|
|
|
|
2022-05-17 23:23:46 +00:00
|
|
|
* Tue May 17 2022 Brian C. Lane <bcl@redhat.com> - 3.5-2
|
|
|
|
- tests: t3200-type-change now passes (bcl)
|
|
|
|
- parted: Reset the filesystem type when changing the id/uuid (bcl)
|
|
|
|
- libparted: add swap flag for DASD label (aschnell)
|
|
|
|
- parted: add type command (aschnell)
|
|
|
|
- maint: post-release administrivia (bcl)
|
|
|
|
|
2022-04-18 20:29:03 +00:00
|
|
|
* Mon Apr 18 2022 Brian C. Lane <bcl@redhat.com> - 3.5-1
|
|
|
|
- Upstream 3.5 stable release
|