[packages/alex] Up to 3.5.4.2
arekm
arekm at pld-linux.org
Thu May 14 22:06:51 CEST 2026
commit 8d53f04475af1bc572493b0236700aebcf8c2084
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu May 14 22:06:26 2026 +0200
Up to 3.5.4.2
alex.spec | 21 +++++----------------
1 file changed, 5 insertions(+), 16 deletions(-)
---
diff --git a/alex.spec b/alex.spec
index 8e18953..7c9a972 100644
--- a/alex.spec
+++ b/alex.spec
@@ -5,22 +5,17 @@
Summary: A lexical analyser generator for Haskell
Summary(pl.UTF-8): Generator analizatorów składniowych dla Haskella
Name: alex
-Version: 3.2.5
-Release: 2
+Version: 3.5.4.2
+Release: 1
License: BSD-like w/o adv. clause
Group: Development/Tools
#Source0Download: http://hackage.haskell.org/package/alex
Source0: http://hackage.haskell.org/package/alex-%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: ed318478389e9538c8356056ddebbea8
+# Source0-md5: 6153ff76e38b06c358d9df12fdad7b05
URL: http://www.haskell.org/alex/
-BuildRequires: autoconf >= 2.50
-BuildRequires: docbook-dtd42-xml
-BuildRequires: docbook-style-xsl
-%{!?with_bootstrap:BuildRequires: ghc >= 6.6}
+%{!?with_bootstrap:BuildRequires: ghc >= 9.2}
BuildRequires: gmp-devel
%{!?with_bootstrap:BuildRequires: happy}
-BuildRequires: libxslt-progs
-#For generating documentation in PDF: fop or xmltex
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
# debuginfo is not useful for ghc
@@ -44,12 +39,6 @@ regularnych. Jest podobne do narzędzi lex lub flex dla C/C++.
runhaskell Setup.hs configure --prefix=%{_prefix}
runhaskell Setup.hs build
-cd doc
-%{__autoconf}
-%configure
-%{__make} html
-cd ..
-
%install
rm -rf $RPM_BUILD_ROOT
%{?with_bootstrap:PATH=$PATH:/usr/local/bin}
@@ -68,7 +57,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc CHANGELOG.md README.md TODO doc/alex
+%doc CHANGELOG.md README.md
%attr(755,root,root) %{_bindir}/alex
%{_datadir}/%{name}-%{version}
%{_examplesdir}/%{name}-%{version}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/alex.git/commitdiff/8d53f04475af1bc572493b0236700aebcf8c2084
More information about the pld-cvs-commit
mailing list