2024-01-06 08:25:16 +01:00
|
|
|
### AUTOUPDATE-OFF: 2
|
|
|
|
%define pyb_ver 0.11.2
|
|
|
|
%define libname lib%{name}
|
|
|
|
|
|
|
|
Name: parted
|
2024-01-06 08:25:17 +01:00
|
|
|
Version: 3.6
|
2024-11-06 16:24:57 +01:00
|
|
|
Release: 3mamba
|
2024-01-06 08:25:16 +01:00
|
|
|
Summary: Tools for creating, destroying, resizing, checking and copying partitions
|
|
|
|
Group: System/Tools
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-11-06 04:33:33 +01:00
|
|
|
URL: https://www.gnu.org/software/parted/
|
2024-01-06 08:25:16 +01:00
|
|
|
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
|
2024-01-06 08:25:17 +01:00
|
|
|
BuildRequires: libblkid-devel
|
2024-01-06 08:25:16 +01:00
|
|
|
BuildRequires: libdevmapper-devel
|
|
|
|
BuildRequires: libncurses-devel
|
|
|
|
BuildRequires: libreadline-devel
|
2024-01-06 08:25:17 +01:00
|
|
|
BuildRequires: libuuid-devel
|
2024-01-06 08:25:16 +01:00
|
|
|
## 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.
|
2024-01-06 08:25:17 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-06 08:25:16 +01:00
|
|
|
|
2024-01-06 08:25:17 +01:00
|
|
|
%debug_package
|
2024-01-06 08:25:16 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-06 08:25:17 +01:00
|
|
|
%patch 1 -p1
|
2024-01-06 08:25:16 +01:00
|
|
|
|
|
|
|
%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
|
2024-11-06 16:24:57 +01:00
|
|
|
rm -f %{buildroot}%{_infodir}/dir
|
2024-01-06 08:25:16 +01:00
|
|
|
|
|
|
|
%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)
|
|
|
|
%{_sbindir}/%{name}
|
|
|
|
%{_sbindir}/partprobe
|
2024-11-06 16:24:57 +01:00
|
|
|
%{_infodir}/parted.info*
|
2024-01-06 08:25:16 +01:00
|
|
|
%{_mandir}/man8/*
|
|
|
|
|
|
|
|
%files -n %{libname}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/%{libname}*.so.*
|
2024-01-06 08:25:17 +01:00
|
|
|
%doc AUTHORS COPYING
|
2024-01-06 08:25:16 +01:00
|
|
|
|
|
|
|
%files -n %{libname}-devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 08:25:17 +01:00
|
|
|
%dir %{_includedir}/%{name}
|
2024-01-06 08:25:16 +01:00
|
|
|
%{_includedir}/%{name}/*
|
|
|
|
%{_libdir}/%{libname}*.a
|
|
|
|
%{_libdir}/%{libname}*.so
|
2024-01-06 08:25:16 +01:00
|
|
|
%{_libdir}/pkgconfig/%{libname}*.pc
|
2024-01-06 08:25:17 +01:00
|
|
|
%doc BUGS ChangeLog NEWS README THANKS TODO
|
2024-01-06 08:25:16 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-11-06 16:24:57 +01:00
|
|
|
* Wed Nov 06 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6-3mamba
|
|
|
|
- remove conflicting info/dir
|
|
|
|
|
2024-11-06 04:33:33 +01:00
|
|
|
* Tue Nov 05 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6-2mamba
|
|
|
|
- rebuilt
|
|
|
|
|
2024-01-06 08:25:17 +01:00
|
|
|
* Wed Apr 12 2023 Automatic Build System <autodist@mambasoft.it> 3.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:25:17 +01:00
|
|
|
* Sat Mar 11 2023 Automatic Build System <autodist@mambasoft.it> 3.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:25:16 +01:00
|
|
|
* Thu Jan 28 2021 Automatic Build System <autodist@mambasoft.it> 3.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:25:16 +01:00
|
|
|
* Sun Oct 27 2019 Automatic Build System <autodist@mambasoft.it> 3.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:25:16 +01:00
|
|
|
* Tue Jul 29 2014 Automatic Build System <autodist@mambasoft.it> 3.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:25:16 +01:00
|
|
|
* Mon Mar 12 2012 Automatic Build System <autodist@mambasoft.it> 3.1-1mamba
|
|
|
|
- update to 3.1
|
|
|
|
|
|
|
|
* Mon Mar 12 2012 Automatic Build System <autodist@mambasoft.it> 3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Sep 26 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4-2mamba
|
|
|
|
- added a patch to prevent a crash with kernel 3.0
|
|
|
|
|
|
|
|
* Thu May 19 2011 Automatic Build System <autodist@mambasoft.it> 2.4-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat May 29 2010 Automatic Build System <autodist@mambasoft.it> 2.3-1mamba
|
|
|
|
- automatic update to 2.3 by autodist
|
|
|
|
|
|
|
|
* Fri Mar 12 2010 Automatic Build System <autodist@mambasoft.it> 2.2-1mamba
|
|
|
|
- automatic update to 2.2 by autodist
|
|
|
|
|
|
|
|
* Wed Jan 13 2010 Automatic Build System <autodist@mambasoft.it> 2.1-1mamba
|
|
|
|
- automatic update to 2.1 by autodist
|
|
|
|
|
|
|
|
* Sat Jul 25 2009 Automatic Build System <autodist@mambasoft.it> 1.9.0-1mamba
|
|
|
|
- update to 1.9.0
|
|
|
|
|
|
|
|
* Tue Feb 12 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.8-1mamba
|
|
|
|
- update to 1.8.8
|
|
|
|
|
|
|
|
* Fri May 04 2007 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.8.6-1mamba
|
|
|
|
- update to 1.8.6
|
|
|
|
|
|
|
|
* Mon Jul 24 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.1-1qilnx
|
|
|
|
- update to version 1.7.1 by autospec
|
|
|
|
|
|
|
|
* Mon Jul 24 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.0-1qilnx
|
|
|
|
- update to version 1.7.0 by autospec
|
|
|
|
|
|
|
|
* Wed Apr 12 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.0rc4-1qilnx
|
|
|
|
- update to version 1.7.0rc4 by autospec
|
|
|
|
|
|
|
|
* Wed Apr 12 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.25.1-3qilnx
|
|
|
|
- add patch to set the proper GUID on HFS/HFS+ partitions
|
|
|
|
|
|
|
|
* Fri Mar 03 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 1.6.25.1-2qilnx
|
|
|
|
- specfile fixed and updated
|
|
|
|
- fixed building without python binding
|
|
|
|
|
|
|
|
* Thu Nov 17 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.6.25.1-1qilnx
|
|
|
|
- update to version 1.6.25.1 by autospec
|
|
|
|
|
|
|
|
* Wed Nov 09 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.6.25-2qilnx
|
|
|
|
- build requires libreiserfs-devel
|
|
|
|
|
|
|
|
* Wed Nov 09 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.6.25-1qilnx
|
|
|
|
- update to version 1.6.25 by autospec
|
|
|
|
|
|
|
|
* Sat Aug 13 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 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 <davide.madrisan@qilinux.it> 1.6.22-3qilnx
|
|
|
|
- fixed permissions in python-parted documentation
|
|
|
|
|
|
|
|
* Mon Apr 18 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.6.22-2qilnx
|
|
|
|
- parted-python requires python
|
|
|
|
|
|
|
|
* Wed Apr 13 2005 Davide Madrisan <davide.madrisan@qilinux.it> 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 <davide.madrisan@qilinux.it> 1.6.21-3qilnx
|
|
|
|
- fixed some typos errors in the specfile
|
|
|
|
- python package made conditionally enabled/disabled
|
|
|
|
|
|
|
|
* Mon Mar 14 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.6.21-2qilnx
|
|
|
|
- added python bindings
|
|
|
|
|
|
|
|
* Mon Mar 14 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.6.21-1qilnx
|
|
|
|
- update to version 1.6.21 by autospec
|
|
|
|
- added missing build requirements: ncurses-devel
|
|
|
|
|
|
|
|
* Mon Nov 22 2004 Davide Madrisan <davide.madrisan@qilinux.it> 1.6.18-1qilnx
|
|
|
|
- update to version 1.6.18 by autospec
|
|
|
|
|
|
|
|
* Fri Sep 24 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.15-1qilnx
|
|
|
|
- update to version 1.6.15 by autospec
|
|
|
|
|
|
|
|
* Wed Jul 28 2004 Davide Madrisan <davide.madrisan@qilinux.it> 1.6.11-1qilnx
|
|
|
|
- update to 1.6.11
|
|
|
|
|
|
|
|
* Thu Mar 25 2004 Davide Madrisan <davide.madrisan@qilinux.it> 1.6.6-1qilnx
|
|
|
|
- first build
|