/[smecontribs]/rpms/camlp5/contribs9/camlp5.spec
ViewVC logotype

Contents of /rpms/camlp5/contribs9/camlp5.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download)
Wed Oct 2 17:29:37 2019 UTC (5 years, 2 months ago) by michel
Branch: MAIN
Changes since 1.2: +2 -6 lines
* Wed Oct 02 2019 Mab974 <mab974@gmail.com>
- initial release v6.17
- builds from unchanged .tar.gz

1 %define name camlp5
2 %define version 6.17
3 %define release 1
4 Summary: Camlp5 is a Pre-Processor-Pretty-Printer for OCaml.
5 Name: %{name}
6 Version: %{version}
7 Release: %{release}%{?dist}
8 Distribution: SME Server
9 License: GNU GPL version 2
10 Group: SME Server/addon
11 Source: %{name}-%{version}.tar.gz
12 URL: http://ocaml.org
13 Packager: Michel Begue <mab974@gmail.com>
14 BuildRoot: %RPM_BUILD_ROOT
15 BuildRequires: e-smith-devtools
16 BuildRequires: ocaml = 3.12.1
17 Requires: smeserver-release >= 9.0
18 AutoReqProv: no
19
20 %description
21 %{name} is a Pre-Processor-Pretty-Printer for OCaml. It offers syntactic tools (parsers, extensible grammars), the ability to extend the concrete syntax of OCaml (quotations, syntax extensions), and to redefine it from scratch. This is an advanced tool and should not be used by those new to OCaml.
22
23 %changelog
24 * Wed Oct 02 2019 Mab974 <mab974@gmail.com>
25 - initial release v6.17
26 - builds from unchanged .tar.gz
27
28 %prep
29
30 %setup -q
31
32 %build
33 ./configure -mandir "%{_mandir}" \
34 -bindir "%{_bindir}" \
35 -libdir "%{_libdir}/ocaml"
36 ## -cc "%{__cc} %{optflags}" \
37 ## -mandir "%{_mandir}" \
38 ## -prefix "%{_prefix}" \
39 ## -verbose \
40 ## -with-pthread \
41
42 %{__make} world.opt
43
44 %install
45 %{__rm} -rf %{buildroot}
46 %{__make} install DESTDIR="%{buildroot}"
47
48 %clean
49 %{__rm} -rf %{buildroot}
50
51 %pre
52
53 %post
54
55 %preun
56
57 %postun
58
59 %files
60 %defattr(-, root, root, 0755)
61 %doc CHANGES DEVEL ICHANGES INSTALL LICENSE MODE README UPGRADING
62 %doc %{_mandir}/man1/*.1.*
63 %{_bindir}/*
64 %{_libdir}/ocaml/

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed