rpms/happy/devel happy.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Bryan O'Sullivan (bos) fedora-extras-commits at redhat.com
Wed Apr 18 04:56:46 UTC 2007


Author: bos

Update of /cvs/extras/rpms/happy/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4219/devel

Modified Files:
	.cvsignore sources 
Added Files:
	happy.spec 
Log Message:
Initial checkin.



--- NEW FILE happy.spec ---
Name:           happy
Version:        1.16
Release:        2%{?dist}
License:        BSD-like
Group:          Development/Tools
URL:            http://haskell.org/happy/
Source:         http://haskell.org/happy/dist/%{version}/happy-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  autoconf, ghc, docbook-dtds, docbook-style-xsl, libxslt, libxml2
Summary:        The LALR(1) Parser Generator for Haskell

%description
Happy is a parser generator system for Haskell, similar to the tool
`yacc' for C. Like `yacc', it takes a file containing an annotated BNF
specification of a grammar and produces a Haskell module containing a
parser for the grammar.

Happy is flexible: you can have several Happy parsers in the same
program, and several entry points to a single grammar. Happy can work
in conjunction with a lexical analyser supplied by the user (either
hand-written or generated by another program).


%prep
%setup -q


%build
runhaskell Setup.lhs configure --prefix=%{_prefix} --libdir=%{_libdir}
runhaskell Setup.lhs build

pushd doc
autoreconf
./configure --prefix=%{_prefix} --libdir=%{_libdir}
make html
popd


%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 CHANGES LICENSE README TODO doc/happy
%{_bindir}/happy
%{_datadir}/happy-%{version}


%changelog
* Sun Mar 25 2007 Bryan O'Sullivan <bos at serpentine.com> - 1.16-2
- fix a few style issues pointed out by Jens

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

* Fri Jan 21 2005 Jens Petersen <petersen at haskell.org> - 1.15-2
- initial packaging based on spec file from tarball
- setup libdir for x86_64


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/happy/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	14 Apr 2007 12:23:04 -0000	1.1
+++ .cvsignore	18 Apr 2007 04:56:12 -0000	1.2
@@ -0,0 +1 @@
+happy-1.16.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/happy/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	14 Apr 2007 12:23:04 -0000	1.1
+++ sources	18 Apr 2007 04:56:12 -0000	1.2
@@ -0,0 +1 @@
+b9fd2f5eba61974dab8e12873cadee6f  happy-1.16.tar.gz




More information about the scm-commits mailing list