### AUTOUPDATE-OFF: 2 %define pyb_ver 0.11.2 %define libname lib%{name} Name: parted Version: 3.6 Release: 2mamba Summary: Tools for creating, destroying, resizing, checking and copying partitions Group: System/Tools Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.gnu.org/software/parted/ Source0: http://ftp.gnu.org/gnu/parted/parted-%{version}.tar.xz Patch1: %{name}-1.8.6-disk_dos.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libblkid-devel BuildRequires: libdevmapper-devel BuildRequires: libncurses-devel BuildRequires: libreadline-devel BuildRequires: libuuid-devel ## AUTOBUILDREQ-END BuildRequires: gettext-devel BuildRequires: libcheck-devel Requires(post):%{__install_info} Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release} %description GNU Parted is a program for creating, destroying, resizing, checking and copying partitions, and the filesystems on them. This is useful for creating space for new operating systems, reorganising disk usage, copying data between hard disks, and disk imaging. %package -n %{libname} Group: System/Libraries Summary: Dinamic libraries for parted %description -n %{libname} GNU Parted is a program for creating, destroying, resizing, checking and copying partitions, and the filesystems on them. This is useful for creating space for new operating systems, reorganising disk usage, copying data between hard disks, and disk imaging. This package contains the dynamic libraries. %package -n %{libname}-devel Group: Development/Libraries Summary: Static libraries and header for parted Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release} %description -n %{libname}-devel GNU Parted is a program for creating, destroying, resizing, checking and copying partitions, and the filesystems on them. This is useful for creating space for new operating systems, reorganising disk usage, copying data between hard disks, and disk imaging. This package contains static libraries and header files needed for development. %debug_package %prep %setup -q %patch 1 -p1 %build %configure \ --enable-device-mapper \ %if "%{stage1}" != "1" --enable-selinux \ %endif --disable-Werror %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall rm -f %{buildroot}%{_bindir}/label %find_lang %{name} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post %install_info %{name}.info %preun %uninstall_info %{name}.info %files -f %{name}.lang %defattr(-,root,root) #%{_bindir}/disk %{_sbindir}/%{name} %{_sbindir}/partprobe %{_infodir}/* %{_mandir}/man8/* %files -n %{libname} %defattr(-,root,root) %{_libdir}/%{libname}*.so.* %doc AUTHORS COPYING %files -n %{libname}-devel %defattr(-,root,root) %dir %{_includedir}/%{name} %{_includedir}/%{name}/* %{_libdir}/%{libname}*.a %{_libdir}/%{libname}*.so %{_libdir}/pkgconfig/%{libname}*.pc %doc BUGS ChangeLog NEWS README THANKS TODO %changelog * Tue Nov 05 2024 Silvan Calarco 3.6-2mamba - rebuilt * Wed Apr 12 2023 Automatic Build System 3.6-1mamba - automatic version update by autodist * Sat Mar 11 2023 Automatic Build System 3.5-1mamba - automatic version update by autodist * Thu Jan 28 2021 Automatic Build System 3.4-1mamba - automatic version update by autodist * Sun Oct 27 2019 Automatic Build System 3.3-1mamba - automatic version update by autodist * Tue Jul 29 2014 Automatic Build System 3.2-1mamba - automatic version update by autodist * Mon Mar 12 2012 Automatic Build System 3.1-1mamba - update to 3.1 * Mon Mar 12 2012 Automatic Build System 3.0-1mamba - automatic version update by autodist * Mon Sep 26 2011 Silvan Calarco 2.4-2mamba - added a patch to prevent a crash with kernel 3.0 * Thu May 19 2011 Automatic Build System 2.4-1mamba - automatic update by autodist * Sat May 29 2010 Automatic Build System 2.3-1mamba - automatic update to 2.3 by autodist * Fri Mar 12 2010 Automatic Build System 2.2-1mamba - automatic update to 2.2 by autodist * Wed Jan 13 2010 Automatic Build System 2.1-1mamba - automatic update to 2.1 by autodist * Sat Jul 25 2009 Automatic Build System 1.9.0-1mamba - update to 1.9.0 * Tue Feb 12 2008 Silvan Calarco 1.8.8-1mamba - update to 1.8.8 * Fri May 04 2007 Stefano Cotta Ramusino 1.8.6-1mamba - update to 1.8.6 * Mon Jul 24 2006 Silvan Calarco 1.7.1-1qilnx - update to version 1.7.1 by autospec * Mon Jul 24 2006 Silvan Calarco 1.7.0-1qilnx - update to version 1.7.0 by autospec * Wed Apr 12 2006 Silvan Calarco 1.7.0rc4-1qilnx - update to version 1.7.0rc4 by autospec * Wed Apr 12 2006 Silvan Calarco 1.6.25.1-3qilnx - add patch to set the proper GUID on HFS/HFS+ partitions * Fri Mar 03 2006 Stefano Cotta Ramusino 1.6.25.1-2qilnx - specfile fixed and updated - fixed building without python binding * Thu Nov 17 2005 Davide Madrisan 1.6.25.1-1qilnx - update to version 1.6.25.1 by autospec * Wed Nov 09 2005 Davide Madrisan 1.6.25-2qilnx - build requires libreiserfs-devel * Wed Nov 09 2005 Davide Madrisan 1.6.25-1qilnx - update to version 1.6.25 by autospec * Sat Aug 13 2005 Silvan Calarco 1.6.24-1qilnx - update to version 1.6.24 by autospec - fix python binding build dir library linking * Tue Apr 19 2005 Davide Madrisan 1.6.22-3qilnx - fixed permissions in python-parted documentation * Mon Apr 18 2005 Davide Madrisan 1.6.22-2qilnx - parted-python requires python * Wed Apr 13 2005 Davide Madrisan 1.6.22-1qilnx - update to version 1.6.22 by autospec - added %%post and %%postun scripts to install/uninstall info files * Thu Mar 17 2005 Davide Madrisan 1.6.21-3qilnx - fixed some typos errors in the specfile - python package made conditionally enabled/disabled * Mon Mar 14 2005 Davide Madrisan 1.6.21-2qilnx - added python bindings * Mon Mar 14 2005 Davide Madrisan 1.6.21-1qilnx - update to version 1.6.21 by autospec - added missing build requirements: ncurses-devel * Mon Nov 22 2004 Davide Madrisan 1.6.18-1qilnx - update to version 1.6.18 by autospec * Fri Sep 24 2004 Silvan Calarco 1.6.15-1qilnx - update to version 1.6.15 by autospec * Wed Jul 28 2004 Davide Madrisan 1.6.11-1qilnx - update to 1.6.11 * Thu Mar 25 2004 Davide Madrisan 1.6.6-1qilnx - first build