diff --git a/alex.spec b/alex.spec index 0c0a5e4..970ab24 100644 --- a/alex.spec +++ b/alex.spec @@ -1,9 +1,8 @@ -%define with_html_docs 0 %define with_ps_docs 0 Name: alex Summary: The lexer generator for Haskell -Summary(de): Ein Lexer-Generator für Haskell +Summary(de): Ein Lexer-Generator für Haskell Version: 2.0.1 Release: 0 License: BSD w/o adv. clause @@ -12,8 +11,6 @@ Packager: Herbert Graeber URL: http://www.haskell.org/alex/ Source: http://www.haskell.org/alex/dist/%{version}/alex-%{version}-src.tar.gz BuildRequires: ghc -%if %{with_html_docs} -BuildRequires: haddock BuildRequires: libxslt BuildRequires: sgml-skel BuildRequires: docbook-xsl-stylesheets @@ -22,7 +19,6 @@ BuildRequires: docbook-utils BuildRequires: fop BuildRequires: xmltex %endif -%endif BuildRoot: %{_tmppath}/%{name}-%{version}-root Prefix: /usr @@ -33,9 +29,9 @@ expressions. It is similar to the tool 'lex' or 'flex' for C/C++. %description -l de Alex ist ein Tool zum Erzeugen von lexkialischen Analysatoren. Er erzeugt -aus eine Beschreibung von Symbolen durch reguläre Ausdrücke ein +aus eine Beschreibung von Symbolen durch reguläre Ausdrücke ein Haskell-Modul, das aus einem Text eine Folge von Symbolen erzeugt. Alex ist -ein vergleichbar mit 'lex' bzw. 'flex' für C und C++. +ein vergleichbar mit 'lex' bzw. 'flex' für C und C++. %package doc Summary: Alex Documentation @@ -46,7 +42,7 @@ Group: Development/Languages/Haskell This is the documentation for Alex, a lexical analyser generator for Haskell. %description doc -l de -Dieses ist Dokumentation für Alex. +Dieses ist Dokumentation für Alex. %prep %setup -q -n alex-%{version} @@ -60,12 +56,10 @@ test -f configure || autoreconf %endif make -%if %{with_html_docs} make html %if %{with_ps_docs} make ps %endif -%endif %install rm -rf ${RPM_BUILD_ROOT} @@ -84,14 +78,15 @@ make prefix=$RPM_BUILD_ROOT%{_prefix} libdir=$RPM_BUILD_ROOT%{_libdir}/%{name}-% %files doc %defattr (-,root, root) %doc alex/examples -%if %{with_html_docs} %doc alex/doc/alex %if %{with_ps_docs} %doc alex/doc/alex.ps %endif -%endif %changelog +* Wed Sep 06 2006 Herbert Graeber +- Haddock isn't needed for build + * Mon Sep 04 2006 Herbert Graeber - Use docbook-utils for html documentation - Require sgml-skel for build