rpms/alex/F-7 alex.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Bryan O'Sullivan (bos) fedora-extras-commits at redhat.com
Tue Sep 25 22:03:35 UTC 2007


Author: bos

Update of /cvs/extras/rpms/alex/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16263/F-7

Modified Files:
	.cvsignore sources 
Added Files:
	alex.spec 
Log Message:
Initial commit



--- NEW FILE alex.spec ---
Name:           alex
Version:        2.1.0
Release:        3%{?dist}
Summary:        The lexer generator for Haskell

Group:          Development/Tools
License:        BSD-like
URL:            http://haskell.org/alex/
Source:         http://haskell.org/alex/dist/%{version}/alex-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  ghc docbook-style-xsl libxslt

%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
runhaskell Setup.lhs configure --prefix=%{_prefix} --libdir=%{_libdir}
runhaskell Setup.lhs build
cd doc
autoreconf
./configure --prefix=%{_prefix} --libdir=%{_libdir}
make html


%install
rm -rf ${RPM_BUILD_ROOT}
runhaskell Setup.lhs copy --destdir=${RPM_BUILD_ROOT}


%clean
rm -rf ${RPM_BUILD_ROOT}


%files
%defattr(-,root,root,-)
%doc ANNOUNCE LICENSE README TODO doc/alex examples
%{_bindir}/alex
%{_datadir}/alex-%{version}


%changelog
* Sun Jul 22 2007 Bryan O'Sullivan <bos at serpentine.com> - 2.1.0-3
- apply a few cleanups from Jens Petersen

* Tue Apr 26 2007 Bryan O'Sullivan <bos at serpentine.com> - 2.1.0-2
- fix a few style issues

* Fri Jan 19 2007 Bryan O'Sullivan <bos at serpentine.com> - 2.1.0-1
- update to 2.1.0
- fix rpmlint errors

* Fri May  6 2005 Jens Petersen <petersen at redhat.com> - 2.0.1-1
- initial packaging for Fedora Haskell based on upstream spec file


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/alex/F-7/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	25 Sep 2007 18:24:22 -0000	1.1
+++ .cvsignore	25 Sep 2007 22:03:03 -0000	1.2
@@ -0,0 +1 @@
+alex-2.1.0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/alex/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	25 Sep 2007 18:24:22 -0000	1.1
+++ sources	25 Sep 2007 22:03:03 -0000	1.2
@@ -0,0 +1 @@
+17e80d39cc3f1aba28dcea0e358c81e9  alex-2.1.0.tar.gz




More information about the fedora-extras-commits mailing list