[packages/cppo] new, version 0.9.3

glen glen at pld-linux.org
Sat Nov 23 21:52:08 CET 2013


commit b4bd1ab13da6ab95c3d189b7fd13352ae0432e9a
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Nov 23 22:51:12 2013 +0200

    new, version 0.9.3

 cppo.spec | 46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)
---
diff --git a/cppo.spec b/cppo.spec
new file mode 100644
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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cppo.git/commitdiff/b4bd1ab13da6ab95c3d189b7fd13352ae0432e9a



More information about the pld-cvs-commit mailing list