bcee8df7e7
Thu Jan 22 2004 Jeremy Katz <katzj@redhat.com> 1.6.3-33 - 2.6 removes the geometry fixups that used to be present for IDE disks. According to Andries, just follow what's in the partition table and don't worry about what Linux "detects" Thu Nov 06 2003 Jeremy Katz <katzj@redhat.com> 1.6.3-32 - rebuild for python 2.3
407 lines
13 KiB
RPMSpec
407 lines
13 KiB
RPMSpec
# -*- mode: rpm-spec -*-
|
|
%define aclocaldir /usr/share/aclocal
|
|
%define _sbindir /sbin
|
|
|
|
Summary: The GNU disk partition manipulation program.
|
|
Name: parted
|
|
Version: 1.6.3
|
|
Release: 33
|
|
Source: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
|
|
Patch0: parted-1.6.3-fat.c.patch
|
|
# NOTE: remove patch1 when updating to a new tarball
|
|
Patch1: parted-1.6.3-debug.patch
|
|
Patch2: parted-1.6.3-vtoc.patch
|
|
Patch3: parted-1.6.3-s390update.patch
|
|
Patch4: parted-1.6.3-ldl.patch
|
|
Patch5: parted-1.6.3-iseries.patch
|
|
Patch6: parted-1.6.3-aix.patch
|
|
Patch7: parted-1.6.3-s390raidlvm.patch
|
|
Patch8: parted-1.6.3-gptver.patch
|
|
Patch9: parted-1.6.3-destroy-segfault.patch
|
|
Patch10: parted-1.6.3-26geom.patch
|
|
Buildroot: %{_tmppath}/%{name}-root
|
|
License: GPL
|
|
Group: Applications/System
|
|
BuildRequires: e2fsprogs-devel libtermcap-devel readline-devel
|
|
BuildRequires: python-devel ncurses-devel
|
|
%description
|
|
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
|
|
to new hard disks.
|
|
|
|
|
|
%package devel
|
|
Summary: Files for developing apps which will manipulate disk partitions.
|
|
Group: Development/Libraries
|
|
%description devel
|
|
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.
|
|
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1 -b .sigfpe
|
|
%patch1 -p1 -b .dasddbg
|
|
%patch2 -p1 -b .vtoc
|
|
%patch3 -p1 -b .s390update
|
|
%patch4 -p1 -b .ldl
|
|
%patch5 -p1 -b .iseries
|
|
%patch6 -p1 -b .aix
|
|
%patch7 -p1 -b .s390raidlvm
|
|
%patch8 -p1 -b .gptver
|
|
%patch9 -p1 -b .segfault
|
|
%patch10 -p1 -b .26geom
|
|
|
|
%build
|
|
if [ -n "$LINGUAS" ]; then unset LINGUAS; fi
|
|
#export CFLAGS="-DDEBUG_DASD"
|
|
%configure --enable-shared --enable-part-static --enable-pc98=no --enable-Werror=no --disable-dynamic-loading
|
|
export tagname=CC
|
|
make LIBTOOL=/usr/bin/libtool
|
|
|
|
%install
|
|
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
|
# don't relink the python module
|
|
sed 's/^relink_command=/#relink_command=/' python/partedmodule.la > python/partedmodule.la-
|
|
mv python/partedmodule.la- python/partedmodule.la
|
|
export tagname=CC
|
|
%makeinstall LIBTOOL=/usr/bin/libtool
|
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm {} \;
|
|
rm -f $RPM_BUILD_ROOT/usr/lib/python*/site-packages/*.a
|
|
rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
|
|
# FIXME: hack for x86_64 until automake's python.m4 is fixed
|
|
if [ "%{_libdir}" != "/usr/lib" ]; then
|
|
for path in $RPM_BUILD_ROOT/usr/lib/python?.? ; do
|
|
dir=`basename $path`
|
|
mkdir -p $RPM_BUILD_ROOT/%{_libdir}/$dir
|
|
mv $RPM_BUILD_ROOT/usr/lib/$dir/* $RPM_BUILD_ROOT/%{_libdir}/$dir/
|
|
done
|
|
fi
|
|
|
|
%find_lang %name
|
|
|
|
%clean
|
|
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS BUGS COPYING ChangeLog NEWS README THANKS TODO doc/COPYING.DOC doc/API doc/USER doc/FAT
|
|
%{_sbindir}/*
|
|
%{_mandir}/*/*
|
|
%{_libdir}/*.so*
|
|
%{_infodir}/parted.info*
|
|
%dir %{_libdir}/python?.?/site-packages
|
|
%{_libdir}/python?.?/site-packages/*.so
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_prefix}/include/*
|
|
%{aclocaldir}/*
|
|
%{_libdir}/*.a*
|
|
|
|
%changelog
|
|
* Thu Jan 22 2004 Jeremy Katz <katzj@redhat.com> 1.6.3-33
|
|
- 2.6 removes the geometry fixups that used to be present for IDE disks.
|
|
According to Andries, just follow what's in the partition table and don't
|
|
worry about what Linux "detects"
|
|
|
|
* Thu Nov 6 2003 Jeremy Katz <katzj@redhat.com> 1.6.3-32
|
|
- rebuild for python 2.3
|
|
|
|
* Mon Oct 27 2003 Jeremy Katz <katzj@redhat.com> 1.6.3-31
|
|
- add patch from Michael Schwendt <mschwendt@users.sf.net> for segfault
|
|
|
|
* Wed Sep 17 2003 Jeremy Katz <katzj@redhat.com> 1.6.3-30
|
|
- rebuild
|
|
|
|
* Wed Sep 17 2003 Jeremy Katz <katzj@redhat.com> 1.6.3-29
|
|
- and don't barf on the old (broken) 1.02 gpt rev
|
|
|
|
* Tue Sep 16 2003 Jeremy Katz <katzj@redhat.com> 1.6.3-28
|
|
- rebuild
|
|
|
|
* Tue Sep 16 2003 Jeremy Katz <katzj@redhat.com> 1.6.3-27
|
|
- write out the correct gpt revision (#103664)
|
|
- add buildrequires on ncurses-devel
|
|
|
|
* Thu Sep 4 2003 Bill Nottingham <notting@redhat.com> 1.6.3-26
|
|
- rebuild
|
|
|
|
* Thu Sep 4 2003 Bill Nottingham <notting@redhat.com> 1.6.3-25
|
|
- don't buildreq libunicode-devel
|
|
|
|
* Thu Aug 07 2003 Elliot Lee <sopwith@redhat.com> 1.6.3-24
|
|
- Fix libtool
|
|
|
|
* Wed Jul 09 2003 Phil Knirsch <pknirsch@redhat.com> 1.6.3-23
|
|
- Fixed dasd_write and dasd_read to support lvm and raid partitions.
|
|
|
|
* Wed Jun 18 2003 Phil Knirsch <pknirsch@redhat.com> 1.6.3-22
|
|
- Fixed a small bug in VTOC fdasd_check_volume() (#97300).
|
|
|
|
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> 1.6.3-21
|
|
- rebuilt
|
|
|
|
* Wed Jun 4 2003 Matt Wilson <msw@redhat.com> 1.6.3-20
|
|
- don't detect AIX physical volumes as msdos partition tables (#91748)
|
|
- added stubbed code for manipulating AIX PVs, enough to clobber the
|
|
signature. (#91748)
|
|
|
|
* Wed Jun 04 2003 Phil Knirsch <pknirsch@redhat.com> 1.6.3-19
|
|
- Added LDL disk layout support for s390(x).
|
|
|
|
* Sun May 18 2003 Matt Wilson <msw@redhat.com> 1.6.3-18
|
|
- use metadata partitions to protect DASD VTOC
|
|
- stash DASD specific data in disk specific areas, not arch specific
|
|
areas.
|
|
|
|
* Fri May 16 2003 Matt Wilson <msw@redhat.com> 1.6.3-18
|
|
- recongnize iseries viodasd (#90449)
|
|
|
|
* Thu May 08 2003 Phil Knirsch <pknirsch@redhat.com> 1.6.3-17
|
|
- Fixed problem with probing partitions on s390(x) with new partition code.
|
|
|
|
* Mon May 05 2003 Phil Knirsch <pknirsch@redhat.com> 1.6.3-16
|
|
- Fixed partiton reread code for s390(x).
|
|
|
|
* Fri May 02 2003 Phil Knirsch <pknirsch@redhat.com> 1.6.3-15
|
|
- Rewrote partition handling for s390(x) dasd devices. No more empty partitions.
|
|
|
|
* Wed Mar 12 2003 Phil Knirsch <pknirsch@redhat.com> 1.6.3-13
|
|
- Finished updating vtoc and fdasd code to latest s390-utils version.
|
|
|
|
* Thu Mar 06 2003 Phil Knirsch <pknirsch@redhat.com> 1.6.3-12
|
|
- Fixed vtoc handling on s390(x) dasd devices.
|
|
|
|
* Thu Feb 06 2003 Karsten Hopp <karsten@redhat.de> 1.6.3-11
|
|
- use different define to enable DASD debugging
|
|
Otherwise we'll get a lot of dasd debug output because DEBUG is
|
|
always defined
|
|
|
|
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
- rebuilt
|
|
|
|
* Wed Jan 22 2003 Karsten Hopp <karsten@redhat.de> 1.6.3-9
|
|
- missed one debug message
|
|
|
|
* Tue Jan 21 2003 Karsten Hopp <karsten@redhat.de> 1.6.3-8
|
|
- add patch from CVS to disable debug messages on s390
|
|
|
|
* Tue Jan 14 2003 Matt Wilson <msw@redhat.com> 1.6.3-7
|
|
- updated to a new tarball of parted that includes a fs.probe_specific binding
|
|
|
|
* Sun Dec 1 2002 Matt Wilson <msw@redhat.com> 1.6.3-6
|
|
- hack in partition.native_type (#78118)
|
|
|
|
* Thu Nov 7 2002 Matt Wilson <msw@redhat.com>
|
|
- added a patch to avoid SIGFPE when fat sector size is 0
|
|
|
|
* Tue Nov 5 2002 Matt Wilson <msw@redhat.com>
|
|
- use --disable-dynamic-loading
|
|
|
|
* Mon Nov 4 2002 Matt Wilson <msw@redhat.com>
|
|
- add device.disk_new_fresh()
|
|
|
|
* Fri Nov 1 2002 Matt Wilson <msw@redhat.com>
|
|
- 1.6.3
|
|
|
|
* Fri Oct 4 2002 Jeremy Katz <katzj@redhat.com> 1.4.24-7
|
|
- use make LIBTOOL=/usr/bin/libtool instead of recreating everything
|
|
- add patch from Jack Howarth <howarth@bromo.med.uc.edu> to self host properly
|
|
- add patch to treat GPT structs as little-endian always and treat GUIDS
|
|
as little-endian blobs
|
|
- add patch to recognize hp service partitions
|
|
|
|
* Wed Sep 25 2002 Jeremy Katz <katzj@redhat.com> 1.4.24-6hammer
|
|
- libtoolize, etc for x86_64
|
|
- hack to get the python module in the right place until python.m4
|
|
from automake is fixed
|
|
|
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com> 1.4.24-6
|
|
- automated rebuild
|
|
|
|
* Sun May 26 2002 Tim Powers <timp@redhat.com> 1.4.24-5
|
|
- automated rebuild
|
|
|
|
* Wed May 22 2002 Jeremy Katz <katzj@redhat.com> 1.4.24-4
|
|
- rebuild in new environment
|
|
|
|
* Fri Mar 22 2002 Matt Wilson <msw@redhat.com> 1.4.24-3
|
|
- fixed the probe-with-open behavior (again)
|
|
|
|
* Fri Feb 22 2002 Matt Wilson <msw@redhat.com> 1.4.24-1
|
|
- rebuild
|
|
|
|
* Tue Feb 12 2002 Matt Wilson <msw@redhat.com> 1.4.24-1
|
|
- 1.4.24
|
|
|
|
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
|
- automated rebuild
|
|
|
|
* Mon Jan 7 2002 Jeremy Katz <katzj@redhat.com> 1.4.20-4
|
|
- build with final python 2.2
|
|
|
|
* Wed Dec 12 2001 Jeremy Katz <katzj@redhat.com> 1.4.20-3
|
|
- update from CVS and rebuild in new environment
|
|
|
|
* Thu Oct 25 2001 Jeremy Katz <katzj@redhat.com> 1.4.20-2
|
|
- build both python1.5 and python2 modules
|
|
|
|
* Fri Oct 19 2001 Matt Wilson <msw@redhat.com> 1.4.20-1
|
|
- 1.4.20 final
|
|
|
|
* Thu Oct 11 2001 Matt Wilson <msw@redhat.com> 1.4.20-0.1pre3
|
|
- new dist from CVS with new autoconf and automake
|
|
- gpt is in 1.4.20, removed patch1 (gpt support)
|
|
- partstatic is in 1.4.20, removed patch2 (partstatic patch)
|
|
|
|
* 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
|
|
|
|
* Tue Aug 21 2001 Matt Wilson <msw@redhat.com> 1.4.16-7
|
|
- really disable pc98 support (SF #51632)
|
|
|
|
* 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)
|
|
|
|
* 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
|
|
|
|
* 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
|
|
|
|
* 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...
|
|
|
|
* Fri Feb 23 2001 Trond Eivind Glomsrø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
|
|
|
|
* 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.
|