- Upgrade to GNU parted-1.8.4, summary of major changes: a) Update to use
newest GNU developer tools b) Use gnulib, the GNU portability library c) HFS+ resize support d) Windows Vista fixes e) AIX disk label fixes f) >512 byte logical sector read support on Linux - Spec file cleanups per Fedora packaging guidelines
This commit is contained in:
parent
6e262847c9
commit
30db1e1a55
@ -1 +1 @@
|
|||||||
parted-1.8.2.tar.bz2
|
parted-1.8.4.tar.bz2
|
||||||
|
77
parted.spec
77
parted.spec
@ -3,19 +3,16 @@
|
|||||||
|
|
||||||
Summary: The GNU disk partition manipulation program
|
Summary: The GNU disk partition manipulation program
|
||||||
Name: parted
|
Name: parted
|
||||||
Version: 1.8.2
|
Version: 1.8.4
|
||||||
Release: 5%{?dist}
|
Release: 1%{?dist}
|
||||||
Source: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2
|
Source: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2
|
||||||
|
|
||||||
Patch0: parted-1.8.2-vista.patch
|
|
||||||
Patch1: parted-1.8.1-bz221600.patch
|
|
||||||
|
|
||||||
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
BuildRequires: e2fsprogs-devel readline-devel ncurses-devel
|
BuildRequires: e2fsprogs-devel readline-devel ncurses-devel
|
||||||
BuildRequires: automake libtool gettext-devel texinfo
|
BuildRequires: automake libtool gettext-devel texinfo
|
||||||
BuildRequires: device-mapper-devel >= 1.02.17, libselinux-devel libsepol-devel
|
BuildRequires: device-mapper-devel, libselinux-devel libsepol-devel
|
||||||
|
|
||||||
Prereq: /sbin/install-info
|
Prereq: /sbin/install-info
|
||||||
|
|
||||||
@ -37,63 +34,61 @@ Parted library, you need to install this package.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p 1 -b .vista
|
|
||||||
%patch1 -p 1 -b .bz221600
|
|
||||||
aclocal
|
|
||||||
autoconf
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure --enable-device-mapper --enable-selinux
|
||||||
--enable-shared \
|
%{__make} %{?_smp_mflags}
|
||||||
--enable-device-mapper \
|
|
||||||
--enable-selinux \
|
|
||||||
--enable-part-static \
|
|
||||||
--enable-pc98=no \
|
|
||||||
--enable-Werror=no \
|
|
||||||
--disable-dynamic-loading
|
|
||||||
export tagname=CC
|
|
||||||
make LIBTOOL=/usr/bin/libtool %{?_smp_mflags}
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
%{__rm} -rf %{buildroot}
|
||||||
export tagname=CC
|
%{__make} install DESTDIR=%{buildroot}
|
||||||
%makeinstall LIBTOOL=/usr/bin/libtool MKINSTALLDIRS=`pwd`/mkinstalldirs
|
%{__rm} -rf %{buildroot}%{_libdir}/*.la
|
||||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm {} \;
|
%{__rm} -rf %{buildroot}%{_infodir}/dir
|
||||||
rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
|
|
||||||
|
|
||||||
%find_lang %name
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
%{__rm} -rf %{buildroot}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
/sbin/install-info %{_infodir}/parted.info* %{_infodir}/dir || :
|
/sbin/install-info %{_infodir}/parted.info.gz %{_infodir}/dir || :
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ "$1" = 0 ]; then
|
if [ "$1" = 0 ]; then
|
||||||
/sbin/install-info --delete %{_infodir}/parted.info* %{_infodir}/dir
|
/sbin/install-info --delete %{_infodir}/parted.info.gz %{_infodir}/dir
|
||||||
fi
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,-)
|
||||||
%doc AUTHORS BUGS COPYING ChangeLog NEWS README THANKS TODO doc/API doc/FAT
|
%doc AUTHORS BUGS COPYING ChangeLog NEWS README THANKS TODO doc/API doc/FAT
|
||||||
%{_sbindir}/*
|
%{_sbindir}/parted
|
||||||
%{_mandir}/*/*
|
%{_sbindir}/partprobe
|
||||||
%{_libdir}/*.so.*
|
%{_mandir}/man8/parted.8.gz
|
||||||
%{_infodir}/parted.info*
|
%{_mandir}/man8/partprobe.8.gz
|
||||||
|
%{_libdir}/libparted-*.so.*
|
||||||
|
%{_libdir}/libparted-*.so.*
|
||||||
|
%{_infodir}/parted.info.gz
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,-)
|
||||||
%{_prefix}/include/*
|
%{_includedir}/parted
|
||||||
%{aclocaldir}/*
|
%{_libdir}/libparted.a
|
||||||
%{_libdir}/*.a*
|
%{_libdir}/libparted.so
|
||||||
%{_libdir}/*.so
|
%{_libdir}/pkgconfig/libparted.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 16 2007 David Cantrell <dcantrell@redhat.com> - 1.8.4-1
|
||||||
|
- Upgrade to GNU parted-1.8.4, summary of major changes:
|
||||||
|
a) Update to use newest GNU developer tools
|
||||||
|
b) Use gnulib, the GNU portability library
|
||||||
|
c) HFS+ resize support
|
||||||
|
d) Windows Vista fixes
|
||||||
|
e) AIX disk label fixes
|
||||||
|
f) >512 byte logical sector read support on Linux
|
||||||
|
- Spec file cleanups per Fedora packaging guidelines
|
||||||
|
|
||||||
* Thu Feb 08 2007 David Cantrell <dcantrell@redhat.com> - 1.8.2-5
|
* Thu Feb 08 2007 David Cantrell <dcantrell@redhat.com> - 1.8.2-5
|
||||||
- Remove period from end of summary line (package review)
|
- Remove period from end of summary line (package review)
|
||||||
- Use preferred BuildRoot (package review)
|
- Use preferred BuildRoot (package review)
|
||||||
|
Loading…
Reference in New Issue
Block a user