- New upstream release 0.3.2 (fixeds rhbz 446916).
This commit is contained in:
parent
af93b005f7
commit
a656d01ed4
@ -1 +1 @@
|
|||||||
ocaml-gettext-0.3.1.tar.gz
|
ocaml-gettext-0.3.2.tar.gz
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
%define debug_package %{nil}
|
%define debug_package %{nil}
|
||||||
|
|
||||||
Name: ocaml-gettext
|
Name: ocaml-gettext
|
||||||
Version: 0.3.1
|
Version: 0.3.2
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: OCaml library for i18n
|
Summary: OCaml library for i18n
|
||||||
|
|
||||||
@ -18,6 +18,7 @@ BuildRequires: ocaml-ocamldoc
|
|||||||
BuildRequires: ocaml-camlp4-devel
|
BuildRequires: ocaml-camlp4-devel
|
||||||
BuildRequires: ocaml-fileutils-devel
|
BuildRequires: ocaml-fileutils-devel
|
||||||
BuildRequires: ocaml-camlidl-devel
|
BuildRequires: ocaml-camlidl-devel
|
||||||
|
BuildRequires: ocaml-ounit-devel
|
||||||
BuildRequires: docbook-style-xsl
|
BuildRequires: docbook-style-xsl
|
||||||
BuildRequires: libxslt
|
BuildRequires: libxslt
|
||||||
BuildRequires: libxml2
|
BuildRequires: libxml2
|
||||||
@ -103,16 +104,23 @@ signature files for developing applications that use
|
|||||||
CFLAGS="$RPM_OPT_FLAGS" \
|
CFLAGS="$RPM_OPT_FLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
--libdir=%{_libdir} \
|
--libdir=%{_libdir} \
|
||||||
--with-docbook-stylesheet=/usr/share/sgml/docbook/xsl-stylesheets
|
--with-docbook-stylesheet=/usr/share/sgml/docbook/xsl-stylesheets \
|
||||||
|
--enable-test
|
||||||
%else
|
%else
|
||||||
CFLAGS="$RPM_OPT_FLAGS" \
|
CFLAGS="$RPM_OPT_FLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
--libdir=%{_libdir} \
|
--libdir=%{_libdir} \
|
||||||
--disable-camomile \
|
--disable-camomile \
|
||||||
--with-docbook-stylesheet=/usr/share/sgml/docbook/xsl-stylesheets
|
--with-docbook-stylesheet=/usr/share/sgml/docbook/xsl-stylesheets \
|
||||||
|
--enable-test
|
||||||
%endif
|
%endif
|
||||||
make
|
make
|
||||||
|
|
||||||
|
%check
|
||||||
|
pushd test
|
||||||
|
../_build/bin/test
|
||||||
|
popd
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -132,8 +140,8 @@ ocamlfind install gettext-stub _build/lib/gettext-stub/*
|
|||||||
%ifnarch ppc64
|
%ifnarch ppc64
|
||||||
ocamlfind install gettext-camomile _build/lib/gettext-camomile/*
|
ocamlfind install gettext-camomile _build/lib/gettext-camomile/*
|
||||||
%endif
|
%endif
|
||||||
install -m 0755 _build/bin/* $RPM_BUILD_ROOT%{_bindir}/
|
install -m 0755 _build/bin/ocaml-gettext $RPM_BUILD_ROOT%{_bindir}/
|
||||||
|
install -m 0755 _build/bin/ocaml-xgettext $RPM_BUILD_ROOT%{_bindir}/
|
||||||
|
|
||||||
strip $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
strip $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
||||||
chrpath --delete $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
chrpath --delete $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
||||||
@ -207,6 +215,15 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 9 2008 Richard W.M. Jones <rjones@redhat.com> - 0.3.2-1
|
||||||
|
- New upstream release 0.3.2 (fixeds rhbz 446916).
|
||||||
|
|
||||||
|
* Tue May 27 2008 Richard W.M. Jones <rjones@redhat.com> - 0.3.1-3
|
||||||
|
- Enable tests, add check section.
|
||||||
|
|
||||||
|
* Tue May 27 2008 Richard W.M. Jones <rjones@redhat.com> - 0.3.1-2
|
||||||
|
- Patch to fix BZ 446916.
|
||||||
|
|
||||||
* Tue May 27 2008 Richard W.M. Jones <rjones@redhat.com> - 0.3.1-1
|
* Tue May 27 2008 Richard W.M. Jones <rjones@redhat.com> - 0.3.1-1
|
||||||
- New upstream version 0.3.1.
|
- New upstream version 0.3.1.
|
||||||
- Extra runtime requirements (BZ 446919).
|
- Extra runtime requirements (BZ 446919).
|
||||||
|
Loading…
Reference in New Issue
Block a user