2004-09-09 09:51:30 +00:00
|
|
|
|
Summary: The GNU disk partition manipulation program.
|
|
|
|
|
Name: parted
|
2004-09-09 09:51:43 +00:00
|
|
|
|
Version: 1.4.11
|
|
|
|
|
Release: 3
|
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:51:43 +00:00
|
|
|
|
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
|
2004-09-09 09:51:30 +00:00
|
|
|
|
%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
|
2004-09-09 09:51:43 +00:00
|
|
|
|
%patch0 -p1
|
|
|
|
|
%patch1 -p1
|
2004-09-09 09:51:30 +00:00
|
|
|
|
|
|
|
|
|
%build
|
2004-09-09 09:51:43 +00:00
|
|
|
|
%define __libtoolize /bin/true
|
|
|
|
|
%configure --enable-shared --enable-all-static
|
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: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: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.
|