summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Alexandre Salim <salimma@fedoraproject.org>2014-02-14 10:15:47 +0700
committerMichel Alexandre Salim <salimma@fedoraproject.org>2014-02-14 10:15:47 +0700
commit93c6036c4e2d83a9dce53b34b7d9634beb7a56a7 (patch)
tree0571a7aa27c3fdbd8a747b3f04c77875290c1457
parent797b54070f41cca0fdcc6dde954f96fe5f6af4b8 (diff)
downloadspecs-93c6036c4e2d83a9dce53b34b7d9634beb7a56a7.tar.gz
specs-93c6036c4e2d83a9dce53b34b7d9634beb7a56a7.tar.xz
specs-93c6036c4e2d83a9dce53b34b7d9634beb7a56a7.zip
cppo: review done
-rw-r--r--ocaml/ocaml-cppo.spec74
1 files changed, 0 insertions, 74 deletions
diff --git a/ocaml/ocaml-cppo.spec b/ocaml/ocaml-cppo.spec
deleted file mode 100644
index 8087520..0000000
--- a/ocaml/ocaml-cppo.spec
+++ /dev/null
@@ -1,74 +0,0 @@
-%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
-%if !%{opt}
-%global debug_package %{nil}
-%endif
-
-Name: ocaml-cppo
-Version: 0.9.3
-Release: 2%{?dist}
-Summary: Equivalent of the C preprocessor for OCaml programs
-
-License: BSD
-URL: http://mjambon.com/cppo.html
-Source0: http://mjambon.com/releases/cppo/cppo-%{version}.tar.gz
-
-ExclusiveArch: %{ocaml_arches}
-
-BuildRequires: ocaml >= 3.10.0
-BuildRequires: ocaml-findlib
-%if !%{opt}
-Requires: ocaml >= 3.10.0
-%endif
-
-%define libname %(sed -e 's/^ocaml-//' <<< %{name})
-
-%description
-Cppo is an equivalent of the C preprocessor targeted at the OCaml
-language and its variants.
-
-The main purpose of cppo is to provide a lightweight tool for simple
-macro substitution (#define) and file inclusion (#include) for the
-occasional case when this is useful in OCaml. Processing specific
-sections of files by calling external programs is also possible via
-#ext directives.
-
-The implementation of cppo relies on the standard library of OCaml and
-on the standard parsing tools Ocamllex and Ocamlyacc, which contribute
-to the robustness of cppo across OCaml versions.
-
-
-%prep
-%setup -q -n %{libname}-%{version}
-sed -i.add-debuginfo \
- 's/ocamlopt/ocamlopt -g/;s/ocamlc \(-[co]\)/ocamlc -g \1/' \
- Makefile
-
-
-%build
-%if %opt
-make %{?_smp_mflags} opt
-%else
-make %{?_smp_mflags} all
-%endif
-
-
-%install
-%{__install} -d $RPM_BUILD_ROOT%{_bindir}
-%{__install} -p cppo $RPM_BUILD_ROOT%{_bindir}/
-
-
-%check
-make test
-
-
-%files
-%doc LICENSE README Changes
-%{_bindir}/cppo
-
-
-%changelog
-* Mon Jan 27 2014 Michel Salim <salimma@fedoraproject.org> - 0.9.3-2
-- Incorporate review feedback
-
-* Mon Jan 20 2014 Michel Salim <salimma@fedoraproject.org> - 0.9.3-1
-- Initial package