%define name lcab %define version 1.0 %define pre b12 %define rel 1 Summary: Command-line Cabinet file creation tool Name: %{name} Version: %{version} Release: %mkrel 0.%pre.%rel URL: http://ohnopub.net/~ohnobinki/lcab/ Source: ftp://ohnopublishing.net/mirror/%{name}-%{version}%{pre}.tar.gz License: GPLv2+ Group: Archiving/Compression BuildRoot: %{_tmppath}/%{name}-root %description Command-line tool for creating Cabinet (.cab) files. The created files are not compressed. %prep %setup -q -n %{name}-%{version}%{pre} %build autoreconf -if %configure2_5x %install rm -rf %{buildroot} %makeinstall_std install -d -m755 %{buildroot}%{_mandir}/man1 install -m644 lcab.1 %{buildroot}%{_mandir}/man1 %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc README %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* %changelog * Sun Oct 10 2010 Anssi Hannula <anssi@mandriva.org> 1.0-0.b12.1mdv2011.0 + Revision: 584496 - initial Mandriva release