From 6ed8cf5f8bf5c87a0ff75eaa86f6a6f532d9b38e Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 09:57:06 +0000 Subject: [PATCH] auto-import changelog data from parted-1.6.3-11.src.rpm Thu Feb 06 2003 Karsten Hopp 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 - rebuilt Wed Jan 22 2003 Karsten Hopp 1.6.3-9 - missed one debug message Tue Jan 21 2003 Karsten Hopp 1.6.3-8 - add patch from CVS to disable debug messages on s390 Tue Jan 14 2003 Matt Wilson 1.6.3-7 - updated to a new tarball of parted that includes a fs.probe_specific binding Sun Dec 01 2002 Matt Wilson 1.6.3-6 - hack in partition.native_type (#78118) --- .cvsignore | 2 +- parted.spec | 126 +++++++++++++++++++++++++++++++++++++++------------- sources | 2 +- 3 files changed, 96 insertions(+), 34 deletions(-) diff --git a/.cvsignore b/.cvsignore index d9f04b7..9fbfc05 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -parted-1.4.24.tar.gz +parted-1.6.3.tar.gz diff --git a/parted.spec b/parted.spec index f6bb6b1..4d889ae 100644 --- a/parted.spec +++ b/parted.spec @@ -1,45 +1,64 @@ -Summary: The GNU disk partition manipulation program. -Name: parted -Version: 1.4.24 -Release: 6a -Copyright: GPL -Group: Applications/System -Buildroot: %{_tmppath}/%{name}-%{version}-root -Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz -Patch0: parted-1.4.24-s390.patch -BuildRequires: libunicode-devel e2fsprogs-devel libtermcap-devel readline-devel -BuildRequires: python-devel +# -*- 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: 11 +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 +Buildroot: %{_tmppath}/%{name}-root +License: GPL +Group: Applications/System +BuildRequires: libunicode-devel e2fsprogs-devel libtermcap-devel readline-devel +BuildRequires: python-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 -Requires: parted = %{version} - %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 .s390 +%patch0 -p1 -b .sigfpe +%patch1 -p1 -b .dasddbg %build -%define __libtoolize /bin/true -%configure --enable-shared --enable-part-static --enable-pc98=no --disable-Werror -make +if [ -n "$LINGUAS" ]; then unset LINGUAS; fi +%configure --enable-shared --enable-part-static --enable-pc98=no --enable-Werror=no --disable-dynamic-loading +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 %makeinstall +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 @@ -48,30 +67,73 @@ make %post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%postun -p /sbin/ldconfig %files -f %{name}.lang -%defattr (-, root, root) -%doc AUTHORS BUGS ChangeLog README THANKS TODO doc/USER* -%{_mandir}/*/* +%defattr(-,root,root) +%doc AUTHORS BUGS COPYING ChangeLog NEWS README THANKS TODO doc/COPYING.DOC doc/API doc/USER doc/FAT %{_sbindir}/* -%{_libdir}/lib*.so.* -%dir /usr/lib/python?.?/site-packages -/usr/lib/python?.?/site-packages/*.so +%{_mandir}/*/* +%{_libdir}/*.so* +%{_infodir}/parted.info* +%dir %{_libdir}/python?.?/site-packages +%{_libdir}/python?.?/site-packages/*.so %files devel -%defattr (-, root, root) -%{_includedir}/parted -%{_libdir}/lib*.so +%defattr(-,root,root) +%{_prefix}/include/* +%{aclocaldir}/* +%{_libdir}/*.a* %changelog -* Tue Nov 19 2002 Karsten Hopp 1.4.24-6a -- added s390 dasd patch +* Thu Feb 06 2003 Karsten Hopp 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 -* Fri Jun 21 2002 Tim Powers +* Wed Jan 22 2003 Tim Powers +- rebuilt + +* Wed Jan 22 2003 Karsten Hopp 1.6.3-9 +- missed one debug message + +* Tue Jan 21 2003 Karsten Hopp 1.6.3-8 +- add patch from CVS to disable debug messages on s390 + +* Tue Jan 14 2003 Matt Wilson 1.6.3-7 +- updated to a new tarball of parted that includes a fs.probe_specific binding + +* Sun Dec 1 2002 Matt Wilson 1.6.3-6 +- hack in partition.native_type (#78118) + +* Thu Nov 7 2002 Matt Wilson +- added a patch to avoid SIGFPE when fat sector size is 0 + +* Tue Nov 5 2002 Matt Wilson +- use --disable-dynamic-loading + +* Mon Nov 4 2002 Matt Wilson +- add device.disk_new_fresh() + +* Fri Nov 1 2002 Matt Wilson +- 1.6.3 + +* Fri Oct 4 2002 Jeremy Katz 1.4.24-7 +- use make LIBTOOL=/usr/bin/libtool instead of recreating everything +- add patch from Jack Howarth 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 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 1.4.24-6 - automated rebuild -* Sun May 26 2002 Tim Powers +* Sun May 26 2002 Tim Powers 1.4.24-5 - automated rebuild * Wed May 22 2002 Jeremy Katz 1.4.24-4 @@ -203,7 +265,7 @@ make - don't run autoconf, it relies on a newer non-released version of autoconf... -* Fri Feb 23 2001 Trond Eivind Glomsrød +* Fri Feb 23 2001 Trond Eivind Glomsrød - langify * Wed Jan 17 2001 Florian La Roche diff --git a/sources b/sources index b70a58a..09af2f3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ca6e639a0073c69aa26c3675df031c4e parted-1.4.24.tar.gz +897efe1d84eacb1d5eaace4a7605be6a parted-1.6.3.tar.gz