2007-01-15 15:29:14 +01:00
|
|
|
#
|
2011-05-20 14:49:00 +02:00
|
|
|
# spec file for package parted
|
2007-01-15 15:29:14 +01:00
|
|
|
#
|
2018-01-26 17:15:34 +01:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-15 15:29:14 +01:00
|
|
|
#
|
2008-08-11 23:37:59 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-15 15:29:14 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-07-03 15:40:05 +02:00
|
|
|
|
2007-01-15 15:29:14 +01:00
|
|
|
Name: parted
|
2015-04-24 17:49:30 +02:00
|
|
|
Version: 3.2
|
2011-12-30 09:47:40 +01:00
|
|
|
Release: 0
|
2007-01-15 15:29:14 +01:00
|
|
|
Summary: GNU partitioner
|
2018-05-24 17:15:56 +02:00
|
|
|
License: GPL-3.0-or-later
|
2010-04-02 13:35:12 +02:00
|
|
|
Group: System/Filesystems
|
2011-12-30 09:47:40 +01:00
|
|
|
Url: http://www.gnu.org/software/parted/
|
- update to parted-3.1 (fate#316110)
- changes in parted-3.1:
* Changes in behavior
- Floppy drives are no longer scanned on linux: they cannot be
partitioned anyhow, and some users have a misconfigured BIOS
that claims to have a floppy when they don't, and scanning
gets hung up.
- parted: the mkpart command has changed semantics with regard
to specifying the end of the partition. If the end is
specified using units of MiB, GiB, etc., parted subtracts one
sector from the specified value. With this change, it is now
possible to create partitions like 1MiB-2MiB, 2MiB-3MiB and
so on.
* Many bugfixes (see changelog)
- changes in parted-3.0:
* Changes in behavior
- Remove all FS-related (file system-related) sub-commands;
these commands are no longer recognized because they were all
dependent on parted "knowing" too much about file system:
mkpartfs, mkfs, cp, move, check.
- 'resize' command changed semantics:
it no longer resizes the filesystem, but only moves end
sector of the partition
- libparted-devel contains libparted-fs-resize library
- add ability to change size of the partition (ignoring contained
filesystem) with 'resize' command; this command has different
semantics than the former 'resize' command which upstream
decided to drop
- parted-resize-command.patch (fate#316110)
- when using syncmbr on POWER, make the first partition type 0x41
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=79
2014-01-09 17:35:35 +01:00
|
|
|
Source0: ftp://ftp.gnu.org/gnu/parted/%{name}-%{version}.tar.xz
|
|
|
|
Source1: ftp://ftp.gnu.org/gnu/parted/%{name}-%{version}.tar.xz.sig
|
2014-09-08 10:00:14 +02:00
|
|
|
Source2: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=parted&download=1#/%{name}.keyring
|
2013-04-15 16:51:19 +02:00
|
|
|
Source3: baselibs.conf
|
2014-01-31 16:39:50 +01:00
|
|
|
Source4: fatresize-0.1.tar.bz2
|
- update to parted-3.1 (fate#316110)
- changes in parted-3.1:
* Changes in behavior
- Floppy drives are no longer scanned on linux: they cannot be
partitioned anyhow, and some users have a misconfigured BIOS
that claims to have a floppy when they don't, and scanning
gets hung up.
- parted: the mkpart command has changed semantics with regard
to specifying the end of the partition. If the end is
specified using units of MiB, GiB, etc., parted subtracts one
sector from the specified value. With this change, it is now
possible to create partitions like 1MiB-2MiB, 2MiB-3MiB and
so on.
* Many bugfixes (see changelog)
- changes in parted-3.0:
* Changes in behavior
- Remove all FS-related (file system-related) sub-commands;
these commands are no longer recognized because they were all
dependent on parted "knowing" too much about file system:
mkpartfs, mkfs, cp, move, check.
- 'resize' command changed semantics:
it no longer resizes the filesystem, but only moves end
sector of the partition
- libparted-devel contains libparted-fs-resize library
- add ability to change size of the partition (ignoring contained
filesystem) with 'resize' command; this command has different
semantics than the former 'resize' command which upstream
decided to drop
- parted-resize-command.patch (fate#316110)
- when using syncmbr on POWER, make the first partition type 0x41
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=79
2014-01-09 17:35:35 +01:00
|
|
|
# Build patches
|
|
|
|
Patch1: parted-2.4-ncursesw6.patch
|
|
|
|
|
|
|
|
# Other patches
|
|
|
|
Patch10: hfs_fix.dif
|
|
|
|
Patch11: parted-wipeaix.patch
|
2015-04-24 17:49:30 +02:00
|
|
|
Patch12: libparted-partition-naming.patch
|
- update to parted-3.1 (fate#316110)
- changes in parted-3.1:
* Changes in behavior
- Floppy drives are no longer scanned on linux: they cannot be
partitioned anyhow, and some users have a misconfigured BIOS
that claims to have a floppy when they don't, and scanning
gets hung up.
- parted: the mkpart command has changed semantics with regard
to specifying the end of the partition. If the end is
specified using units of MiB, GiB, etc., parted subtracts one
sector from the specified value. With this change, it is now
possible to create partitions like 1MiB-2MiB, 2MiB-3MiB and
so on.
* Many bugfixes (see changelog)
- changes in parted-3.0:
* Changes in behavior
- Remove all FS-related (file system-related) sub-commands;
these commands are no longer recognized because they were all
dependent on parted "knowing" too much about file system:
mkpartfs, mkfs, cp, move, check.
- 'resize' command changed semantics:
it no longer resizes the filesystem, but only moves end
sector of the partition
- libparted-devel contains libparted-fs-resize library
- add ability to change size of the partition (ignoring contained
filesystem) with 'resize' command; this command has different
semantics than the former 'resize' command which upstream
decided to drop
- parted-resize-command.patch (fate#316110)
- when using syncmbr on POWER, make the first partition type 0x41
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=79
2014-01-09 17:35:35 +01:00
|
|
|
#PATCH-FEATURE-SUSE more-reliable-informing-the-kernel.patch bnc#657360 petr.uzel@suse.cz
|
2015-04-24 17:49:30 +02:00
|
|
|
Patch13: more-reliable-informing-the-kernel.patch
|
|
|
|
Patch17: dummy-bootcode-only-for-x86.patch
|
|
|
|
Patch18: parted-type.patch
|
|
|
|
Patch19: parted-mac.patch
|
|
|
|
Patch20: libparted-dasd-do-not-use-first-tracks.patch
|
|
|
|
Patch21: libparted-use-BLKRRPART-for-DASD.patch.patch
|
|
|
|
Patch22: libparted-allow-bigger-snap-radius-if-cylinders-are-used.patch
|
|
|
|
Patch23: libparted-make-BLKRRPART-more-robust.patch
|
|
|
|
Patch24: libparted-make-sure-not-to-treat-percentages-and-cyls-as-exact.patch
|
|
|
|
Patch25: libparted-dasd-implicit-partition-disk-flag.patch
|
|
|
|
Patch26: lib-fs-resize-prevent-crash-resizing-FAT16.patch
|
|
|
|
Patch27: parted-dont-crash-in-disk_set-when-disk-label-not-found.patch
|
|
|
|
Patch28: libparted-device-mapper-uses-512b-sectors.patch
|
2015-05-21 08:44:07 +02:00
|
|
|
# Remove following compatibility patch once bnc#931765 is resolved
|
2015-04-24 17:49:30 +02:00
|
|
|
Patch29: parted-resize-alias-to-resizepart.patch
|
|
|
|
Patch30: libparted-avoid-libdevice-mapper-warnings.patch
|
2017-11-21 12:38:50 +01:00
|
|
|
# Patch31 dropped for bsc#1058667
|
2016-03-11 12:49:52 +01:00
|
|
|
Patch32: libparted-Use-read-only-when-probing-devices-on-linu.patch
|
2016-05-26 15:48:48 +02:00
|
|
|
Patch33: libparted-open-the-device-RO-and-lazily-switch-to-RW.patch
|
|
|
|
Patch34: parted-implement-wipesignatures-option.patch
|
2016-06-14 13:11:50 +02:00
|
|
|
# bsc#982169
|
|
|
|
Patch35: libparted-Add-support-for-NVMe-devices.patch
|
|
|
|
Patch36: libparted-fix-nvme-partition-naming.patch
|
2017-04-27 18:00:58 +02:00
|
|
|
Patch37: libparted-dont-warn-if-no-HDIO_GET_IDENTITY.patch
|
2017-05-18 09:06:10 +02:00
|
|
|
# fate#320525 / bsc#935127
|
|
|
|
Patch38: 0001-fdasd-geometry-handling-updated-from-upstream-s390-t.patch
|
|
|
|
Patch39: 0002-dasd-enhance-device-probing.patch
|
|
|
|
Patch40: 0003-parted-fix-build-error-on-s390.patch
|
|
|
|
Patch41: 0004-fdasd.c-Safeguard-against-geometry-misprobing.patch
|
|
|
|
Patch42: 0005-libparted-Remove-fdasd-geometry-code-from-alloc_meta.patch
|
2017-05-03 09:22:20 +02:00
|
|
|
# fate#321531
|
2017-05-18 09:06:10 +02:00
|
|
|
Patch43: libparted-dasd-unify-vtoc-handling-for-cdl-ldl.patch
|
|
|
|
Patch44: libparted-dasd-update-and-improve-fdasd-functions.patch
|
|
|
|
Patch45: libparted-dasd-add-new-fdasd-functions.patch
|
|
|
|
Patch46: libparted-Add-support-for-RAM-drives.patch
|
2017-06-15 21:25:03 +02:00
|
|
|
# fate#314888
|
|
|
|
Patch47: libparted-dasd-improve-lvm-raid-flag-handling.patch
|
|
|
|
Patch48: parted-mkpart-set-a-swap-flag-if-available.patch
|
|
|
|
Patch49: libparted-set-swap-flag-on-GPT-partitions.patch
|
|
|
|
Patch50: libparted-dasd-add-swap-flag-handling-for-DASD-CDL.patch
|
2017-08-10 17:18:26 +02:00
|
|
|
Patch51: parted-mkpart-allow-empty-gpt-part-name.patch
|
2017-08-28 13:36:52 +02:00
|
|
|
Patch52: libparted-fix-starting-CHS-in-protective-MBR.patch
|
2017-11-13 18:52:10 +01:00
|
|
|
Patch53: libparted-BLKPG_RESIZE_PARTITION-uses-bytes.patch
|
|
|
|
Patch54: libparted-fix-udev-cookie-leak.patch
|
|
|
|
Patch55: libparted-Add-support-for-NVDIMM-devices.patch
|
|
|
|
Patch56: libparted-fix-NVDIMM-partition-naming.patch
|
|
|
|
Patch57: parted-escape-printed-device-path.patch
|
2017-11-21 12:38:50 +01:00
|
|
|
Patch58: parted-add-ignore-busy-option.patch
|
|
|
|
Patch59: parted-fix-resizepart-and-rm-command.patch
|
2018-01-26 17:15:34 +01:00
|
|
|
Patch60: libparted-use-BLKRRPART-only-when-needed.patch
|
2018-02-20 16:38:03 +01:00
|
|
|
Patch61: libparted-canonicalize-dev-md-paths.patch
|
2018-08-01 17:15:42 +02:00
|
|
|
Patch62: libparted-sysmacros.patch
|
2017-11-13 18:52:10 +01:00
|
|
|
# Fatresize
|
2014-01-31 16:39:50 +01:00
|
|
|
Patch100: parted-fatresize-autoconf.patch
|
2017-12-19 19:02:05 +01:00
|
|
|
Patch101: fatresize-fix-getting-dev-name.patch
|
2017-09-13 17:19:44 +02:00
|
|
|
# Upstream tests patches
|
|
|
|
Patch150: tests-set-optimal-blocks-for-scsi_debug.patch
|
|
|
|
Patch151: tests-increase-scsi_debug-tmo.patch
|
|
|
|
Patch152: tests-use-wait_for_dev_to_-functions.patch
|
|
|
|
Patch153: tests-wait_for_-loop.patch
|
|
|
|
Patch154: tests-update-t0220-t0280-for-swap-flag.patch
|
2017-11-13 18:52:10 +01:00
|
|
|
Patch155: tests-check-extended-partition-length.patch
|
2018-02-20 16:38:03 +01:00
|
|
|
Patch156: tests-add-helper-require_swap_.patch
|
|
|
|
Patch157: tests-add-dev-md-check-to-t6100.patch
|
|
|
|
|
2017-09-13 17:19:44 +02:00
|
|
|
# SUSE tests patches
|
|
|
|
Patch200: tests-adapt-to-SUSE.patch
|
2010-04-02 13:35:12 +02:00
|
|
|
BuildRequires: check-devel
|
|
|
|
BuildRequires: device-mapper-devel >= 1.02.33
|
|
|
|
BuildRequires: e2fsprogs-devel
|
2010-09-17 16:52:04 +02:00
|
|
|
BuildRequires: libblkid-devel >= 2.17
|
2010-04-02 13:35:12 +02:00
|
|
|
BuildRequires: libreiserfs-devel
|
|
|
|
BuildRequires: libselinux-devel
|
|
|
|
BuildRequires: libsepol-devel
|
2011-12-30 09:47:40 +01:00
|
|
|
BuildRequires: libtool
|
2010-09-17 16:52:04 +02:00
|
|
|
BuildRequires: libuuid-devel
|
- update to parted-3.1 (fate#316110)
- changes in parted-3.1:
* Changes in behavior
- Floppy drives are no longer scanned on linux: they cannot be
partitioned anyhow, and some users have a misconfigured BIOS
that claims to have a floppy when they don't, and scanning
gets hung up.
- parted: the mkpart command has changed semantics with regard
to specifying the end of the partition. If the end is
specified using units of MiB, GiB, etc., parted subtracts one
sector from the specified value. With this change, it is now
possible to create partitions like 1MiB-2MiB, 2MiB-3MiB and
so on.
* Many bugfixes (see changelog)
- changes in parted-3.0:
* Changes in behavior
- Remove all FS-related (file system-related) sub-commands;
these commands are no longer recognized because they were all
dependent on parted "knowing" too much about file system:
mkpartfs, mkfs, cp, move, check.
- 'resize' command changed semantics:
it no longer resizes the filesystem, but only moves end
sector of the partition
- libparted-devel contains libparted-fs-resize library
- add ability to change size of the partition (ignoring contained
filesystem) with 'resize' command; this command has different
semantics than the former 'resize' command which upstream
decided to drop
- parted-resize-command.patch (fate#316110)
- when using syncmbr on POWER, make the first partition type 0x41
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=79
2014-01-09 17:35:35 +01:00
|
|
|
BuildRequires: makeinfo
|
2011-12-30 09:47:40 +01:00
|
|
|
BuildRequires: pkg-config
|
2010-04-02 13:35:12 +02:00
|
|
|
BuildRequires: readline-devel
|
2010-04-02 14:50:56 +02:00
|
|
|
PreReq: %install_info_prereq
|
2007-01-15 15:29:14 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2009-01-09 01:44:02 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: parted-64bit
|
|
|
|
%endif
|
2007-01-15 15:29:14 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
GNU Parted is a program for creating, destroying, resizing, checking,
|
|
|
|
and copying partitions, and the file systems on them.
|
|
|
|
|
2010-09-17 16:52:04 +02:00
|
|
|
%package -n libparted0
|
|
|
|
Summary: Library for manipulating partitions
|
2016-06-24 09:49:52 +02:00
|
|
|
Group: System/Libraries
|
2010-09-17 16:52:04 +02:00
|
|
|
|
|
|
|
%description -n libparted0
|
|
|
|
Libparted is a library for creating, destroying, resizing, checking
|
|
|
|
and copying partitions and the file systems on them.
|
|
|
|
|
2007-01-15 15:29:14 +01:00
|
|
|
%package devel
|
2008-08-29 13:51:20 +02:00
|
|
|
Summary: Parted Include Files and Libraries necessary for Development
|
|
|
|
Group: Development/Libraries/C and C++
|
2010-04-02 13:35:12 +02:00
|
|
|
Requires: device-mapper-devel >= 1.02.33
|
|
|
|
Requires: e2fsprogs-devel
|
2010-09-17 16:52:04 +02:00
|
|
|
Requires: libparted0 = %version
|
2012-07-03 15:40:05 +02:00
|
|
|
Requires: libreiserfs-devel
|
2009-01-09 01:44:02 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: parted-devel-64bit
|
|
|
|
%endif
|
2007-01-15 15:29:14 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains all necessary include files and libraries needed
|
|
|
|
to develop applications that require these.
|
|
|
|
|
2009-06-20 00:10:12 +02:00
|
|
|
%lang_package
|
2007-01-15 15:29:14 +01:00
|
|
|
%prep
|
2014-01-31 16:39:50 +01:00
|
|
|
%setup -a 4
|
2007-01-15 15:29:14 +01:00
|
|
|
%patch1 -p1
|
2008-01-18 00:07:36 +01:00
|
|
|
%patch10 -p1
|
2010-04-02 13:35:12 +02:00
|
|
|
%patch11 -p1
|
2010-12-09 10:45:03 +01:00
|
|
|
%patch12 -p1
|
- update to parted-3.1 (fate#316110)
- changes in parted-3.1:
* Changes in behavior
- Floppy drives are no longer scanned on linux: they cannot be
partitioned anyhow, and some users have a misconfigured BIOS
that claims to have a floppy when they don't, and scanning
gets hung up.
- parted: the mkpart command has changed semantics with regard
to specifying the end of the partition. If the end is
specified using units of MiB, GiB, etc., parted subtracts one
sector from the specified value. With this change, it is now
possible to create partitions like 1MiB-2MiB, 2MiB-3MiB and
so on.
* Many bugfixes (see changelog)
- changes in parted-3.0:
* Changes in behavior
- Remove all FS-related (file system-related) sub-commands;
these commands are no longer recognized because they were all
dependent on parted "knowing" too much about file system:
mkpartfs, mkfs, cp, move, check.
- 'resize' command changed semantics:
it no longer resizes the filesystem, but only moves end
sector of the partition
- libparted-devel contains libparted-fs-resize library
- add ability to change size of the partition (ignoring contained
filesystem) with 'resize' command; this command has different
semantics than the former 'resize' command which upstream
decided to drop
- parted-resize-command.patch (fate#316110)
- when using syncmbr on POWER, make the first partition type 0x41
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=79
2014-01-09 17:35:35 +01:00
|
|
|
%patch13 -p1
|
2011-12-30 09:47:40 +01:00
|
|
|
%patch17 -p1
|
2015-04-24 17:49:30 +02:00
|
|
|
%patch18 -p1
|
2012-07-03 15:40:05 +02:00
|
|
|
%patch19 -p1
|
2012-07-27 13:11:41 +02:00
|
|
|
%patch20 -p1
|
2012-09-27 15:49:43 +02:00
|
|
|
%patch21 -p1
|
2012-11-21 16:11:08 +01:00
|
|
|
%patch22 -p1
|
2013-04-22 17:17:19 +02:00
|
|
|
%patch23 -p1
|
|
|
|
%patch24 -p1
|
2013-09-20 17:17:00 +02:00
|
|
|
%patch25 -p1
|
2013-12-30 10:20:53 +01:00
|
|
|
%patch26 -p1
|
- update to parted-3.1 (fate#316110)
- changes in parted-3.1:
* Changes in behavior
- Floppy drives are no longer scanned on linux: they cannot be
partitioned anyhow, and some users have a misconfigured BIOS
that claims to have a floppy when they don't, and scanning
gets hung up.
- parted: the mkpart command has changed semantics with regard
to specifying the end of the partition. If the end is
specified using units of MiB, GiB, etc., parted subtracts one
sector from the specified value. With this change, it is now
possible to create partitions like 1MiB-2MiB, 2MiB-3MiB and
so on.
* Many bugfixes (see changelog)
- changes in parted-3.0:
* Changes in behavior
- Remove all FS-related (file system-related) sub-commands;
these commands are no longer recognized because they were all
dependent on parted "knowing" too much about file system:
mkpartfs, mkfs, cp, move, check.
- 'resize' command changed semantics:
it no longer resizes the filesystem, but only moves end
sector of the partition
- libparted-devel contains libparted-fs-resize library
- add ability to change size of the partition (ignoring contained
filesystem) with 'resize' command; this command has different
semantics than the former 'resize' command which upstream
decided to drop
- parted-resize-command.patch (fate#316110)
- when using syncmbr on POWER, make the first partition type 0x41
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=79
2014-01-09 17:35:35 +01:00
|
|
|
%patch27 -p1
|
|
|
|
%patch28 -p1
|
2014-02-14 13:59:30 +01:00
|
|
|
%patch29 -p1
|
|
|
|
%patch30 -p1
|
2016-03-11 12:49:52 +01:00
|
|
|
%patch32 -p1
|
2016-05-18 09:25:05 +02:00
|
|
|
%patch33 -p1
|
2016-05-26 15:48:48 +02:00
|
|
|
%patch34 -p1
|
2016-06-14 13:11:50 +02:00
|
|
|
%patch35 -p1
|
|
|
|
%patch36 -p1
|
2017-04-27 18:00:58 +02:00
|
|
|
%patch37 -p1
|
2017-05-03 09:22:20 +02:00
|
|
|
%patch38 -p1
|
|
|
|
%patch39 -p1
|
|
|
|
%patch40 -p1
|
2017-05-11 15:21:28 +02:00
|
|
|
%patch41 -p1
|
2017-05-18 09:06:10 +02:00
|
|
|
%patch42 -p1
|
|
|
|
%patch43 -p1
|
|
|
|
%patch44 -p1
|
|
|
|
%patch45 -p1
|
|
|
|
%patch46 -p1
|
2017-06-15 21:25:03 +02:00
|
|
|
%patch47 -p1
|
|
|
|
%patch48 -p1
|
|
|
|
%patch49 -p1
|
|
|
|
%patch50 -p1
|
2017-08-10 17:18:26 +02:00
|
|
|
%patch51 -p1
|
2017-08-28 13:36:52 +02:00
|
|
|
%patch52 -p1
|
2017-11-13 18:52:10 +01:00
|
|
|
%patch53 -p1
|
|
|
|
%patch54 -p1
|
|
|
|
%patch55 -p1
|
|
|
|
%patch56 -p1
|
|
|
|
%patch57 -p1
|
2017-11-21 12:38:50 +01:00
|
|
|
%patch58 -p1
|
|
|
|
%patch59 -p1
|
2018-01-26 17:15:34 +01:00
|
|
|
%patch60 -p1
|
2018-02-20 16:38:03 +01:00
|
|
|
%patch61 -p1
|
2018-08-01 17:15:42 +02:00
|
|
|
%patch62 -p1
|
2014-01-31 16:39:50 +01:00
|
|
|
%patch100 -p1
|
2017-12-19 19:02:05 +01:00
|
|
|
%patch101 -p1
|
2017-09-13 17:19:44 +02:00
|
|
|
%patch150 -p1
|
|
|
|
%patch151 -p1
|
|
|
|
%patch152 -p1
|
|
|
|
%patch153 -p1
|
|
|
|
%patch154 -p1
|
2017-11-13 18:52:10 +01:00
|
|
|
%patch155 -p1
|
2018-02-20 16:38:03 +01:00
|
|
|
%patch156 -p1
|
|
|
|
%patch157 -p1
|
2017-09-13 17:19:44 +02:00
|
|
|
%patch200 -p1
|
2011-08-02 14:56:08 +02:00
|
|
|
|
2007-01-15 15:29:14 +01:00
|
|
|
%build
|
2011-08-02 13:58:32 +02:00
|
|
|
export CFLAGS="%{optflags} `ncursesw6-config --cflags`"
|
2016-06-24 09:49:52 +02:00
|
|
|
export LIBS="`ncursesw6-config --libs`"
|
2008-05-10 00:56:36 +02:00
|
|
|
AUTOPOINT=true autoreconf --force --install
|
- update to parted-3.1 (fate#316110)
- changes in parted-3.1:
* Changes in behavior
- Floppy drives are no longer scanned on linux: they cannot be
partitioned anyhow, and some users have a misconfigured BIOS
that claims to have a floppy when they don't, and scanning
gets hung up.
- parted: the mkpart command has changed semantics with regard
to specifying the end of the partition. If the end is
specified using units of MiB, GiB, etc., parted subtracts one
sector from the specified value. With this change, it is now
possible to create partitions like 1MiB-2MiB, 2MiB-3MiB and
so on.
* Many bugfixes (see changelog)
- changes in parted-3.0:
* Changes in behavior
- Remove all FS-related (file system-related) sub-commands;
these commands are no longer recognized because they were all
dependent on parted "knowing" too much about file system:
mkpartfs, mkfs, cp, move, check.
- 'resize' command changed semantics:
it no longer resizes the filesystem, but only moves end
sector of the partition
- libparted-devel contains libparted-fs-resize library
- add ability to change size of the partition (ignoring contained
filesystem) with 'resize' command; this command has different
semantics than the former 'resize' command which upstream
decided to drop
- parted-resize-command.patch (fate#316110)
- when using syncmbr on POWER, make the first partition type 0x41
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=79
2014-01-09 17:35:35 +01:00
|
|
|
%configure --disable-static \
|
2010-07-19 20:20:25 +02:00
|
|
|
--enable-device-mapper=yes \
|
|
|
|
--enable-dynamic-loading=no \
|
|
|
|
--enable-selinux \
|
- update to parted-3.1 (fate#316110)
- changes in parted-3.1:
* Changes in behavior
- Floppy drives are no longer scanned on linux: they cannot be
partitioned anyhow, and some users have a misconfigured BIOS
that claims to have a floppy when they don't, and scanning
gets hung up.
- parted: the mkpart command has changed semantics with regard
to specifying the end of the partition. If the end is
specified using units of MiB, GiB, etc., parted subtracts one
sector from the specified value. With this change, it is now
possible to create partitions like 1MiB-2MiB, 2MiB-3MiB and
so on.
* Many bugfixes (see changelog)
- changes in parted-3.0:
* Changes in behavior
- Remove all FS-related (file system-related) sub-commands;
these commands are no longer recognized because they were all
dependent on parted "knowing" too much about file system:
mkpartfs, mkfs, cp, move, check.
- 'resize' command changed semantics:
it no longer resizes the filesystem, but only moves end
sector of the partition
- libparted-devel contains libparted-fs-resize library
- add ability to change size of the partition (ignoring contained
filesystem) with 'resize' command; this command has different
semantics than the former 'resize' command which upstream
decided to drop
- parted-resize-command.patch (fate#316110)
- when using syncmbr on POWER, make the first partition type 0x41
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=79
2014-01-09 17:35:35 +01:00
|
|
|
--disable-silent-rules
|
2010-06-28 23:24:54 +02:00
|
|
|
make %{?_smp_mflags}
|
2007-01-15 15:29:14 +01:00
|
|
|
|
|
|
|
%install
|
2016-06-24 09:49:52 +02:00
|
|
|
%make_install
|
2010-04-02 13:35:12 +02:00
|
|
|
rm %{buildroot}%{_libdir}/*.la
|
2008-03-16 19:57:27 +01:00
|
|
|
%find_lang %{name}
|
2007-01-15 15:29:14 +01:00
|
|
|
|
|
|
|
%post
|
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
|
|
|
|
2016-06-24 09:49:52 +02:00
|
|
|
%preun
|
2007-01-15 15:29:14 +01:00
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
|
|
|
|
2016-06-24 09:49:52 +02:00
|
|
|
%post -n libparted0 -p /sbin/ldconfig
|
|
|
|
%postun -n libparted0 -p /sbin/ldconfig
|
2010-09-17 16:52:04 +02:00
|
|
|
|
2009-06-20 00:10:12 +02:00
|
|
|
%files
|
2007-01-15 15:29:14 +01:00
|
|
|
%defattr(-,root,root)
|
2018-05-24 17:15:56 +02:00
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS BUGS ChangeLog NEWS README THANKS TODO
|
2007-01-15 15:29:14 +01:00
|
|
|
%{_sbindir}/*
|
|
|
|
%{_mandir}/man8/part*.8.gz
|
|
|
|
%doc %{_infodir}/*.info*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc doc/API doc/FAT
|
2010-04-02 13:35:12 +02:00
|
|
|
%{_includedir}/*
|
2007-03-22 21:00:14 +01:00
|
|
|
%{_libdir}/pkgconfig/libparted.pc
|
2007-01-15 15:29:14 +01:00
|
|
|
%{_libdir}/*.so
|
|
|
|
|
2010-09-17 16:52:04 +02:00
|
|
|
%files -n libparted0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
2009-06-20 00:10:12 +02:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
2007-02-25 23:33:28 +01:00
|
|
|
%changelog
|