%define name lyx2html %define version 0.2 %define release 2mdk Summary: lyx2html is a simple lyx to html converter Name: %{name} Version: %{version} Release: %{release} Source0: %{name}-%{version}.tar.bz2 Patch: %{name}-makefile.patch.bz2 License: GPL URL: http://www.netmeister.org/apps/lyx2html/index.html Group: Text tools Buildroot: %{_tmppath}/%{name}-buildroot %description "lyx2html" is a very simple Lyx to HTML converter. As the name suggests, it takes a ".lyx" document as input and generates an HTML-file following a few simple rules. "lyx2html" can be very useful for generation documentation. This is a beta-release, meaning there are probably still a lot of bugs in the program, and that it might not generate the expected output or that it might even segfault on you. %prep rm -rf $RPM_BUILD_ROOT %setup %patch -p 1 %build %make %install mkdir -p $RPM_BUILD_ROOT/%{_bindir} mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1 make DESTDIR=$RPM_BUILD_ROOT install %clean %files %defattr(-,root,root) %doc README COPYING %{_bindir}/lyx2html %{_mandir}/man1/* %changelog * Tue Aug 21 2001 Lenny Cartier <lenny@mandrakesoft.com> 0.2-2mdk - rebuild * Mon Jan 22 2001 Lenny Cartier <lenny@mandrakesoft.com> 0.2-1mdk - updated to 0.2 * Mon Sep 11 2000 Lenny Cartier <lenny@mandrakesoft.com> 0.1-2mdk - cleanup * Mon Aug 28 2000 Lenny Cartier <lenny@mandrakesoft.com> 0.1-1mdk - patch makefile for BM - used srpm from Jan Schaumann <jschauma@netmeister.org> : - First spec file for Mandrake distribution.