Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
ocaml-camlp4
ocaml-camlp4.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ocaml-camlp4.spec of Package ocaml-camlp4
# # spec file for package ocaml-camlp4 # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Version: 4.02.1 %{ocaml_preserve_bytecode} Name: ocaml-camlp4 Release: 0 Summary: Pre-Processor-Pretty-Printer for Objective Caml License: SUSE-LGPL-2.0-with-linking-exception Group: Development/Languages/Other Url: https://github.com/ocaml/camlp4 Source: camlp4-%{version}-1.tar.xz Patch0: camlp4.DESTDIR.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ocaml >= 4.02.0 BuildRequires: ocaml-rpm-macros >= 4.02.1 Conflicts: ocaml < 4.02.0 Requires: ocaml-runtime >= 4.02.0 %if %suse_version < 1210 # Due to lack of generated requires in old rpm, force this BuildRequires: ocaml-compiler-libs Requires: ocaml-compiler-libs %endif %description Camlp4 is a Pre-Processor-Pretty-Printer for Objective Caml, parsing a source file and printing some result on standard output. This package contains the runtime files. %package devel Summary: Pre-Processor-Pretty-Printer for Objective Caml Group: Development/Languages/Other Requires: %{name} = %{version} Requires: ocaml >= 4.02.0 Provides: camlp4 = %{version} Obsoletes: camlp4 < %{version} %description devel Camlp4 is a Pre-Processor-Pretty-Printer for Objective Caml, parsing a source file and printing some result on standard output. This package contains the development files. %prep %setup -q -n camlp4-%{version}-1 %patch0 -p1 %build # For ppc64 we need a larger stack than default to compile some files # because the stages in the OCaml compiler are not mutually tail # recursive. %ifarch ppc64 ppc64le ulimit -a ulimit -Hs 65536 ulimit -Ss 65536 %endif ./configure make \ %{?_smp_mflags} \ byte %if %{ocaml_native_compiler} make \ %{?_smp_mflags} \ native %endif %install make install DESTDIR=%{buildroot} %{?_smp_mflags} %files %defattr(-,root,root) %doc LICENSE README.md %dir %{_libdir}/ocaml/camlp4 %dir %{_libdir}/ocaml/camlp4/Camlp4Filters %dir %{_libdir}/ocaml/camlp4/Camlp4Parsers %dir %{_libdir}/ocaml/camlp4/Camlp4Printers %dir %{_libdir}/ocaml/camlp4/Camlp4Top %{_libdir}/ocaml/camlp4/*.cma %{_libdir}/ocaml/camlp4/*.cmi %{_libdir}/ocaml/camlp4/*.cmo %{_libdir}/ocaml/camlp4/Camlp4Filters/*.cmi %{_libdir}/ocaml/camlp4/Camlp4Filters/*.cmo %{_libdir}/ocaml/camlp4/Camlp4Parsers/*.cmi %{_libdir}/ocaml/camlp4/Camlp4Parsers/*.cmo %{_libdir}/ocaml/camlp4/Camlp4Printers/*.cmi %{_libdir}/ocaml/camlp4/Camlp4Printers/*.cmo %{_libdir}/ocaml/camlp4/Camlp4Top/*.cmi %{_libdir}/ocaml/camlp4/Camlp4Top/*.cmo %files devel %defattr(-,root,root) %{_bindir}/camlp4* %{_bindir}/mkcamlp4 %if %{ocaml_native_compiler} %dir %{_libdir}/ocaml/camlp4 %{_libdir}/ocaml/camlp4/*.a %{_libdir}/ocaml/camlp4/*.cmx %{_libdir}/ocaml/camlp4/*.cmxa %{_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 %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor