]> git.pld-linux.org Git - packages/dml.git/commitdiff
- added conditional -BOOT
authorklakier <klakier@pld-linux.org>
Sat, 19 May 2001 09:15:36 +0000 (09:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dml.spec -> 1.14

dml.spec

index 4b2a872fc83e8f730ead006582b506af6ad38152..669d4211d92bda554948a00d4de0a13a474ae50d 100644 (file)
--- a/dml.spec
+++ b/dml.spec
@@ -8,8 +8,10 @@ Group:         Applications/Terminal
 Group(de):     Applikationen/Terminal
 Group(pl):     Aplikacje/Terminal
 Source0:       ftp://ftp.pld.org.pl/people/malekith/%{name}-%{version}.tar.gz
+%if %{?BOOT:1}%{!?BOOT:0}
 BuildRequires: slang-devel-BOOT
 BuildRequires: uClibc-devel-BOOT
+%endif
 BuildRequires: slang-devel
 #BuildRequires:        gettext-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -21,6 +23,7 @@ Tool for displaying dialogs from shell.
 %description -l pl
 Narzêdzie do wy¶wietlania okien dialogowych z shella.
 
+%if %{?BOOT:1}%{!?BOOT:0}
 %package BOOT
 Summary:       Tool for displaying dialogs from shell - BOOT
 Summary(pl):   Narzêdzie do wy¶wietlania okien dialogowych z shella -BOOT
@@ -30,11 +33,14 @@ Group(pl):  Aplikacje/Terminal
 
 %description BOOT
 Tool for displaying dialogs from shell. Bootdisk version.
+%endif
 
 %prep
 %setup -q
 
 %build
+
+%if %{?BOOT:1}%{!?BOOT:0}
 autoheader
 automake --add-missing
 autoconf 
@@ -49,6 +55,8 @@ autoconf
 mv -f src/dml dml-BOOT
 
 %{__make} distclean
+%endif
+
 %configure
 %{__make}
 
@@ -57,8 +65,10 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT 
 
+%if %{?BOOT:1}%{!?BOOT:0}
 install -d $RPM_BUILD_ROOT/usr/lib/bootdisk/bin
 install -s dml-BOOT $RPM_BUILD_ROOT/usr/lib/bootdisk/bin/dml
+%endif
 
 #gzip -9nf AUTHORS TODO ChangeLog
 
@@ -70,6 +80,8 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/*
 %{_mandir}/man1/*
 
+%if %{?BOOT:1}%{!?BOOT:0}
 %files BOOT
 %defattr(644,root,root,755)
 %attr(755,root,root) /usr/lib/bootdisk/bin/dml
+%endif
This page took 0.095899 seconds and 4 git commands to generate.