parted/parted.spec

124 lines
3.5 KiB
RPMSpec
Raw Normal View History

Summary: The GNU disk partition manipulation program.
Name: parted
Version: 1.4.11
Release: 3
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
%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
%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
* 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<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
* 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.