From eb80940581512e55e2ac5b3cdb8bb610fdc55527 Mon Sep 17 00:00:00 2001 From: marcus Date: Tue, 5 Mar 2002 18:04:41 +0000 Subject: [PATCH] - removed uclibc stuff - rel.2 Changed files: dml.spec -> 1.34 --- dml.spec | 53 +---------------------------------------------------- 1 file changed, 1 insertion(+), 52 deletions(-) diff --git a/dml.spec b/dml.spec index ca81e80..6eb5d26 100644 --- a/dml.spec +++ b/dml.spec @@ -1,47 +1,24 @@ -# _without_embed - don't build uClibc version Summary: Tool for displaying dialogs from shell Summary(pl): Narzêdzie do wy¶wietlania okien dialogowych z shella Name: dml Version: 0.0.15 -Release: 1 +Release: 2 License: GPL Group: Applications/Terminal Source0: ftp://ftp.pld.org.pl/people/malekith/%{name}-%{version}.tar.gz BuildRequires: autoconf BuildRequires: automake -%if %{!?_without_embed:1}%{?_without_embed:0} -BuildRequires: slang-devel-embed -BuildRequires: uClibc-devel -BuildRequires: uClibc-static -%endif BuildRequires: slang-devel BuildRequires: gettext-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) Requires: slang -%define embed_path /usr/lib/embed -%define embed_cc %{_arch}-uclibc-cc -%define embed_cflags %{rpmcflags} -Os -%define uclibc_prefix /usr/%{_arch}-linux-uclibc - %description Tool for displaying dialogs from shell. %description -l pl Narzêdzie do wy¶wietlania okien dialogowych z shella. -%package embed -Summary: Tool for displaying dialogs from shell - BOOT -Summary(pl): Narzêdzie do wy¶wietlania okien dialogowych z shella -BOOT -Group: Applications/Terminal - -%description embed -Tool for displaying dialogs from shell. Bootdisk version. - -%description embed -l pl -Narzêdzie do wy¶wietlania okien dialogowych z shella. Wersja na -bootkietkê. - %prep %setup -q @@ -51,22 +28,6 @@ aclocal autoconf automake -a -c -%if %{!?_without_embed:1}%{?_without_embed:0} -%configure --disable-nls -%{__make} -C src \ - CC=%{embed_cc} \ - CFLAGS="%{embed_cflags}" \ - LDADD="-lslang" -mv -f src/dml dml-shared -%{__make} -C src \ - CC=%{embed_cc} \ - CFLAGS="%{embed_cflags}" \ - LDFLAGS="-static" \ - LDADD="-lslang" -mv -f src/dml dml-static -%{__make} distclean -%endif - %configure %{__make} @@ -75,12 +36,6 @@ rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -%if %{!?_without_embed:1}%{?_without_embed:0} -install -d $RPM_BUILD_ROOT%{embed_path}/{shared,static} -install dml-shared $RPM_BUILD_ROOT%{embed_path}/shared/dml -install dml-static $RPM_BUILD_ROOT%{embed_path}/static/dml -%endif - gzip -9nf AUTHORS TODO NEWS README ChangeLog %clean @@ -91,9 +46,3 @@ rm -rf $RPM_BUILD_ROOT %doc *.gz %attr(755,root,root) %{_bindir}/* %{_mandir}/man1/* - -%if %{!?_without_embed:1}%{?_without_embed:0} -%files embed -%defattr(644,root,root,755) -%attr(755,root,root) %{embed_path}/*/dml -%endif -- 2.44.0