2004-09-09 09:51:30 +00:00
|
|
|
|
Summary: The GNU disk partition manipulation program.
|
|
|
|
|
Name: parted
|
2004-09-09 09:52:03 +00:00
|
|
|
|
Version: 1.4.16
|
2004-09-09 09:53:12 +00:00
|
|
|
|
Release: 17
|
2004-09-09 09:51:30 +00:00
|
|
|
|
Copyright: GPL
|
|
|
|
|
Group: Applications/System
|
2004-09-09 09:51:40 +00:00
|
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
2004-09-09 09:51:30 +00:00
|
|
|
|
Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
|
2004-09-09 09:52:03 +00:00
|
|
|
|
#Patch0: http://domsch.com/linux/parted/parted-1.4.15-pre1-gpt-20010703.patch
|
|
|
|
|
# regenerated patch against 1.4.16
|
|
|
|
|
Patch0: parted-1.4.16-gpt-20010703.patch
|
2004-09-09 09:52:10 +00:00
|
|
|
|
Patch1: parted-1.4.16-partstatic.patch
|
2004-09-09 09:52:03 +00:00
|
|
|
|
BuildRequires: libunicode-devel e2fsprogs-devel libtermcap-devel readline-devel
|
|
|
|
|
BuildRequires: python-devel
|
2004-09-09 09:51:30 +00:00
|
|
|
|
%define _sbindir /sbin
|
|
|
|
|
|
|
|
|
|
%description
|
2004-09-09 09:52:03 +00:00
|
|
|
|
The GNU Parted program allows you to create, destroy, resize, move,
|
|
|
|
|
and copy hard disk partitions. Parted can be used for creating space
|
|
|
|
|
for new operating systems, reorganizing disk usage, and copying data
|
2004-09-09 09:51:30 +00:00
|
|
|
|
to new hard disks.
|
|
|
|
|
|
|
|
|
|
%package devel
|
2004-09-09 09:52:03 +00:00
|
|
|
|
Summary: Files for developing apps which will manipulate disk partitions.
|
2004-09-09 09:51:30 +00:00
|
|
|
|
Group: Development/Libraries
|
2004-09-09 09:52:03 +00:00
|
|
|
|
Requires: parted = %{version}
|
2004-09-09 09:51:30 +00:00
|
|
|
|
|
|
|
|
|
%description devel
|
2004-09-09 09:52:03 +00:00
|
|
|
|
The GNU Parted library is a set of routines for hard disk partition
|
|
|
|
|
manipulation. If you want to develop programs that manipulate disk
|
|
|
|
|
partitions and filesystems using the routines provided by the GNU
|
|
|
|
|
Parted library, you need to install this package.
|
2004-09-09 09:51:30 +00:00
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
2004-09-09 09:52:03 +00:00
|
|
|
|
%patch0 -p1 -b .gpt
|
2004-09-09 09:52:10 +00:00
|
|
|
|
%patch1 -p1 -b .partstatic
|
2004-09-09 09:51:30 +00:00
|
|
|
|
|
|
|
|
|
%build
|
2004-09-09 09:52:10 +00:00
|
|
|
|
#patch1 needs autoconf
|
|
|
|
|
autoconf
|
2004-09-09 09:51:43 +00:00
|
|
|
|
%define __libtoolize /bin/true
|
2004-09-09 09:52:22 +00:00
|
|
|
|
%configure --enable-shared --enable-part-static --enable-pc98=no
|
2004-09-09 09:51:30 +00:00
|
|
|
|
make
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
%makeinstall
|
|
|
|
|
|
2004-09-09 09:51:40 +00:00
|
|
|
|
%find_lang %name
|
|
|
|
|
|
2004-09-09 09:51:30 +00:00
|
|
|
|
%clean
|
|
|
|
|
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
2004-09-09 09:52:03 +00:00
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
2004-09-09 09:51:40 +00:00
|
|
|
|
%files -f %{name}.lang
|
2004-09-09 09:51:30 +00:00
|
|
|
|
%defattr (-, root, root)
|
|
|
|
|
%doc AUTHORS BUGS ChangeLog README THANKS TODO doc/USER*
|
|
|
|
|
%{_mandir}/*/*
|
|
|
|
|
%{_sbindir}/*
|
2004-09-09 09:51:43 +00:00
|
|
|
|
%{_libdir}/lib*.so.*
|
|
|
|
|
/usr/lib/python1.5/site-packages
|
2004-09-09 09:51:30 +00:00
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr (-, root, root)
|
|
|
|
|
%{_includedir}/parted
|
2004-09-09 09:51:43 +00:00
|
|
|
|
%{_libdir}/lib*.so
|
2004-09-09 09:51:30 +00:00
|
|
|
|
|
|
|
|
|
%changelog
|
2004-09-09 09:53:12 +00:00
|
|
|
|
* Mon Nov 14 2001 Harald Hoyer <harald@redhat.de> 1.4.16-14
|
|
|
|
|
- fix overflow bug
|
|
|
|
|
|
|
|
|
|
* Tue Nov 13 2001 Harald Hoyer <harald@redhat.de> 1.4.16-13
|
|
|
|
|
- raid support
|
|
|
|
|
|
|
|
|
|
* Thu Sep 27 2001 Harald Hoyer <harald@redhat.de> 1.4.16-12
|
|
|
|
|
- s390 port
|
|
|
|
|
|
2004-09-09 09:52:48 +00:00
|
|
|
|
* Tue Aug 28 2001 Matt Wilson <msw@redhat.com> 1.4.16-8
|
|
|
|
|
- new dist from cvs with changes to the python binding: register
|
|
|
|
|
DEVICE_I20 and DEVICE_ATARAID, check to make sure that a partition
|
|
|
|
|
exists in the PedDisk when using it to find ped_disk_next_partition
|
|
|
|
|
|
2004-09-09 09:52:22 +00:00
|
|
|
|
* Tue Aug 21 2001 Matt Wilson <msw@redhat.com> 1.4.16-7
|
|
|
|
|
- really disable pc98 support (SF #51632)
|
|
|
|
|
|
2004-09-09 09:52:10 +00:00
|
|
|
|
* Fri Aug 17 2001 Matt Wilson <msw@redhat.com> 1.4.16-6
|
|
|
|
|
- added a patch (Patch1) to link the c library in dynamically, the
|
|
|
|
|
rest of the libs statically for the parted binary (MF #49358)
|
|
|
|
|
|
2004-09-09 09:52:03 +00:00
|
|
|
|
* Tue Aug 7 2001 Matt Wilson <msw@redhat.com>
|
|
|
|
|
- made a new dist from CVS that includes binding for
|
|
|
|
|
disk.get_partition_by_sector and accessing the name of a disk type
|
|
|
|
|
|
|
|
|
|
* Mon Aug 6 2001 Matt Wilson <msw@redhat.com> 1.4.16-4
|
|
|
|
|
- created a new dist from CVS that fixes ext3 detection when
|
|
|
|
|
_probe_with_open is needed (#50292)
|
|
|
|
|
|
|
|
|
|
* Fri Jul 20 2001 Matt Wilson <msw@redhat.com>
|
|
|
|
|
- rewrite scsi id code (#49533)
|
|
|
|
|
|
|
|
|
|
* Fri Jul 20 2001 Matt Wilson <msw@redhat.com>
|
|
|
|
|
- added build requires (#49549)
|
|
|
|
|
|
|
|
|
|
* Tue Jul 17 2001 Matt Wilson <msw@redhat.com>
|
|
|
|
|
- 1.4.16
|
|
|
|
|
- regenerated gpt patch against 1.4.16, incorporated
|
|
|
|
|
parted-1.4.15-pre1-gpt-printf.patch into the same patch, removed Patch1
|
|
|
|
|
|
|
|
|
|
* Tue Jul 10 2001 Matt Wilson <msw@redhat.com>
|
|
|
|
|
- added a new dist tarball that contains python wrappers to get disk types
|
|
|
|
|
|
|
|
|
|
* Tue Jul 10 2001 Tim Powers <timp@redhat.com>
|
|
|
|
|
- run ldconfig on un/install
|
|
|
|
|
|
|
|
|
|
* Tue Jul 10 2001 Matt Wilson <msw@redhat.com>
|
|
|
|
|
- added a fix from clausen for border case when there is an extended
|
|
|
|
|
on the last cyl
|
|
|
|
|
|
|
|
|
|
* Mon Jul 9 2001 Matt Wilson <msw@redhat.com>
|
|
|
|
|
- 1.4.15
|
|
|
|
|
|
|
|
|
|
* Thu Jul 5 2001 Matt Wilson <msw@redhat.com>
|
|
|
|
|
- added patch from Arjan to enable ataraid support
|
|
|
|
|
|
|
|
|
|
* Wed Jul 4 2001 Matt Wilson <msw@redhat.com>
|
|
|
|
|
- imported 1.4.15-pre2 into CVS and made a new dist tarball
|
|
|
|
|
|
|
|
|
|
* Tue Jun 26 2001 Matt Wilson <msw@redhat.com>
|
|
|
|
|
- added a new dist tarball that contains a check in python code to
|
|
|
|
|
make sure that a partition exists within a disk before trying to
|
|
|
|
|
remove it from the disk
|
|
|
|
|
- also changed _probe_with_open to make the first probed filesystem win
|
|
|
|
|
|
|
|
|
|
* Tue Jun 26 2001 Bill Nottingham <notting@redhat.com>
|
|
|
|
|
- fix filesystem type reading on GPT disks
|
|
|
|
|
|
|
|
|
|
* Tue Jun 26 2001 Matt Wilson <msw@redhat.com>
|
|
|
|
|
- added another fix for ext2/ext3
|
|
|
|
|
- added Patch4 to move the crc32 function into its own namespace so
|
|
|
|
|
we don't colide with zlib when both are in the same executable space
|
|
|
|
|
|
|
|
|
|
* Mon Jun 25 2001 Matt Wilson <msw@redhat.com>
|
|
|
|
|
- added a new dist tarball from CVS that includes
|
|
|
|
|
ext3 probing
|
|
|
|
|
|
|
|
|
|
* Wed Jun 6 2001 Matt Wilson <msw@redhat.com>
|
|
|
|
|
- updated dist with binding for partition.geom.disk
|
|
|
|
|
|
|
|
|
|
* Tue Jun 5 2001 Matt Wilson <msw@redhat.com>
|
|
|
|
|
- make a new dist tarball that has new python binding changes
|
|
|
|
|
|
2004-09-09 09:51:53 +00:00
|
|
|
|
* Tue May 29 2001 Bill Nottingham <notting@redhat.com>
|
|
|
|
|
- add major numbers for cciss
|
|
|
|
|
- add libunicode-devel buildprereq
|
|
|
|
|
|
|
|
|
|
* Sun May 27 2001 Matthew Wilson <msw@redhat.com>
|
|
|
|
|
- added type, heads, and sectors to the python binding for PedDevice
|
|
|
|
|
|
2004-09-09 09:51:43 +00:00
|
|
|
|
* Fri May 4 2001 Matt Wilson <msw@redhat.com>
|
|
|
|
|
- added parted-1.4.11-gpt-pmbralign.patch from Matt Domsch
|
|
|
|
|
|
|
|
|
|
* Wed May 2 2001 Matt Wilson <msw@redhat.com>
|
|
|
|
|
- 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 <notting@redhat.com>
|
|
|
|
|
- update to 1.4.11
|
|
|
|
|
- add EFI GPT patch from Matt Domsch (<Matt_Domsch@dell.com>)
|
|
|
|
|
- don't run autoconf, it relies on a newer non-released version
|
|
|
|
|
of autoconf...
|
|
|
|
|
|
2004-09-09 09:51:40 +00:00
|
|
|
|
* Fri Feb 23 2001 Trond Eivind Glomsr<EFBFBD>d <teg@redhat.com>
|
|
|
|
|
- langify
|
|
|
|
|
|
|
|
|
|
* Wed Jan 17 2001 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
|
- update to 1.4.7
|
|
|
|
|
|
|
|
|
|
* Thu Dec 14 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
|
- rebuild because of broken fileutils
|
|
|
|
|
|
|
|
|
|
* Fri Nov 03 2000 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
|
- update to 1.2.12
|
|
|
|
|
|
|
|
|
|
* Wed Nov 01 2000 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
|
- update to 1.2.11
|
|
|
|
|
|
|
|
|
|
* Tue Oct 17 2000 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
|
- update to 1.2.10
|
|
|
|
|
|
|
|
|
|
* Sun Sep 10 2000 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
|
- update to 1.2.9
|
|
|
|
|
|
2004-09-09 09:51:30 +00:00
|
|
|
|
* Tue Aug 29 2000 Florian La Roche <Florian.LaRoche@redhat.com>
|
|
|
|
|
- fix bug when just hitting "return" with no user input
|
|
|
|
|
|
|
|
|
|
* Sun Aug 20 2000 Florian La Roche <Florian.LaRoche@redhat.com>
|
|
|
|
|
- 1.2.8
|
|
|
|
|
- blksize patch not needed anymore
|
|
|
|
|
- move changelog to the end of the spec file
|
|
|
|
|
|
|
|
|
|
* Wed Aug 16 2000 Matt Wilson <msw@redhat.com>
|
|
|
|
|
- 1.2.7
|
|
|
|
|
- patched configure script to ignore the 2.4 blkpg.h header (fixes #15835).
|
|
|
|
|
|
|
|
|
|
* Fri Aug 4 2000 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
|
- update to 1.2.6
|
|
|
|
|
|
|
|
|
|
* Sat Jul 22 2000 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
|
- update to 1.2.5
|
|
|
|
|
- add more docu
|
|
|
|
|
|
|
|
|
|
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
|
|
|
|
- automatic rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jun 12 2000 Matt Wilson <msw@redhat.com>
|
|
|
|
|
- initialization of spec file.
|