X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=dml.spec;h=db267ebe8f2ea9be31ee85d630feea42bb0b3e23;hb=273d53b0d0bae15c585e21023572a214da3155cf;hp=d6408b6e325d0bfe7890657620395ae70d94f7b9;hpb=8cf8ed264ba440204ed2d078c2905910cecdf0a5;p=packages%2Fdml.git diff --git a/dml.spec b/dml.spec index d6408b6..db267eb 100644 --- a/dml.spec +++ b/dml.spec @@ -1,19 +1,18 @@ +# conditional build: +# --without nls Summary: Tool for displaying dialogs from shell Summary(pl): Narzêdzie do wy¶wietlania okien dialogowych z shella Name: dml -Version: 0.0.5 -Release: 2 +Version: 0.0.17 +Release: 1 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 -BuildRequires: slang-devel-BOOT -BuildRequires: uClibc-devel-BOOT +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gettext-devel BuildRequires: slang-devel -#BuildRequires: gettext-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -Requires: slang %description Tool for displaying dialogs from shell. @@ -21,55 +20,30 @@ 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 - -%configure --disable-nls -%{__make} -C src \ - CFLAGS="-I%{_libdir}/bootdisk%{_includedir} " \ - LDFLAGS="-nostdlib -static -s" \ - LDADD=" %{_libdir}/bootdisk%{_libdir}/libslang.a \ - %{_libdir}/bootdisk%{_libdir}/crt0.o \ - %{_libdir}/bootdisk%{_libdir}/libc.a -lgcc " -mv -f src/dml dml-BOOT +aclocal +%{__autoconf} +%{__automake} -%{__make} distclean -%configure +%configure %{?_without_nls:--disable-nls} %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ - DESTDIR=$RPM_BUILD_ROOT + DESTDIR=$RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT/usr/lib/bootdisk/bin -install -s dml-BOOT $RPM_BUILD_ROOT/usr/lib/bootdisk/bin/dml - -#gzip -9nf AUTHORS TODO ChangeLog +%find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT -%files +%files -f %{name}.lang %defattr(644,root,root,755) +%doc AUTHORS TODO NEWS README %attr(755,root,root) %{_bindir}/* %{_mandir}/man1/* - -%files BOOT -%defattr(644,root,root,755) -%attr(755,root,root) /usr/lib/bootdisk/bin/dml