Summary(pl): Narzêdzie do wy¶wietlania okien dialogowych z shella
Name: dml
Version: 0.0.11
-Release: 1
+Release: 2
License: GPL
Group: Applications/Terminal
Group(de): Applikationen/Terminal
Group(pl): Aplikacje/Terminal
Source0: ftp://ftp.pld.org.pl/people/malekith/%{name}-%{version}.tar.gz
+Patch0: %{name}-no_new_am.patch
+BuildRequires: autoconf
+BuildRequires: automake
%if %{?BOOT:1}%{!?BOOT:0}
BuildRequires: slang-devel-BOOT
BuildRequires: uClibc-devel-BOOT
%endif
BuildRequires: slang-devel
-#BuildRequires: gettext-devel
+BuildRequires: gettext-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Requires: slang
%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
+%patch -p1
%build
-
-%if %{?BOOT:1}%{!?BOOT:0}
-#autoheader
-#automake --add-missing
+autoheader
+aclocal
autoconf
+automake -a -c
+%if %{?BOOT:1}%{!?BOOT:0}
%configure --disable-nls
%{__make} -C src \
CFLAGS="-m386 -I%{_libdir}/bootdisk%{_includedir}" \
%{__make} distclean
%endif
-autoconf
%configure
%{__make}
install -s dml-BOOT $RPM_BUILD_ROOT/usr/lib/bootdisk/bin/dml
%endif
-#gzip -9nf AUTHORS TODO ChangeLog
+gzip -9nf AUTHORS TODO NEWS README ChangeLog
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
+%doc *.gz
%attr(755,root,root) %{_bindir}/*
%{_mandir}/man1/*