Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
0b657f4e59 | ||
|
0c4574ee4e | ||
|
fee6c27109 | ||
|
0c2cb3531b |
0
.cvsignore → .gitignore
vendored
0
.cvsignore → .gitignore
vendored
21
Makefile
21
Makefile
@ -1,21 +0,0 @@
|
||||
# Makefile for source rpm: ocaml-cairo
|
||||
# $Id$
|
||||
NAME := ocaml-cairo
|
||||
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)
|
@ -13,7 +13,7 @@
|
||||
|
||||
Name: ocaml-cairo
|
||||
Version: 1.2.0.cvs20080301
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: OCaml library for accessing cairo graphics
|
||||
|
||||
Group: Development/Libraries
|
||||
@ -82,7 +82,7 @@ export DESTDIR=$RPM_BUILD_ROOT
|
||||
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
|
||||
mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
|
||||
|
||||
ocamlfind install cairo src/{*.mli,*.cmi,*.cma,lib*.a,*.cmxa,*.cmx,dll*.so} META
|
||||
ocamlfind install cairo src/{*.mli,*.cmi,*.cma,*.a,*.cmxa,*.cmx,dll*.so} META
|
||||
|
||||
strip $RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs/dll*.so
|
||||
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs/dll*.so
|
||||
@ -118,6 +118,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Dec 9 2008 Richard W.M. Jones <rjones@redhat.com> - 1.2.0.cvs20080301-4
|
||||
- Include cairo.a and cairo_lablgtk.a (fixes BZ 475349).
|
||||
|
||||
* Wed Apr 23 2008 Richard W.M. Jones <rjones@redhat.com> - 1.2.0.cvs20080301-3
|
||||
- Rebuild for OCaml 3.10.2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user