]> git.pld-linux.org Git - packages/e2fsprogs.git/commitdiff
- added BOOT, to be continued ...
authorklakier <klakier@pld-linux.org>
Mon, 14 May 2001 00:02:50 +0000 (00:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    e2fsprogs.spec -> 1.51

e2fsprogs.spec

index b0ab42ea284fa9df49e82d5a760c053f848059c9..39c655ffacc39b76b2c18af0a051b1519edd7991 100644 (file)
@@ -96,6 +96,13 @@ erforderlich sind.
 Biblioteki statyczne do ob³ugi e2fs niezêbdne do kompilacji programów
 statycznie skonsolidowanych (likowanych) z bibliotekami do e2fs.
 
+%if %{?BOOT:1}%{!?BOOT:0}
+%package BOOT
+Summary:       parted for bootdisk
+Group:         Applications/System
+%description BOOT
+%endif
+
 %prep
 %setup  -q
 %patch0 -p1
@@ -104,6 +111,24 @@ gunzip < %{SOURCE1} > doc/e2compr.texinfo
 
 %build
 autoconf
+
+%if %{?BOOT:1}%{!?BOOT:0}
+
+%configure \
+       --with-root-prefix=/ \
+       --disable-nls \
+       --enable-compression \
+       --enable-static-fsck \
+       --enable-all-static \
+       --enable-fsck
+
+LDFLAGS="-static -s" %{__make} libs progs
+
+dupa
+
+%{__make} clean
+%endif
+
 %configure \
        --with-root-prefix=/ \
        --enable-nls \
@@ -112,6 +137,8 @@ autoconf
        %{?bcond_off_static:--enable-dynamic-e2fsck} \
        --enable-fsck
 
+
+
 %{__make} libs progs docs
 cd doc
 makeinfo --no-split e2compr.texinfo 
@@ -122,6 +149,11 @@ cd ..
 rm -rf $RPM_BUILD_ROOT
 export PATH=/sbin:$PATH
 
+%if %{?BOOT:1}%{!?BOOT:0}
+install -d $RPM_BUILD_ROOT/usr/lib/bootdisk/sbin
+install -s %{name}-BOOT $RPM_BUILD_ROOT/usr/lib/bootdisk/sbin/%{name}
+%endif
+
 %{__make} install DESTDIR=$RPM_BUILD_ROOT
 %{__make} install-libs DESTDIR=$RPM_BUILD_ROOT
 
@@ -173,3 +205,9 @@ rm -rf $RPM_BUILD_ROOT
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
+
+%if %{?BOOT:1}%{!?BOOT:0}
+%files BOOT
+%defattr(644,root,root,755)
+%attr(755,root,root) /usr/lib/bootdisk/sbin/*
+%endif
This page took 0.114678 seconds and 4 git commands to generate.