Accepting request 250589 from devel:languages:haskell:compiler

LICENSE

OBS-URL: https://build.opensuse.org/request/show/250589
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-bootstrap?expand=0&rev=4
This commit is contained in:
Peter Trommler 2014-09-22 07:46:05 +00:00 committed by Git OBS Bridge
parent 7f852209c3
commit 0dd4500acd
3 changed files with 39 additions and 0 deletions

31
LICENSE Normal file
View File

@ -0,0 +1,31 @@
The Glasgow Haskell Compiler License
Copyright 2002, The University Court of the University of Glasgow.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
- Neither name of the University nor the names of its contributors may be
used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY COURT OF THE UNIVERSITY OF
GLASGOW AND THE CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
UNIVERSITY COURT OF THE UNIVERSITY OF GLASGOW OR THE CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Sep 22 07:43:07 UTC 2014 - peter.trommler@ohm-hochschule.de
- add LICENSE file
-------------------------------------------------------------------
Tue Sep 16 10:59:21 UTC 2014 - peter.trommler@ohm-hochschule.de

View File

@ -46,6 +46,7 @@ License: BSD-3-Clause
Group: Development/Languages/Other
Source: %{name}-%{version}.tar
Source1: README.openSUSE
Source2: LICENSE
# Building binary distributions is currently broken for ppc64le
# use package 'ghc-bin' to bootstrap ppc64le
# this will be fixed in version 7.8.3 and later
@ -133,6 +134,7 @@ Haskell home page at <http://www.haskell.org/>.
%prep
%setup -q
cp %SOURCE1 .
cp %SOURCE2 .
%build
tar jxf ghc-%{version}-%{longarch}-unknown-linux.tar.bz2
@ -149,6 +151,7 @@ ghc-pkg recache
%files
%defattr(-,root,root,-)
%doc README.openSUSE
%doc LICENSE
%{_bindir}/*
%{_prefix}/lib/ghc-%{version}
%{_datadir}/doc/*