Group :: Desenvolvimento/ML
RPM: pcre-ocaml
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: pcre-ocaml
Version: 5.14.0
Release: alt2
Packager: Grigory Batalov <bga at altlinux.ru>
Summary: Perl compatibility regular expressions (PCRE) for OCaml
License: LGPL
Group: Development/ML
Url: http://www.ocaml.info/home/ocaml_sources.html#toc13
Source: http://www.ocaml.info/ocaml_sources/pcre-ocaml-%version.tar.bz2
Requires: %name-runtime = %version-%release
# Automatically added by buildreq on Thu Apr 10 2008
BuildRequires: libpcre-devel ocaml
# for install
BuildRequires: /usr/bin/ocamlfind-mini
%package runtime
Summary: Perl compatibility regular expressions (PCRE) for OCaml
Group: Development/ML
%description
This OCaml-library interfaces the PCRE (Perl-compatibility regular
expressions) library which is written in C. it can be used for matching
regular expressions which are written in "PERL"-style.
%description runtime
This OCaml-library interfaces the PCRE (Perl-compatibility regular
expressions) library which is written in C. it can be used for matching
regular expressions which are written in "PERL"-style.
%prep
%setup -q
%build
%make_build NO_CUSTOM=1 INCDIRS=%_includedir/pcre
%install
mkdir -p %buildroot%_libdir/ocaml/{site-lib,stublibs}
%makeinstall OCAMLFIND=ocamlfind-mini \
OCAMLFIND_INSTFLAGS="-destdir %buildroot%_libdir/ocaml/site-lib/"
mv %buildroot%_libdir/ocaml/site-lib/pcre/dll*.so %buildroot%_libdir/ocaml/stublibs/
%files
%doc README Changes LICENSE examples
%dir %_libdir/ocaml/site-lib/pcre
%_libdir/ocaml/site-lib/pcre/META
%_libdir/ocaml/site-lib/pcre/*.cm*
%_libdir/ocaml/site-lib/pcre/*.ml*
%_libdir/ocaml/site-lib/pcre/*.a
%files runtime
%_libdir/ocaml/stublibs/dll*.so
%changelog
…
Todas as alterações você pod ver aqui
Version: 5.14.0
Release: alt2
Packager: Grigory Batalov <bga at altlinux.ru>
Summary: Perl compatibility regular expressions (PCRE) for OCaml
License: LGPL
Group: Development/ML
Url: http://www.ocaml.info/home/ocaml_sources.html#toc13
Source: http://www.ocaml.info/ocaml_sources/pcre-ocaml-%version.tar.bz2
Requires: %name-runtime = %version-%release
# Automatically added by buildreq on Thu Apr 10 2008
BuildRequires: libpcre-devel ocaml
# for install
BuildRequires: /usr/bin/ocamlfind-mini
%package runtime
Summary: Perl compatibility regular expressions (PCRE) for OCaml
Group: Development/ML
%description
This OCaml-library interfaces the PCRE (Perl-compatibility regular
expressions) library which is written in C. it can be used for matching
regular expressions which are written in "PERL"-style.
%description runtime
This OCaml-library interfaces the PCRE (Perl-compatibility regular
expressions) library which is written in C. it can be used for matching
regular expressions which are written in "PERL"-style.
%prep
%setup -q
%build
%make_build NO_CUSTOM=1 INCDIRS=%_includedir/pcre
%install
mkdir -p %buildroot%_libdir/ocaml/{site-lib,stublibs}
%makeinstall OCAMLFIND=ocamlfind-mini \
OCAMLFIND_INSTFLAGS="-destdir %buildroot%_libdir/ocaml/site-lib/"
mv %buildroot%_libdir/ocaml/site-lib/pcre/dll*.so %buildroot%_libdir/ocaml/stublibs/
%files
%doc README Changes LICENSE examples
%dir %_libdir/ocaml/site-lib/pcre
%_libdir/ocaml/site-lib/pcre/META
%_libdir/ocaml/site-lib/pcre/*.cm*
%_libdir/ocaml/site-lib/pcre/*.ml*
%_libdir/ocaml/site-lib/pcre/*.a
%files runtime
%_libdir/ocaml/stublibs/dll*.so
%changelog
…
Todas as alterações você pod ver aqui