Summary: The GNU disk partition manipulation program. Name: parted Version: 1.4.11 Release: 5 Copyright: GPL Group: Applications/System Buildroot: %{_tmppath}/%{name}-%{version}-root Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz Patch0: http://domsch.com/linux/parted/parted-1.4.11-gpt-010319.patch Patch1: http://domsch.com/linux/parted/parted-1.4.11-gpt-pmbralign.patch Patch2: parted-python.patch Patch3: parted-1.4.11-cciss.patch BuildPrereq: libunicode-devel %define _sbindir /sbin %description GNU Parted is a program that allows you to create, destroy, resize, move and copy hard disk partitions. This is useful for creating space for new operating systems, reorganising disk usage, and copying data to new hard disks. %package devel Summary: The GNU disk partition manipulation program development files. Group: Development/Libraries %description devel The GNU Parted library is a set of routines for disk partition manipulation. It contains functions that allow you to create, destroy, resize, move and copy hard disk partitions. Install the parted-devel package if you wish to develop programs that manipulate disk partitions and filesystems. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %build %define __libtoolize /bin/true %configure --enable-shared --enable-all-static make %install [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT %makeinstall %find_lang %name %clean [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr (-, root, root) %doc AUTHORS BUGS ChangeLog README THANKS TODO doc/USER* %{_mandir}/*/* %{_sbindir}/* %{_libdir}/lib*.so.* /usr/lib/python1.5/site-packages %files devel %defattr (-, root, root) %{_includedir}/parted %{_libdir}/lib*.so %changelog * Tue May 29 2001 Bill Nottingham - add major numbers for cciss - add libunicode-devel buildprereq * Sun May 27 2001 Matthew Wilson - added type, heads, and sectors to the python binding for PedDevice * Fri May 4 2001 Matt Wilson - added parted-1.4.11-gpt-pmbralign.patch from Matt Domsch * Wed May 2 2001 Matt Wilson - include python binding - enable shared library (for python binding, we want fpic code) with --enable-shared - build parted binary static with --enable-all-static - don't run libtoolize on this. * Wed May 02 2001 Bill Nottingham - update to 1.4.11 - add EFI GPT patch from Matt Domsch () - don't run autoconf, it relies on a newer non-released version of autoconf... * Fri Feb 23 2001 Trond Eivind Glomsrød - langify * Wed Jan 17 2001 Florian La Roche - update to 1.4.7 * Thu Dec 14 2000 Bill Nottingham - rebuild because of broken fileutils * Fri Nov 03 2000 Florian La Roche - update to 1.2.12 * Wed Nov 01 2000 Florian La Roche - update to 1.2.11 * Tue Oct 17 2000 Florian La Roche - update to 1.2.10 * Sun Sep 10 2000 Florian La Roche - update to 1.2.9 * Tue Aug 29 2000 Florian La Roche - fix bug when just hitting "return" with no user input * Sun Aug 20 2000 Florian La Roche - 1.2.8 - blksize patch not needed anymore - move changelog to the end of the spec file * Wed Aug 16 2000 Matt Wilson - 1.2.7 - patched configure script to ignore the 2.4 blkpg.h header (fixes #15835). * Fri Aug 4 2000 Florian La Roche - update to 1.2.6 * Sat Jul 22 2000 Florian La Roche - update to 1.2.5 - add more docu * Wed Jul 12 2000 Prospector - automatic rebuild * Mon Jun 12 2000 Matt Wilson - initialization of spec file.