1 Summary: Tool for displaying dialogs from shell
2 Summary(pl): Narzêdzie do wy¶wietlania okien dialogowych z shella
7 Group: Applications/Terminal
8 Group(de): Applikationen/Terminal
9 Group(pl): Aplikacje/Terminal
10 Source0: ftp://ftp.pld.org.pl/people/malekith/%{name}-%{version}.tar.gz
11 %if %{?BOOT:1}%{!?BOOT:0}
12 BuildRequires: slang-devel-BOOT
13 BuildRequires: uClibc-devel-BOOT
15 BuildRequires: slang-devel
16 #BuildRequires: gettext-devel
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 Tool for displaying dialogs from shell.
24 Narzêdzie do wy¶wietlania okien dialogowych z shella.
26 %if %{?BOOT:1}%{!?BOOT:0}
28 Summary: Tool for displaying dialogs from shell - BOOT
29 Summary(pl): Narzêdzie do wy¶wietlania okien dialogowych z shella -BOOT
30 Group: Applications/Terminal
31 Group(de): Applikationen/Terminal
32 Group(pl): Aplikacje/Terminal
35 Tool for displaying dialogs from shell. Bootdisk version.
43 %if %{?BOOT:1}%{!?BOOT:0}
45 automake --add-missing
48 %configure --disable-nls
50 CFLAGS="-I%{_libdir}/bootdisk%{_includedir} " \
51 LDFLAGS="-nostdlib -static -s" \
52 LDADD=" %{_libdir}/bootdisk%{_libdir}/libslang.a \
53 %{_libdir}/bootdisk%{_libdir}/crt0.o \
54 %{_libdir}/bootdisk%{_libdir}/libc.a -lgcc "
55 mv -f src/dml dml-BOOT
64 rm -rf $RPM_BUILD_ROOT
66 DESTDIR=$RPM_BUILD_ROOT
68 %if %{?BOOT:1}%{!?BOOT:0}
69 install -d $RPM_BUILD_ROOT/usr/lib/bootdisk/bin
70 install -s dml-BOOT $RPM_BUILD_ROOT/usr/lib/bootdisk/bin/dml
73 #gzip -9nf AUTHORS TODO ChangeLog
76 rm -rf $RPM_BUILD_ROOT
79 %defattr(644,root,root,755)
80 %attr(755,root,root) %{_bindir}/*
83 %if %{?BOOT:1}%{!?BOOT:0}
85 %defattr(644,root,root,755)
86 %attr(755,root,root) /usr/lib/bootdisk/bin/dml