]> git.pld-linux.org Git - packages/alex.git/commitdiff
- initial revision
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 17 Feb 2004 12:25:13 +0000 (12:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- raw

Changed files:
    alex.spec -> 1.1

alex.spec [new file with mode: 0644]

diff --git a/alex.spec b/alex.spec
new file mode 100644 (file)
index 0000000..d5cf72f
--- /dev/null
+++ b/alex.spec
@@ -0,0 +1,48 @@
+Summary:       A lexical analyser generator for Haskell
+Name:          alex
+Version:       2.0
+Release:       0.1
+License:       BSD-like w/o adv. clause
+Group:         Development/Tools
+Source0:       http://www.haskell.org/alex/dist/%{name}-%{version}-src.tar.bz2
+# Source0-md5: 14ff6abf21d81763b15afe151add9091
+URL:           http://www.haskell.org/alex/
+BuildRequires: ghc >= 5.04
+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++.
+
+%prep
+%setup -q
+
+%build
+# if ac/am/* rebuilding is necessary, do it in this order and add
+# appropriate BuildRequires
+#%{__gettextize}
+#%{__aclocal}
+#%{__autoconf}
+#%{__autoheader}
+#%{__automake}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+# create directories if necessary
+#install -d $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
+%attr(755,root,root) %{_bindir}/*
+%{_datadir}/%{name}
This page took 0.134106 seconds and 4 git commands to generate.