diff --git a/README.md b/README.md index 53e3b1a..1b035f9 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # camlidl +CamlIDL is a stub code generator and COM binding for Objective Caml. + diff --git a/camlidl.spec b/camlidl.spec new file mode 100644 index 0000000..a82eee2 --- /dev/null +++ b/camlidl.spec @@ -0,0 +1,51 @@ +Name: camlidl +Version: 1.05 +Release: 1mamba +Summary: A stub code generator and COM binding for Objective Caml +Group: Applications/Development +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://caml.inria.fr/pub/old_caml_site/camlidl/ +Source: http://caml.inria.fr/pub/old_caml_site/distrib/bazar-ocaml/camlidl-%{version}.tar.gz +License: LGPL, QPL +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +BuildRequires: ocaml +Requires: ocaml +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +CamlIDL is a stub code generator and COM binding for Objective Caml. + +%debug_package + +%prep +%setup -q +cp config/Makefile.unix config/Makefile + +%build +make BINDIR=%{_bindir} OCAMLLIB=%{_libdir}/ocaml + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +install -d -m0755 %{buildroot}%{_bindir} %{buildroot}%{_libdir}/ocaml/caml +%makeoldinstall BINDIR=%{buildroot}%{_bindir} OCAMLLIB=%{buildroot}%{_libdir}/ocaml + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/camlidl +%{_libdir}/ocaml/caml/camlidlruntime.h +%{_libdir}/ocaml/com.a +%{_libdir}/ocaml/com.cma +%{_libdir}/ocaml/com.cmi +%{_libdir}/ocaml/com.cmxa +%{_libdir}/ocaml/libcamlidl.a +%doc LICENSE + +%changelog +* Fri Jan 11 2013 Silvan Calarco 1.05-1mamba +- package created by silvan using the webbuild interface