1 Summary: Glade to OCaml compiler
2 Summary(pl.UTF-8): Kompilator Glade do OCamla
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)
20 Mlglade is a tool to translate a Glade XML file into a set of modules
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.
31 # this doesn't really matter (package makes little use of autoconf)
34 sed -e 's/-g//' Makefile > Makefile.tmp
35 mv -f Makefile.tmp Makefile
40 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
44 install mlglade.opt $RPM_BUILD_ROOT%{_bindir}/mlglade
45 install mlglade.1 $RPM_BUILD_ROOT%{_mandir}/man1
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
52 %doc BUGS README CHANGES LICENCE TODO tutorial/*.html tutorial/*.png
53 %attr(755,root,root) %{_bindir}/*