]> git.pld-linux.org Git - packages/dml.git/blobdiff - dml.spec
- unified
[packages/dml.git] / dml.spec
index 59b1894a1adfa742898358c12fcaeada2aed16ed..0dfc3c30148e42492a37ee8dd402b959611e50f2 100644 (file)
--- a/dml.spec
+++ b/dml.spec
@@ -1,15 +1,13 @@
 Summary:       Tool for displaying dialogs from shell
 Summary(pl):   Narzêdzie do wy¶wietlania okien dialogowych z shella
 Name:          dml
-Version:       0.0.5
+Version:       0.1.6
 Release:       1
-License:       GPL
+License:       GPL v2
 Group:         Applications/Terminal
-Group(de):     Applikationen/Terminal
-Group(pl):     Aplikacje/Terminal
-Source0:       ftp://ftp.pld.org.pl/people/malekith/%{name}-%{version}.tar.gz
-BuildRequires: slang-static
-BuildRequires: gettext-devel
+Source0:       ftp://ftp.pld-linux.org/people/malekith/dml/%{name}-%{version}.tar.gz
+# Source0-md5: 1862186f09b0c82fd69c50364fbbd638
+BuildRequires: slang-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -18,48 +16,26 @@ Tool for displaying dialogs from shell.
 %description -l pl
 Narzêdzie do wy¶wietlania okien dialogowych z shella.
 
-%package BOOT
-Summary:       Tool for displaying dialogs from shell - BOOT
-Summary(pl):   Narzêdzie do wy¶wietlania okien dialogowych z shella -BOOT
-Group:         Applications/Terminal
-Group(de):     Applikationen/Terminal
-Group(pl):     Aplikacje/Terminal
-
-%description BOOT
-Tool for displaying dialogs from shell. Bootdisk version.
-
 %prep
 %setup -q
 
 %build
-#autoheader
-automake --add-missing
-autoconf 
-
-# --disable-nls does not really work - cannot compile against uClibc
-%configure --disable-nls
 %{__make} \
-       CFLAGS="-I%{_libdir}/bootdisk%{_includedir}" \
-       LDFLAGS="-nostdlib -s" \
-       LIBS="%{_libdir}/bootdisk%{_libdir}/crt0.o %{_libdir}/bootdisk%{_libdir}/libc.a -lgcc"
+       CC="%{__cc}" \
+       CFLAGS="%{rpmcflags}" \
+       LDFLAGS="%{rpmldflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT 
-install -d -m 755 $RPM_BUILD_ROOT/usr/lib/bootdisk/bin
-install -m 755 src/dml $RPM_BUILD_ROOT/usr/lib/bootdisk/bin/dml
-
-#gzip -9nf AUTHORS TODO ChangeLog
+       PREFIX=%{_prefix} \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc AUTHORS TODO NEWS README doc/dml.pl doc/dml.sh
 %attr(755,root,root) %{_bindir}/*
 %{_mandir}/man1/*
-
-%files BOOT
-%defattr(644,root,root,755)
-%attr(755,root,root) /usr/lib/bootdisk/bin/dml
This page took 0.088987 seconds and 4 git commands to generate.