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

Annotation of /rpms/camlp5/contribs10/camlp5.spec

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


Revision 1.1 - (hide annotations) (download)
Wed Nov 4 18:58:06 2020 UTC (3 years, 11 months ago) by michel
Branch: MAIN
CVS Tags: camlp5-6_17-11_el7_sme, HEAD
* Wed Nov 04 2020 Michel Begue <mab974@gmail.com> 6.17-11.sme
- first import to sme10

1 michel 1.1 %define name camlp5
2     %define version 6.17
3     %define release 11
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     AutoReqProv: no
18    
19     %description
20     %{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.
21    
22     %changelog
23     * Wed Nov 04 2020 Michel Begue <mab974@gmail.com> 6.17-11.sme
24     - first import to sme10
25    
26     * Wed Oct 02 2019 Mab974 <mab974@gmail.com>
27     - fix Requires smeserver-release
28    
29     * Wed Oct 02 2019 Mab974 <mab974@gmail.com>
30     - initial release v6.17
31     - builds from unchanged .tar.gz
32    
33     %prep
34    
35     %setup -q
36    
37     %build
38     ./configure -mandir "%{_mandir}" \
39     -bindir "%{_bindir}" \
40     -libdir "%{_libdir}/ocaml"
41     ## -cc "%{__cc} %{optflags}" \
42     ## -mandir "%{_mandir}" \
43     ## -prefix "%{_prefix}" \
44     ## -verbose \
45     ## -with-pthread \
46    
47     %{__make} world.opt
48    
49     %install
50     %{__rm} -rf %{buildroot}
51     %{__make} install DESTDIR="%{buildroot}"
52    
53     %clean
54     %{__rm} -rf %{buildroot}
55    
56     %pre
57    
58     %post
59    
60     %preun
61    
62     %postun
63    
64     %files
65     %defattr(-, root, root, 0755)
66     %doc CHANGES DEVEL ICHANGES INSTALL LICENSE MODE README UPGRADING
67     %doc %{_mandir}/man1/*.1.*
68     %{_bindir}/*
69     %{_libdir}/ocaml/

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