Group :: Desenvolvimento/ML
RPM: camlp5
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: camlp5
Version: 5.08
Release: alt1
Summary: preprocessor-pretty-printer of OCaml
License: BSD-style
Group: Development/ML
Url: http://pauillac.inria.fr/~ddr/camlp5/
Packager: Alex V. Myltsev <avm at altlinux.ru>
Source: %name-%version.tar
Source2: META.src
Patch1: camlp5-5.08-alt-dynlink.patch
# Automatically added by buildreq on Wed Apr 09 2008
BuildRequires: ocaml
%description
Camlp5 is a preprocessor-pretty-printer of OCaml.
It is compatible with OCaml versions from 3.08.0 to 3.11 included.
This package is compiled in 'transitional' mode, to simplify
compilation of older packages (e.g. ocamlnet).
%prep
%setup -q
%patch1 -p1
%build
./configure --transitional --mandir %_mandir
%make world.opt
sed -e 's, at NAME at ,%name,' %SOURCE2 > META
%install
%make_install DESTDIR=%buildroot install
install -p -m644 compile/pa_o_fast.cmi %buildroot%_libdir/ocaml/%name/
install -pD -m644 META %buildroot%_libdir/ocaml/site-lib/%name/META
%files
%_bindir/%{name}*
%_bindir/mk%{name}*
%_bindir/ocpp5
%_libdir/ocaml/%name
%_libdir/ocaml/site-lib/%name
%_man1dir/*5*.1*
%changelog
…
Todas as alterações você pod ver aqui
Version: 5.08
Release: alt1
Summary: preprocessor-pretty-printer of OCaml
License: BSD-style
Group: Development/ML
Url: http://pauillac.inria.fr/~ddr/camlp5/
Packager: Alex V. Myltsev <avm at altlinux.ru>
Source: %name-%version.tar
Source2: META.src
Patch1: camlp5-5.08-alt-dynlink.patch
# Automatically added by buildreq on Wed Apr 09 2008
BuildRequires: ocaml
%description
Camlp5 is a preprocessor-pretty-printer of OCaml.
It is compatible with OCaml versions from 3.08.0 to 3.11 included.
This package is compiled in 'transitional' mode, to simplify
compilation of older packages (e.g. ocamlnet).
%prep
%setup -q
%patch1 -p1
%build
./configure --transitional --mandir %_mandir
%make world.opt
sed -e 's, at NAME at ,%name,' %SOURCE2 > META
%install
%make_install DESTDIR=%buildroot install
install -p -m644 compile/pa_o_fast.cmi %buildroot%_libdir/ocaml/%name/
install -pD -m644 META %buildroot%_libdir/ocaml/site-lib/%name/META
%files
%_bindir/%{name}*
%_bindir/mk%{name}*
%_bindir/ocpp5
%_libdir/ocaml/%name
%_libdir/ocaml/site-lib/%name
%_man1dir/*5*.1*
%changelog
…
Todas as alterações você pod ver aqui