commit
4531ad225a
BIN
4.07+1.tar.gz
Normal file
BIN
4.07+1.tar.gz
Normal file
Binary file not shown.
83
ocaml-camlp4.spec
Normal file
83
ocaml-camlp4.spec
Normal file
@ -0,0 +1,83 @@
|
|||||||
|
Name: ocaml-camlp4
|
||||||
|
Version: 4.07.0
|
||||||
|
Release: 0.1.4
|
||||||
|
Summary: Pre-Processor for OCaml
|
||||||
|
License: LGPLv2+ with exceptions
|
||||||
|
URL: https://github.com/ocaml/camlp4
|
||||||
|
Source0: https://github.com/ocaml/camlp4/archive/4.07+1.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: ocaml-ocamlbuild ocaml = %{version}
|
||||||
|
Requires: ocaml-runtime = %{version}
|
||||||
|
|
||||||
|
%description
|
||||||
|
Camlp4 is a Pre-Processor-Pretty-Printer for OCaml, used to parse the
|
||||||
|
source file and print some results on the standard output.
|
||||||
|
|
||||||
|
This package contains runtime files.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Pre-Processor for OCaml
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Camlp4 is a Pre-Processor-Pretty-Printer for OCaml, used to parse the
|
||||||
|
source file and print some results on the standard output.
|
||||||
|
|
||||||
|
This package contains runtime files.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n camlp4-4.07-1 -p1
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
./configure
|
||||||
|
|
||||||
|
unset MAKEFLAGS
|
||||||
|
make all
|
||||||
|
|
||||||
|
%install
|
||||||
|
install -d $RPM_BUILD_ROOT%{_bindir}
|
||||||
|
install -d $RPM_BUILD_ROOT%{_libdir}/ocaml/camlp4
|
||||||
|
make install \
|
||||||
|
BINDIR=$RPM_BUILD_ROOT%{_bindir} LIBDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml \
|
||||||
|
PKGDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml/camlp4
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README.md LICENSE
|
||||||
|
%dir %{_libdir}/ocaml/camlp4
|
||||||
|
%{_libdir}/ocaml/camlp4/*.cmi
|
||||||
|
%{_libdir}/ocaml/camlp4/*.cma
|
||||||
|
%{_libdir}/ocaml/camlp4/*.cmo
|
||||||
|
%dir %{_libdir}/ocaml/camlp4/Camlp4Filters
|
||||||
|
%{_libdir}/ocaml/camlp4/Camlp4Filters/*.cmi
|
||||||
|
%{_libdir}/ocaml/camlp4/Camlp4Filters/*.cmo
|
||||||
|
%dir %{_libdir}/ocaml/camlp4/Camlp4Parsers
|
||||||
|
%{_libdir}/ocaml/camlp4/Camlp4Parsers/*.cmo
|
||||||
|
%{_libdir}/ocaml/camlp4/Camlp4Parsers/*.cmi
|
||||||
|
%dir %{_libdir}/ocaml/camlp4/Camlp4Printers
|
||||||
|
%{_libdir}/ocaml/camlp4/Camlp4Printers/*.cmi
|
||||||
|
%{_libdir}/ocaml/camlp4/Camlp4Printers/*.cmo
|
||||||
|
%dir %{_libdir}/ocaml/camlp4/Camlp4Top
|
||||||
|
%{_libdir}/ocaml/camlp4/Camlp4Top/*.cmi
|
||||||
|
%{_libdir}/ocaml/camlp4/Camlp4Top/*.cmo
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%doc LICENSE
|
||||||
|
%{_bindir}/camlp4*
|
||||||
|
%{_bindir}/mkcamlp4
|
||||||
|
%{_libdir}/ocaml/camlp4/*.a
|
||||||
|
%{_libdir}/ocaml/camlp4/*.cmxa
|
||||||
|
%{_libdir}/ocaml/camlp4/*.cmx
|
||||||
|
%{_libdir}/ocaml/camlp4/*.o
|
||||||
|
%{_libdir}/ocaml/camlp4/Camlp4Filters/*.cmx
|
||||||
|
%{_libdir}/ocaml/camlp4/Camlp4Filters/*.o
|
||||||
|
%{_libdir}/ocaml/camlp4/Camlp4Parsers/*.cmx
|
||||||
|
%{_libdir}/ocaml/camlp4/Camlp4Parsers/*.o
|
||||||
|
%{_libdir}/ocaml/camlp4/Camlp4Printers/*.cmx
|
||||||
|
%{_libdir}/ocaml/camlp4/Camlp4Printers/*.o
|
||||||
|
%{_libdir}/ocaml/camlp4/Camlp4Top/*.cmx
|
||||||
|
%{_libdir}/ocaml/camlp4/Camlp4Top/*.o
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Nov 26 2020 yangjian<yangjian79@huawei.com> - 4.07.0-0.1.4
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user