Summary(pl): GNU Parted - narzêdzie do zarz±dzania partycjami na dyskach
Name: parted
Version: 1.4.19
-Release: 1
+Release: 2
License: GPL
Group: Applications/System
Group(de): Applikationen/System
Vendor: Andrew Clausen <clausen@gnu.org>
Source0: ftp://ftp.gnu.org/gnu/parted/%{name}-%{version}.tar.gz
Patch0: %{name}-BOOT.patch
+Patch1: %{name}-llseek.patch
URL: http://www.gnu.org/software/parted/
BuildRequires: autoconf >= 2.50
BuildRequires: automake
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
rm -f missing
autoheader
autoconf
%if %{?BOOT:1}%{!?BOOT:0}
-%configure --disable-nls --enable-all-static --without-readline
-%{__make} CFLAGS="-DNO_BIOS_GEOMETRY_WARNING %{rpmcflags}"
+%configure \
+ --disable-nls \
+ --enable-all-static \
+ --without-readline \
+ --without-pic
+%{__make} CFLAGS="-DUSE_OWN_LLSEEK -DNO_BIOS_GEOMETRY_WARNING %{rpmcflags}"
mv -f %{name}/%{name} %{name}-BOOT
%{__make} distclean
%endif