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

Annotation of /rpms/camlp5/contribs9/camlp5.spec

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


Revision 1.2 - (hide annotations) (download)
Thu Sep 26 19:15:58 2019 UTC (5 years, 1 month ago) by michel
Branch: MAIN
CVS Tags: camlp5-6_17-1_el6_sme
Changes since 1.1: +1 -1 lines
* Fri Apr 05 2019 Mab974 <mab974@gmail.com>
- update to v6.17
- builds from unchanged .tar.gz

1 michel 1.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     * Fri Apr 05 2019 Mab974 <mab974@gmail.com>
25     - update to v6.17
26     - builds from unchanged .tar.gz
27    
28 michel 1.2 * Fri Dec 19 2014 Mab974 <mab974@gmail.com>
29 michel 1.1 - initial release
30     - builds from unchanged .tar.gz
31    
32     %prep
33    
34     %setup -q
35    
36     %build
37     ./configure -mandir "%{_mandir}" \
38     -bindir "%{_bindir}" \
39     -libdir "%{_libdir}/ocaml"
40     ## -cc "%{__cc} %{optflags}" \
41     ## -mandir "%{_mandir}" \
42     ## -prefix "%{_prefix}" \
43     ## -verbose \
44     ## -with-pthread \
45    
46     %{__make} world.opt
47    
48     %install
49     %{__rm} -rf %{buildroot}
50     %{__make} install DESTDIR="%{buildroot}"
51    
52     %clean
53     %{__rm} -rf %{buildroot}
54    
55     %pre
56    
57     %post
58    
59     %preun
60    
61     %postun
62    
63     %files
64     %defattr(-, root, root, 0755)
65     %doc CHANGES DEVEL ICHANGES INSTALL LICENSE MODE README UPGRADING
66     %doc %{_mandir}/man1/*.1.*
67     %{_bindir}/*
68     %{_libdir}/ocaml/

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