Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:GA
parted
parted.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File parted.spec of Package parted
# # spec file for package parted # # Copyright (c) 2021 SUSE LLC # # 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. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: parted Version: 3.1 Release: 0 Summary: GNU partitioner License: GPL-3.0-or-later Group: System/Filesystems URL: http://www.gnu.org/software/parted/ Source0: ftp://ftp.gnu.org/gnu/parted/%{name}-%{version}.tar.xz Source1: ftp://ftp.gnu.org/gnu/parted/%{name}-%{version}.tar.xz.sig Source2: parted.keyring Source3: baselibs.conf Source4: fatresize-0.1.tar.bz2 # Build patches Patch1: parted-2.4-ncursesw6.patch # Other patches Patch7: hfs_fix.dif Patch8: parted-wipeaix.patch Patch9: fix-error-informing-the-kernel.patch Patch10: libparted-refactor-dm-part-sync-code.patch Patch11: libparted-remove-extraneous-blkpg-add-part-exception.patch Patch12: libparted-dont-probe-every-dm-device.patch Patch13: Revert-linux-commit-do-not-unnecessarily-open-partition.patch Patch14: libparted-avoid-disturbing-partitions.patch Patch15: libparted-use-dm_udev_wait.patch Patch16: libparted-preserve-uuid-on-dm-part.patch Patch17: libparted-sync-partitions-gt-16.patch Patch18: libparted-remove-old-partitions-first.patch Patch19: libparted-remove-all-old-partitions-even-if-new-labe.patch #PATCH-FEATURE-SUSE libparted-partition-naming.patch bnc471440,447591 petr.uzel@suse.cz Patch20: libparted-partition-naming.patch #PATCH-FEATURE-SUSE more-reliable-informing-the-kernel.patch bnc#657360 petr.uzel@suse.cz Patch21: more-reliable-informing-the-kernel.patch Patch22: dummy-bootcode-only-for-x86.patch Patch23: parted-type.patch Patch24: parted-mac.patch Patch25: parted-Add-Intel-Rapid-Start-Technology-partition.patch Patch26: parted-btrfs-support.patch Patch27: parted-GPT-add-support-for-PReP-GUID.patch Patch28: parted-resize-command.patch Patch29: libparted-dasd-do-not-use-first-tracks.patch Patch30: libparted-initialize-dasd-part-type.patch Patch31: libparted-use-BLKRRPART-for-DASD.patch.patch Patch32: libparted-copy-pmbr_boot-when-duplicating-GPT-disk.patch Patch33: Fix-help-text-for-disk_-set-toggle.patch Patch34: libparted-allow-bigger-snap-radius-if-cylinders-are-used.patch Patch35: libparted-add-support-for-implicit-FBA-DASD-partition.patch Patch36: libparted-add-support-for-EAV-DASD-partitions.patch Patch37: libparted-mklabel-to-support-EAV-DASD.patch Patch38: libparted-Avoid-dasd-as-default-disk-type-while-probe.patch Patch39: libparted-mklabel-to-support-EDEV-DASD.patch Patch40: libparted-make-BLKRRPART-more-robust.patch Patch41: libparted-make-sure-not-to-treat-percentages-and-cyls-as-exact.patch Patch42: libparted-dasd-implicit-partition-disk-flag.patch Patch43: parted-improve-fallback-logic-when-placing-partiton.patch Patch44: libparted-allow-even-bigger-snap-radius-if-cylinders-are-used.patch Patch47: parted-dont-snap-to-boundaries-of-freespace.patch # fate#320525 / bsc#935127 Patch48: 0001-fdasd-geometry-handling-updated-from-upstream-s390-t.patch Patch49: 0002-dasd-enhance-device-probing.patch Patch50: 0003-parted-fix-build-error-on-s390.patch Patch51: 0004-fdasd.c-Safeguard-against-geometry-misprobing.patch Patch52: 0005-libparted-Remove-fdasd-geometry-code-from-alloc_meta.patch Patch53: libparted-Use-read-only-when-probing-devices-on-linu.patch Patch54: libparted-open-the-device-RO-and-lazily-switch-to-RW.patch Patch55: parted-implement-wipesignatures-option.patch # bsc#982169 Patch56: libparted-Add-support-for-NVMe-devices.patch Patch57: libparted-fix-nvme-partition-naming.patch Patch59: libparted-dont-warn-if-no-HDIO_GET_IDENTITY.patch # fate#321531 Patch60: libparted-dasd-unify-vtoc-handling-for-cdl-ldl.patch Patch61: libparted-dasd-update-and-improve-fdasd-functions.patch Patch62: libparted-dasd-add-new-fdasd-functions.patch Patch63: libparted-Add-support-for-RAM-drives.patch Patch64: parted-mkpart-allow-empty-gpt-part-name.patch Patch65: libparted-fix-starting-CHS-in-protective-MBR.patch Patch66: libparted-gpt-fix-max-partnum-endianness.patch # bsc#1137259 Patch67: parted-bsc1137259-fix-_part-error.patch Patch68: libparted-dm-sector-size.patch # Fatresize Patch100: parted-fatresize-autoconf.patch Patch101: fatresize-fix-getting-dev-name.patch # Upstream tests patches Patch150: tests-clean-up-tests.patch Patch151: tests-stop-using-private-dev-directory-for-losetup.patch Patch152: tests-cleanup-losetup-usage.patch Patch153: tests-rewrite-t6001-to-use-dev-mapper.patch Patch154: tests-set-optimal-blocks-for-scsi_debug.patch Patch155: tests-increase-scsi_debug-tmo.patch Patch156: tests-use-wait_for_dev_to_-functions.patch Patch157: tests-wait_for_-loop.patch Patch158: tests-t8001-do-not-rely-on-modprobe-loop.patch # SUSE tests patches Patch200: tests-adapt-to-SUSE.patch Requires: /sbin/udevadm BuildRequires: check-devel BuildRequires: device-mapper-devel >= 1.02.33 BuildRequires: e2fsprogs-devel BuildRequires: libblkid-devel >= 2.17 BuildRequires: libreiserfs-devel BuildRequires: libselinux-devel BuildRequires: libsepol-devel BuildRequires: libtool BuildRequires: libuuid-devel BuildRequires: makeinfo BuildRequires: pkg-config BuildRequires: readline-devel %if %suse_version >= 1230 BuildRequires: gpg-offline %endif PreReq: %install_info_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build # bug437293 %ifarch ppc64 Obsoletes: parted-64bit %endif %description GNU Parted is a program for creating, destroying, resizing, checking, and copying partitions, and the file systems on them. %package -n libparted0 Summary: Library for manipulating partitions Group: System/Filesystems %description -n libparted0 Libparted is a library for creating, destroying, resizing, checking and copying partitions and the file systems on them. %package devel Summary: Parted Include Files and Libraries necessary for Development Group: Development/Libraries/C and C++ Requires: device-mapper-devel >= 1.02.33 Requires: e2fsprogs-devel Requires: libparted0 = %version Requires: libreiserfs-devel # bug437293 %ifarch ppc64 Obsoletes: parted-devel-64bit %endif %description devel This package contains all necessary include files and libraries needed to develop applications that require these. %lang_package %prep %{?gpg_verify: %gpg_verify %{S:1}} %setup -a 4 %patch1 -p1 %patch7 -p1 %patch8 -p1 %patch9 -p1 %patch10 -p1 %patch11 -p1 %patch12 -p1 %patch13 -p1 %patch14 -p1 %patch15 -p1 %patch16 -p1 %patch17 -p1 %patch18 -p1 %patch19 -p1 %patch20 -p1 %patch21 -p1 %patch22 -p1 %patch23 -p1 %patch24 -p1 %patch25 -p1 %patch26 -p1 %patch27 -p1 %patch28 -p1 %patch29 -p1 %patch30 -p1 %patch31 -p1 %patch32 -p1 %patch33 -p1 %patch34 -p1 %patch35 -p1 %patch36 -p1 %patch37 -p1 %patch38 -p1 %patch39 -p1 %patch40 -p1 %patch41 -p1 %patch42 -p1 %patch43 -p1 %patch44 -p1 %patch47 -p1 %patch48 -p1 %patch49 -p1 %patch50 -p1 %patch51 -p1 %patch52 -p1 %patch53 -p1 %patch54 -p1 %patch55 -p1 %patch56 -p1 %patch57 -p1 %patch59 -p1 %patch60 -p1 %patch61 -p1 %patch62 -p1 %patch63 -p1 %patch64 -p1 %patch65 -p1 %patch66 -p1 %patch67 -p1 %patch68 -p1 %patch100 -p1 %patch101 -p1 %patch150 -p1 %patch151 -p1 %patch152 -p1 %patch153 -p1 %patch154 -p1 %patch155 -p1 %patch156 -p1 %patch157 -p1 %patch158 -p1 %patch200 -p1 %build export CFLAGS="%{optflags} `ncursesw6-config --cflags`" export LDFLAGS="`ncursesw6-config --libs`" AUTOPOINT=true autoreconf --force --install %configure --disable-static \ --with-pic \ --enable-device-mapper=yes \ --enable-dynamic-loading=no \ --enable-selinux \ --disable-silent-rules make %{?_smp_mflags} %install %makeinstall rm %{buildroot}%{_libdir}/*.la %find_lang %{name} %clean rm -rf %{buildroot} %post %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %postun %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %post -n libparted0 /sbin/ldconfig %postun -n libparted0 /sbin/ldconfig %files %defattr(-,root,root) %doc AUTHORS BUGS COPYING ChangeLog NEWS README THANKS TODO %{_sbindir}/* %{_mandir}/man8/part*.8.gz %doc %{_infodir}/*.info* %files devel %defattr(-,root,root) %doc doc/API doc/FAT %{_includedir}/* %{_libdir}/pkgconfig/libparted.pc %{_libdir}/*.so %files -n libparted0 %defattr(-,root,root) %{_libdir}/*.so.* %files lang -f %{name}.lang %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor