]> git.pld-linux.org Git - packages/dml.git/commitdiff
- reelase 2,
authorkloczek <kloczek@pld-linux.org>
Mon, 16 Jul 2001 21:02:37 +0000 (21:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- make spec ac 2.50 ready (added no_new_am patch),
- added more %doc.

Changed files:
    dml.spec -> 1.22

dml.spec

index 8e2ff762a186847adacf26df96f846b27042fe30..09f99d4893a9b977369f04eb4d1847b23c2ee478 100644 (file)
--- a/dml.spec
+++ b/dml.spec
@@ -2,18 +2,21 @@ Summary:      Tool for displaying dialogs from shell
 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
 
@@ -23,7 +26,6 @@ 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
@@ -33,18 +35,18 @@ Group(pl):  Aplikacje/Terminal
 
 %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}" \
@@ -57,7 +59,6 @@ mv -f src/dml dml-BOOT
 %{__make} distclean
 %endif
 
-autoconf
 %configure
 %{__make}
 
@@ -71,13 +72,14 @@ 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
+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/*
 
This page took 0.07991 seconds and 4 git commands to generate.