]> git.pld-linux.org Git - packages/alex.git/blobdiff - alex.spec
- BR: gmp-devel
[packages/alex.git] / alex.spec
index 668d244f1915741e2c733421e4088cec8be28918..dc3a758017d9ab6c3ebf41932828edba376b95a8 100644 (file)
--- a/alex.spec
+++ b/alex.spec
@@ -1,4 +1,5 @@
 Summary:       A lexical analyser generator for Haskell
+Summary(pl):   Generator analizatorów sk³adniowych dla Haskella
 Name:          alex
 Version:       2.0
 Release:       1
@@ -7,22 +8,42 @@ Group:                Development/Tools
 Source0:       http://www.haskell.org/alex/dist/%{name}-%{version}-src.tar.bz2
 # Source0-md5: 14ff6abf21d81763b15afe151add9091
 Patch0:                %{name}-DESTDIR.patch
+Patch1:                %{name}-debian.patch
+Patch2:                %{name}-amd64.patch
 URL:           http://www.haskell.org/alex/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: docbook-dtd31-sgml
+BuildRequires: docbook-style-dsssl
 BuildRequires: ghc >= 5.04
+BuildRequires: gmp-devel
+BuildRequires: jadetex
+BuildRequires: openjade
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Alex is a tool for generating lexical analysers in Haskell,
-given a description of the tokens to be recognised in the form
-of regular expressions.
-It is similar to the tool lex or flex for C/C++.
+Alex is a tool for generating lexical analysers in Haskell, given a
+description of the tokens to be recognised in the form of regular
+expressions. It is similar to the tool lex or flex for C/C++.
+
+%description -l pl
+Alex to narzêdzie do generowania analizatorów sk³adniowych w Haskellu
+na podstawie opisu tokenów do rozpoznawania w postaci wyra¿eñ
+regularnych. Jest podobne do narzêdzi lex lub flex dla C/C++.
 
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
+%patch2
 
 %build
+chmod u+w configure*
+%{__aclocal}
+%{__autoconf}
+cp -f /usr/share/automake/config.sub .
 %configure
+%{__make} depend
 %{__make}
 %{__make} ps -C alex/doc
 
@@ -42,6 +63,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc alex/{ANNOUNCE,LICENSE,README} alex/doc/alex.{ps,dvi}
 %attr(755,root,root) %{_bindir}/*
+%dir %{_libdir}/%{name}-%{version}
 %{_libdir}/%{name}-%{version}/A*
 %attr(755,root,root) %{_libdir}/%{name}-%{version}/alex.bin
 %{_examplesdir}/%{name}-%{version}
This page took 0.033458 seconds and 4 git commands to generate.