]> git.pld-linux.org Git - packages/cppo.git/commitdiff
new, version 0.9.3 auto/th/cppo-0.9.3-1
authorElan Ruusamäe <glen@delfi.ee>
Sat, 23 Nov 2013 20:51:12 +0000 (22:51 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Sat, 23 Nov 2013 20:51:12 +0000 (22:51 +0200)
cppo.spec [new file with mode: 0644]

diff --git a/cppo.spec b/cppo.spec
new file mode 100644 (file)
index 0000000..26f06fe
--- /dev/null
+++ b/cppo.spec
@@ -0,0 +1,46 @@
+#
+# Conditional build:
+%bcond_without opt             # build opt
+
+%define                debug_package   %{nil}
+Summary:       cpp for OCaml
+Summary(pl.UTF-8):     Wiązania cppo dla OCamla
+Name:          cppo
+Version:       0.9.3
+Release:       1
+License:       BSD
+Group:         Applications
+Source0:       http://mjambon.com/releases/cppo/%{name}-%{version}.tar.gz
+# Source0-md5: cfea4211ab9a7c1276537ce4fc3669b5
+URL:           http://mjambon.com/cppo.html
+BuildRequires: ocaml >= 3.04-7
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Cppo is an OCaml-friendly implementation of cpp, the C preprocessor.
+It can replace camlp4 for preprocessing OCaml files, using cpp style
+and syntax. It allows defining simple macros and file inclusion.
+
+%description -l pl.UTF-8
+Pakiet ten zawiera binaria potrzebne do uruchamiania programów
+używających tej biblioteki.
+
+%prep
+%setup -q
+
+%build
+%{__make} -j1 all %{?with_opt:opt} \
+       CC="%{__cc} %{rpmcflags} -fPIC"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+install -p cppo $RPM_BUILD_ROOT%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README Changes LICENSE examples
+%attr(755,root,root) %{_bindir}/cppo
This page took 0.050741 seconds and 4 git commands to generate.