Add META file (RHBZ#1026991).
This commit is contained in:
parent
4668653f96
commit
f3d83b6f58
|
@ -0,0 +1,6 @@
|
|||
# Courtesy of GODI
|
||||
description = "Stub generator"
|
||||
version = "@VERSION@"
|
||||
directory = "^"
|
||||
archive(byte) = "com.cma"
|
||||
archive(native) = "com.cmxa"
|
|
@ -2,13 +2,15 @@
|
|||
|
||||
Name: ocaml-camlidl
|
||||
Version: 1.05
|
||||
Release: 21%{?dist}
|
||||
Release: 22%{?dist}
|
||||
Summary: Stub code generator and COM binding for Objective Caml
|
||||
License: QPL and LGPLv2 with exceptions
|
||||
|
||||
URL: http://caml.inria.fr/pub/old_caml_site/camlidl/
|
||||
Source0: http://caml.inria.fr/pub/old_caml_site/distrib/bazar-ocaml/camlidl-%{version}.tar.gz
|
||||
Source1: http://caml.inria.fr/pub/old_caml_site/distrib/bazar-ocaml/camlidl-%{version}.doc.pdf
|
||||
# META file from Debian (RHBZ#1026991).
|
||||
Source2: META.camlidl.in
|
||||
|
||||
# Build the compiler into a native code program using ocamlopt.
|
||||
Patch1: camlidl-1.05-use-ocamlopt-for-compiler.patch
|
||||
|
@ -89,6 +91,9 @@ mkdir -p $RPM_BUILD_ROOT/%{_libdir}/ocaml/caml
|
|||
mkdir -p $RPM_BUILD_ROOT/%{_libdir}/ocaml/stublibs
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
|
||||
|
||||
# Install META file (RHBZ#1026991).
|
||||
sed 's/@VERSION@/%{version}/' < %{SOURCE2} > $RPM_BUILD_ROOT/%{_libdir}/ocaml/META.camlidl
|
||||
|
||||
make OCAMLLIB=$RPM_BUILD_ROOT/%{_libdir}/ocaml \
|
||||
BINDIR=$RPM_BUILD_ROOT/%{_bindir} \
|
||||
install
|
||||
|
@ -120,6 +125,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||
|
||||
|
||||
%changelog
|
||||
* Tue Nov 5 2013 Richard W.M. Jones <rjones@redhat.com> - 1.05-22
|
||||
- Add META file (RHBZ#1026991).
|
||||
|
||||
* Sat Sep 14 2013 Richard W.M. Jones <rjones@redhat.com> - 1.05-21
|
||||
- Rebuild for OCaml 4.01.0.
|
||||
- Enable debuginfo.
|
||||
|
|
Loading…
Reference in New Issue