Compare commits

...

5 Commits
master ... f11

Author SHA1 Message Date
Fedora Release Engineering
f6e311f484 dist-git conversion 2010-07-28 17:52:25 +00:00
Bill Nottingham
6701cc5ebf Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:19:35 +00:00
Gérard Milmeister
59dca9012d rebuild against openal-soft 2009-08-16 10:51:41 +00:00
Gérard Milmeister
b1a4d7d926 added alternatives setup for runhaskell and friends 2009-07-04 11:11:56 +00:00
Jesse Keating
280bee8518 Initialize branch F-11 for hugs98 2009-04-15 05:30:05 +00:00
3 changed files with 26 additions and 25 deletions

View File

View File

@ -1,21 +0,0 @@
# Makefile for source rpm: hugs98
# $Id$
NAME := hugs98
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View File

@ -2,7 +2,7 @@
Name: hugs98
Version: 2006.09
Release: 5%{?dist}
Release: 8%{?dist}
Summary: Haskell Interpreter
Group: Development/Languages
@ -23,7 +23,7 @@ BuildRequires: libXmu-devel
BuildRequires: libXt-devel
BuildRequires: readline-devel
BuildRequires: xorg-x11-proto-devel
BuildRequires: openal-devel
BuildRequires: openal-soft-devel
BuildRequires: freealut-devel
BuildRequires: prelink
@ -106,9 +106,8 @@ Demo files for Hugs98.
# this is to avoid network lookup of the DTD
sed -i 's|\"http://www.oasis-open.org.*\"||' docs/users_guide/users_guide.xml
%build
OPTFLAGS=`echo %optflags | sed -e "s|-O2||"`
%define optflags $OPTFLAGS
%configure --with-pthreads --enable-char-encoding=locale
make %{?_smp_mflags}
@ -193,7 +192,30 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/hugs/packages/HGL
%post
update-alternatives --install %{_bindir}/runhaskell runhaskell \
%{_bindir}/runhugs 100
update-alternatives --install %{_bindir}/hsc2hs hsc2hs \
%{_bindir}/hsc2hs-hugs 100
update-alternatives --install %{_bindir}/cpphs cpphs \
%{_bindir}/cpphs-hugs 100
%preun
if [ "$1" = 0 ]; then
update-alternatives --remove runhaskell %{_bindir}/runhugs
update-alternatives --remove hsc2hs %{_bindir}/hsc2hs-hugs
update-alternatives --remove cpphs %{_bindir}/cpphs-hugs
fi
%changelog
* Sun Aug 16 2009 Gerard Milmeister <gemi@bluewin.ch> - 2006.09-8
- rebuild against openal-soft
* Fri Jul 3 2009 Gerard Milmeister <gemi@bluewin.ch> - 2006.09-6
- added alternatives setup for runhaskell and friends
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2006.09-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild