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)
%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
%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
mv -f src/dml dml-BOOT
%{__make} distclean
+%endif
+
%configure
%{__make}
%{__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
%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