Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.2:Update
happy
happy.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File happy.spec of Package happy
# # spec file for package happy # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: happy Version: 1.18.10 Release: 0 # BEGIN cabal2spec Url: http://hackage.haskell.org/package/%{name} Source0: http://hackage.haskell.org/packages/archive/%{name}/%{version}/%{name}-%{version}.tar.gz # PATCH-FIX-UPSTREAM happy-1.18.6-generate-man-page.patch -- peter.trommler@ohm-hochschule.de Patch: happy-1.18.6-generate-man-page.patch BuildRequires: autoconf BuildRequires: docbook-dtd BuildRequires: docbook-xsl-stylesheets BuildRequires: fop BuildRequires: ghc-Cabal-devel BuildRequires: ghc-array-devel BuildRequires: ghc-containers-devel BuildRequires: ghc-mtl-devel BuildRequires: ghc-rpm-macros BuildRequires: libxml2 BuildRequires: libxslt # END cabal2spec Summary: The LALR(1) Parser Generator for Haskell License: BSD-2-Clause Group: Development/Languages/Other BuildRoot: %{_tmppath}/%{name}-%{version}-build %description 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), or it can parse a stream of characters directly (but this isn't practical in most cases). %prep %setup -q %patch -p1 %build %ghc_bin_build cd doc test -f configure || autoreconf ./configure make html %install %ghc_bin_install mkdir -p %{buildroot}/%{_mandir}/man1 cp doc/%{name}.1 %{buildroot}/%{_mandir}/man1 %files %defattr(-,root,root) %doc ANNOUNCE %doc CHANGES %doc LICENSE %doc README %doc TODO %doc doc/happy %doc examples %attr(755,root,root) %{_bindir}/%{name} %{_datadir}/%{name}-%{version} %{_mandir}/man1/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor