filellist
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-curses?expand=0&rev=6
This commit is contained in:
parent
928bdef339
commit
3c71d95c45
@ -69,7 +69,10 @@ autoreconf
|
||||
%build
|
||||
# Parallel builds don't work (with bytecode)
|
||||
%configure --enable-widec
|
||||
make all opt
|
||||
make all
|
||||
%if %{ocaml_native_compiler}
|
||||
make opt
|
||||
%endif
|
||||
|
||||
|
||||
%install
|
||||
@ -88,24 +91,24 @@ ocamlfind install $OCAMLFILES
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING
|
||||
%{_libdir}/ocaml/curses
|
||||
%if %{ocaml_native_compiler}
|
||||
%exclude %{_libdir}/ocaml/curses/*.a
|
||||
%exclude %{_libdir}/ocaml/curses/*.cmxa
|
||||
%exclude %{_libdir}/ocaml/curses/*.cmx
|
||||
%endif
|
||||
%exclude %{_libdir}/ocaml/curses/*.mli
|
||||
%{_libdir}/ocaml/stublibs/*.so
|
||||
%{_libdir}/ocaml/stublibs/*.so.owner
|
||||
%dir %{_libdir}/ocaml
|
||||
%dir %{_libdir}/ocaml/*
|
||||
%{_libdir}/ocaml/*/*.so
|
||||
%{_libdir}/ocaml/*/*.so.owner
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING
|
||||
%dir %{_libdir}/ocaml
|
||||
%dir %{_libdir}/ocaml/*
|
||||
%{_libdir}/ocaml/*/*.a
|
||||
%if %{ocaml_native_compiler}
|
||||
%{_libdir}/ocaml/curses/*.a
|
||||
%{_libdir}/ocaml/curses/*.cmxa
|
||||
%{_libdir}/ocaml/curses/*.cmx
|
||||
%{_libdir}/ocaml/*/*.cmx
|
||||
%{_libdir}/ocaml/*/*.cmxa
|
||||
%endif
|
||||
%{_libdir}/ocaml/curses/*.mli
|
||||
%{_libdir}/ocaml/*/*.cma
|
||||
%{_libdir}/ocaml/*/*.cmi
|
||||
%{_libdir}/ocaml/*/*.mli
|
||||
%{_libdir}/ocaml/*/META
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user