%define name lyx2html %define version 0.2 %define release 6mdk 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) %{_bindir}/lyx2html %defattr(644,root,root,755) %doc README COPYING %{_mandir}/man1/* %changelog * Tue Apr 26 2005 Lenny Cartier <lenny@mandriva.com> 0.2-6mdk - rebuild * Mon Feb 23 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.2-5mdk - rebuild * Mon Jan 27 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.2-4mdk - rebuild * Thu Aug 29 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.2-3mdk - rebuild * 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.