Compare commits

...

4 Commits
rawhide ... f10

Author SHA1 Message Date
Fedora Release Engineering 0b657f4e59 dist-git conversion 2010-07-29 04:42:42 +00:00
Bill Nottingham 0c4574ee4e Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:20:00 +00:00
Richard W.M. Jones fee6c27109 Include cairo.a and cairo_lablgtk.a (fixes BZ 475349). 2008-12-09 11:45:58 +00:00
Jesse Keating 0c2cb3531b Initialize branch F-10 for ocaml-cairo 2008-11-07 03:57:14 +00:00
3 changed files with 5 additions and 23 deletions

View File

View File

@ -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)

View File

@ -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