]> git.pld-linux.org Git - packages/cppo.git/blame - cppo.spec
new, version 0.9.3
[packages/cppo.git] / cppo.spec
CommitLineData
b4bd1ab1
ER
1#
2# Conditional build:
3%bcond_without opt # build opt
4
5%define debug_package %{nil}
6Summary: cpp for OCaml
7Summary(pl.UTF-8): Wiązania cppo dla OCamla
8Name: cppo
9Version: 0.9.3
10Release: 1
11License: BSD
12Group: Applications
13Source0: http://mjambon.com/releases/cppo/%{name}-%{version}.tar.gz
14# Source0-md5: cfea4211ab9a7c1276537ce4fc3669b5
15URL: http://mjambon.com/cppo.html
16BuildRequires: ocaml >= 3.04-7
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20Cppo is an OCaml-friendly implementation of cpp, the C preprocessor.
21It can replace camlp4 for preprocessing OCaml files, using cpp style
22and syntax. It allows defining simple macros and file inclusion.
23
24%description -l pl.UTF-8
25Pakiet ten zawiera binaria potrzebne do uruchamiania programów
26używających tej biblioteki.
27
28%prep
29%setup -q
30
31%build
32%{__make} -j1 all %{?with_opt:opt} \
33 CC="%{__cc} %{rpmcflags} -fPIC"
34
35%install
36rm -rf $RPM_BUILD_ROOT
37install -d $RPM_BUILD_ROOT%{_bindir}
38install -p cppo $RPM_BUILD_ROOT%{_bindir}
39
40%clean
41rm -rf $RPM_BUILD_ROOT
42
43%files
44%defattr(644,root,root,755)
45%doc README Changes LICENSE examples
46%attr(755,root,root) %{_bindir}/cppo
This page took 0.080535 seconds and 4 git commands to generate.