]> git.pld-linux.org Git - packages/dml.git/blob - dml.spec
- removed nast hack (malekith patched uClibc instead)
[packages/dml.git] / dml.spec
1 Summary:        Tool for displaying dialogs from shell
2 Summary(pl):    Narzêdzie do wy¶wietlania okien dialogowych z shella
3 Name:           dml
4 Version:        0.0.5
5 Release:        2
6 License:        GPL
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 BuildRequires:  slang-devel-BOOT
12 BuildRequires:  uClibc-devel-BOOT
13 BuildRequires:  slang-devel
14 #BuildRequires: gettext-devel
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 Requires:       slang
17
18 %description
19 Tool for displaying dialogs from shell.
20
21 %description -l pl
22 Narzêdzie do wy¶wietlania okien dialogowych z shella.
23
24 %package BOOT
25 Summary:        Tool for displaying dialogs from shell - BOOT
26 Summary(pl):    Narzêdzie do wy¶wietlania okien dialogowych z shella -BOOT
27 Group:          Applications/Terminal
28 Group(de):      Applikationen/Terminal
29 Group(pl):      Aplikacje/Terminal
30
31 %description BOOT
32 Tool for displaying dialogs from shell. Bootdisk version.
33
34 %prep
35 %setup -q
36
37 %build
38 autoheader
39 automake --add-missing
40 autoconf 
41
42 %configure --disable-nls
43 %{__make} -C src \
44         CFLAGS="-I%{_libdir}/bootdisk%{_includedir} " \
45         LDFLAGS="-nostdlib -static -s" \
46         LDADD=" %{_libdir}/bootdisk%{_libdir}/libslang.a \
47                 %{_libdir}/bootdisk%{_libdir}/crt0.o \
48                 %{_libdir}/bootdisk%{_libdir}/libc.a -lgcc "
49 mv -f src/dml dml-BOOT
50
51 %{__make} distclean
52 %configure
53 %{__make}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT 
59
60 install -d $RPM_BUILD_ROOT/usr/lib/bootdisk/bin
61 install -s dml-BOOT $RPM_BUILD_ROOT/usr/lib/bootdisk/bin/dml
62
63 #gzip -9nf AUTHORS TODO ChangeLog
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files
69 %defattr(644,root,root,755)
70 %attr(755,root,root) %{_bindir}/*
71 %{_mandir}/man1/*
72
73 %files BOOT
74 %defattr(644,root,root,755)
75 %attr(755,root,root) /usr/lib/bootdisk/bin/dml
This page took 0.032205 seconds and 3 git commands to generate.