]> git.pld-linux.org Git - packages/dml.git/blobdiff - dml.spec
- new %%doc, removed empty ChangeLog, added i18n files
[packages/dml.git] / dml.spec
index 2f212468e30bcdd40638121a2fd9535cf36459a8..db267ebe8f2ea9be31ee85d630feea42bb0b3e23 100644 (file)
--- a/dml.spec
+++ b/dml.spec
@@ -1,16 +1,17 @@
+# 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.3
+Version:       0.0.17
 Release:       1
-Epoch:         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-static
+BuildRequires: autoconf
+BuildRequires: automake
 BuildRequires: gettext-devel
+BuildRequires: slang-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -19,42 +20,30 @@ Tool for displaying dialogs from shell.
 %description -l pl
 Narzêdzie do wy¶wietlania okien dialogowych z shella.
 
-%package -n BOOT
-Summary:       Tool for displaying dialogs from shell - BOOT
-Summary(pl):   Narzêdzie do wy¶wietlania okien dialogowych z shella -BOOT
-Name:          dml
-Group:         Applications/Terminal
-Group(de):     Applikationen/Terminal
-Group(pl):     Aplikacje/Terminal
-
-%description
-Tool for displaying dialogs from shell. Bootdisk version.
-
 %prep
 %setup -q
 
 %build
-%configure
+autoheader
+aclocal
+%{__autoconf}
+%{__automake}
+
+%configure %{?_without_nls:--disable-nls}
 %{__make}
-(cd src; %{__make} small)
 
 %install
 rm -rf $RPM_BUILD_ROOT
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT 
-install -m 755 $RPM_BUILD_ROOT/usr/lib/bootdisk/am/bin
-install -m 755 src/dml-install $RPM_BUILD_ROOT/usr/lib/bootdisk/am/bin/dml
+       DESTDIR=$RPM_BUILD_ROOT
 
-#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}/*
-
-%files -n BOOT
-%defattr(644,root,root,755)
-%attr(755,root,root) /usr/lib/bootdisk/am/bin/dml
+%{_mandir}/man1/*
This page took 0.062238 seconds and 4 git commands to generate.