]> git.pld-linux.org Git - SPECS.git/blob - ocaml-mlglade.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / ocaml-mlglade.spec
1 Summary:        Glade to OCaml compiler
2 Summary(pl.UTF-8):      Kompilator Glade do OCamla
3 Name:           ocaml-mlglade
4 Version:        0.9
5 Release:        3
6 License:        LGPL but see LICENSE
7 Group:          Development/Building
8 Vendor:         Benjamin Monate <Benjamin.Monate@lri.fr>
9 URL:            http://www.lix.polytechnique.fr/Labo/Benjamin.Monate/mlglade/
10 Source0:        http://www.lix.polytechnique.fr/Labo/Benjamin.Monate/mlglade/mlglade-%{version}.tgz
11 # Source0-md5:  cec50caaf0a7fbcb332cdd2963816511
12 BuildRequires:  autoconf
13 BuildRequires:  hevea >= 1.06-3
14 BuildRequires:  ocaml >= 3.07
15 # note: it is not required to build, just to use
16 Requires:       ocaml-lablgtk
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Mlglade is a tool to translate a Glade XML file into a set of modules
21 for OCaml.
22
23 %description -l pl.UTF-8
24 Mlglade jest narzędziem do tłumaczenia plików w formacie XML
25 stworzonych przez Glade w zbiór modułów dla OCamla.
26
27 %prep
28 %setup -q -n mlglade
29
30 %build
31 # this doesn't really matter (package makes little use of autoconf)
32 %{__autoconf}
33 %configure
34 sed -e 's/-g//' Makefile > Makefile.tmp
35 mv -f Makefile.tmp Makefile
36 %{__make}
37 %{__make} docs
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41
42 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
43
44 install mlglade.opt $RPM_BUILD_ROOT%{_bindir}/mlglade
45 install mlglade.1 $RPM_BUILD_ROOT%{_mandir}/man1
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc BUGS README CHANGES LICENCE TODO tutorial/*.html tutorial/*.png
53 %attr(755,root,root) %{_bindir}/*
54 %{_mandir}/man1/*
This page took 0.759787 seconds and 3 git commands to generate.