- New upstream version 3.10.2 for Fedora 10.
- Cleaned up several rpmlint errors & warnings.
This commit is contained in:
parent
7d100cea38
commit
fdf6a5a93a
@ -1,4 +1,4 @@
|
|||||||
ocaml-3.10-refman.html.tar.gz
|
ocaml-3.10-refman.html.tar.gz
|
||||||
ocaml-3.10-refman.info.tar.gz
|
ocaml-3.10-refman.info.tar.gz
|
||||||
ocaml-3.10-refman.pdf
|
ocaml-3.10-refman.pdf
|
||||||
ocaml-3.10.1.tar.bz2
|
ocaml-3.10.2.tar.bz2
|
||||||
|
117
ocaml.spec
117
ocaml.spec
@ -1,28 +1,28 @@
|
|||||||
Name: ocaml
|
Name: ocaml
|
||||||
Version: 3.10.1
|
Version: 3.10.2
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
|
|
||||||
Summary: Objective Caml compiler and programming environment
|
Summary: Objective Caml compiler and programming environment
|
||||||
|
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
License: QPL/LGPL
|
License: QPL and (LGPLv2+ with exceptions)
|
||||||
URL: http://www.ocaml.org
|
URL: http://www.ocaml.org
|
||||||
Source0: http://caml.inria.fr/distrib/ocaml-3.10/ocaml-3.10.1.tar.bz2
|
Source0: http://caml.inria.fr/distrib/ocaml-3.10/ocaml-%{version}.tar.bz2
|
||||||
Source1: http://caml.inria.fr/distrib/ocaml-3.10/ocaml-3.10-refman.html.tar.gz
|
Source1: http://caml.inria.fr/distrib/ocaml-3.10/ocaml-3.10-refman.html.tar.gz
|
||||||
Source2: http://caml.inria.fr/distrib/ocaml-3.10/ocaml-3.10-refman.pdf
|
Source2: http://caml.inria.fr/distrib/ocaml-3.10/ocaml-3.10-refman.pdf
|
||||||
Source3: http://caml.inria.fr/distrib/ocaml-3.10/ocaml-3.10-refman.info.tar.gz
|
Source3: http://caml.inria.fr/distrib/ocaml-3.10/ocaml-3.10-refman.info.tar.gz
|
||||||
Source4: ocaml-find-requires.sh
|
Source4: ocaml-find-requires.sh
|
||||||
Source5: ocaml-find-provides.sh
|
Source5: ocaml-find-provides.sh
|
||||||
Patch0: ocaml-rpath.patch
|
Patch0: ocaml-rpath.patch
|
||||||
Patch1: ocaml-user-cflags.patch
|
Patch1: ocaml-user-cflags.patch
|
||||||
Patch2: ocaml-3.10.0-tclver.patch
|
Patch2: ocaml-3.10.0-tclver.patch
|
||||||
Patch3: ocaml-3.10.1-ppc64.patch
|
Patch3: ocaml-3.10.1-ppc64.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: gdbm-devel
|
BuildRequires: gdbm-devel
|
||||||
BuildRequires: tcl-devel
|
BuildRequires: tcl-devel
|
||||||
BuildRequires: tk-devel
|
BuildRequires: tk-devel
|
||||||
BuildRequires: emacs
|
BuildRequires: emacs
|
||||||
BuildRequires: gawk
|
BuildRequires: gawk
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: util-linux-ng
|
BuildRequires: util-linux-ng
|
||||||
@ -41,9 +41,13 @@ BuildRequires: chrpath
|
|||||||
Requires: gcc
|
Requires: gcc
|
||||||
Requires: ncurses-devel
|
Requires: ncurses-devel
|
||||||
Requires: gdbm-devel
|
Requires: gdbm-devel
|
||||||
Provides: ocaml(compiler) = %{version}
|
Provides: ocaml(compiler) = %{version}
|
||||||
ExclusiveArch: alpha armv4l %{ix86} ia64 x86_64 ppc sparc ppc64
|
ExclusiveArch: alpha armv4l %{ix86} ia64 x86_64 ppc sparc ppc64
|
||||||
|
|
||||||
|
%define _use_internal_dependency_generator 0
|
||||||
|
%define __find_requires %{SOURCE4} -i Asttypes -i Outcometree -i Cmo_format -i Parsetree -c -f %{buildroot}%{_bindir}/ocamlobjinfo
|
||||||
|
%define __find_provides %{SOURCE5} -f %{buildroot}%{_bindir}/ocamlobjinfo
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Objective Caml is a high-level, strongly-typed, functional and
|
Objective Caml is a high-level, strongly-typed, functional and
|
||||||
object-oriented programming language from the ML family of languages.
|
object-oriented programming language from the ML family of languages.
|
||||||
@ -58,7 +62,7 @@ and a comprehensive library.
|
|||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Summary: Objective Caml runtime environment
|
Summary: Objective Caml runtime environment
|
||||||
Requires: util-linux-ng
|
Requires: util-linux-ng
|
||||||
Provides: ocaml(runtime) = %{version}
|
Provides: ocaml(runtime) = %{version}
|
||||||
|
|
||||||
%description runtime
|
%description runtime
|
||||||
Objective Caml is a high-level, strongly-typed, functional and
|
Objective Caml is a high-level, strongly-typed, functional and
|
||||||
@ -88,9 +92,9 @@ X11 support for Objective Caml.
|
|||||||
|
|
||||||
|
|
||||||
%package labltk
|
%package labltk
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Summary: Tk bindings for Objective Caml
|
Summary: Tk bindings for Objective Caml
|
||||||
Requires: ocaml-runtime = %{version}-%{release}
|
Requires: ocaml-runtime = %{version}-%{release}
|
||||||
Provides: labltk = %{version}-%{release}
|
Provides: labltk = %{version}-%{release}
|
||||||
Obsoletes: labltk < %{version}-%{release}
|
Obsoletes: labltk < %{version}-%{release}
|
||||||
|
|
||||||
@ -102,9 +106,9 @@ This package contains the runtime files.
|
|||||||
|
|
||||||
|
|
||||||
%package labltk-devel
|
%package labltk-devel
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Summary: Development files for labltk
|
Summary: Development files for labltk
|
||||||
Requires: ocaml = %{version}-%{release}
|
Requires: ocaml = %{version}-%{release}
|
||||||
Requires: %{name}-labltk = %{version}-%{release}
|
Requires: %{name}-labltk = %{version}-%{release}
|
||||||
Requires: libX11-devel
|
Requires: libX11-devel
|
||||||
Provides: labltk = %{version}-%{release}
|
Provides: labltk = %{version}-%{release}
|
||||||
@ -119,9 +123,9 @@ browser for code editing and library browsing.
|
|||||||
|
|
||||||
|
|
||||||
%package camlp4
|
%package camlp4
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
Summary: Pre-Processor-Pretty-Printer for Objective Caml
|
Summary: Pre-Processor-Pretty-Printer for Objective Caml
|
||||||
Requires: ocaml-runtime = %{version}-%{release}
|
Requires: ocaml-runtime = %{version}-%{release}
|
||||||
Provides: camlp4 = %{version}-%{release}
|
Provides: camlp4 = %{version}-%{release}
|
||||||
Obsoletes: camlp4 < %{version}-%{release}
|
Obsoletes: camlp4 < %{version}-%{release}
|
||||||
|
|
||||||
@ -133,9 +137,9 @@ This package contains the runtime files.
|
|||||||
|
|
||||||
|
|
||||||
%package camlp4-devel
|
%package camlp4-devel
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
Summary: Pre-Processor-Pretty-Printer for Objective Caml
|
Summary: Pre-Processor-Pretty-Printer for Objective Caml
|
||||||
Requires: ocaml = %{version}-%{release}
|
Requires: ocaml = %{version}-%{release}
|
||||||
Requires: %{name}-camlp4 = %{version}-%{release}
|
Requires: %{name}-camlp4 = %{version}-%{release}
|
||||||
Provides: camlp4 = %{version}-%{release}
|
Provides: camlp4 = %{version}-%{release}
|
||||||
Obsoletes: camlp4 < %{version}-%{release}
|
Obsoletes: camlp4 < %{version}-%{release}
|
||||||
@ -148,29 +152,29 @@ This package contains the development files.
|
|||||||
|
|
||||||
|
|
||||||
%package ocamldoc
|
%package ocamldoc
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
Summary: Documentation generator for Objective Caml.
|
Summary: Documentation generator for Objective Caml.
|
||||||
Requires: ocaml = %{version}-%{release}
|
Requires: ocaml = %{version}-%{release}
|
||||||
|
|
||||||
%description ocamldoc
|
%description ocamldoc
|
||||||
Documentation generator for Objective Caml.
|
Documentation generator for Objective Caml.
|
||||||
|
|
||||||
|
|
||||||
%package emacs
|
%package emacs
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
Summary: Emacs mode for Objective Caml
|
Summary: Emacs mode for Objective Caml
|
||||||
Requires: ocaml = %{version}-%{release}
|
Requires: ocaml = %{version}-%{release}
|
||||||
Requires: emacs
|
Requires: emacs
|
||||||
|
|
||||||
%description emacs
|
%description emacs
|
||||||
Emacs mode for Objective Caml.
|
Emacs mode for Objective Caml.
|
||||||
|
|
||||||
|
|
||||||
%package docs
|
%package docs
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
Summary: Documentation for Objective Caml
|
Summary: Documentation for Objective Caml
|
||||||
Requires: ocaml = %{version}-%{release}
|
Requires: ocaml = %{version}-%{release}
|
||||||
Requires(post): /sbin/install-info
|
Requires(post): /sbin/install-info
|
||||||
Requires(preun): /sbin/install-info
|
Requires(preun): /sbin/install-info
|
||||||
|
|
||||||
|
|
||||||
@ -193,9 +197,6 @@ man pages and info files.
|
|||||||
|
|
||||||
cp %{SOURCE2} refman.pdf
|
cp %{SOURCE2} refman.pdf
|
||||||
|
|
||||||
%define _use_internal_dependency_generator 0
|
|
||||||
%define __find_requires %{SOURCE4} -i Asttypes -i Outcometree -i Cmo_format -i Parsetree -c -f %{buildroot}%{_bindir}/ocamlobjinfo
|
|
||||||
%define __find_provides %{SOURCE5} -f %{buildroot}%{_bindir}/ocamlobjinfo
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="$RPM_OPT_FLAGS" ./configure \
|
CFLAGS="$RPM_OPT_FLAGS" ./configure \
|
||||||
@ -223,8 +224,8 @@ perl -pi -e "s|^$RPM_BUILD_ROOT||" $RPM_BUILD_ROOT%{_libdir}/ocaml/ld.conf
|
|||||||
# install emacs files
|
# install emacs files
|
||||||
cd emacs;
|
cd emacs;
|
||||||
make install \
|
make install \
|
||||||
BINDIR=$RPM_BUILD_ROOT%{_bindir} \
|
BINDIR=$RPM_BUILD_ROOT%{_bindir} \
|
||||||
EMACSDIR=$RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp
|
EMACSDIR=$RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp
|
||||||
make install-ocamltags BINDIR=$RPM_BUILD_ROOT%{_bindir}
|
make install-ocamltags BINDIR=$RPM_BUILD_ROOT%{_bindir}
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -238,8 +239,8 @@ cp tools/objinfo $RPM_BUILD_ROOT%{_bindir}/ocamlobjinfo
|
|||||||
|
|
||||||
# install rpmbuild helper files
|
# install rpmbuild helper files
|
||||||
mkdir -p $RPM_BUILD_ROOT/usr/lib/rpm/
|
mkdir -p $RPM_BUILD_ROOT/usr/lib/rpm/
|
||||||
cp %{SOURCE4} $RPM_BUILD_ROOT/usr/lib/rpm/
|
install -m 0755 %{SOURCE4} $RPM_BUILD_ROOT/usr/lib/rpm/
|
||||||
cp %{SOURCE5} $RPM_BUILD_ROOT/usr/lib/rpm/
|
install -m 0755 %{SOURCE5} $RPM_BUILD_ROOT/usr/lib/rpm/
|
||||||
|
|
||||||
echo %{version} > $RPM_BUILD_ROOT%{_libdir}/ocaml/fedora-ocaml-release
|
echo %{version} > $RPM_BUILD_ROOT%{_libdir}/ocaml/fedora-ocaml-release
|
||||||
|
|
||||||
@ -253,7 +254,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%post docs
|
%post docs
|
||||||
/sbin/install-info \
|
/sbin/install-info \
|
||||||
--entry "* ocaml: (ocaml). The Objective Caml compiler and programming environment" \
|
--entry "* ocaml: (ocaml). The Objective Caml compiler and programming environment" \
|
||||||
--section "Programming Languages" \
|
--section "Programming Languages" \
|
||||||
%{_infodir}/%{name}.info \
|
%{_infodir}/%{name}.info \
|
||||||
%{_infodir}/dir 2>/dev/null || :
|
%{_infodir}/dir 2>/dev/null || :
|
||||||
@ -324,7 +325,7 @@ fi
|
|||||||
%{_libdir}/ocaml/threads/*.cmi
|
%{_libdir}/ocaml/threads/*.cmi
|
||||||
%{_libdir}/ocaml/threads/*.cma
|
%{_libdir}/ocaml/threads/*.cma
|
||||||
%{_libdir}/ocaml/fedora-ocaml-release
|
%{_libdir}/ocaml/fedora-ocaml-release
|
||||||
%{_prefix}/lib/rpm/*
|
%attr(755,root,root) %{_prefix}/lib/rpm/*
|
||||||
%exclude %{_libdir}/ocaml/graphicsX11.cmi
|
%exclude %{_libdir}/ocaml/graphicsX11.cmi
|
||||||
%exclude %{_libdir}/ocaml/stublibs/dllgraphics.so
|
%exclude %{_libdir}/ocaml/stublibs/dllgraphics.so
|
||||||
%exclude %{_libdir}/ocaml/stublibs/dlllabltk.so
|
%exclude %{_libdir}/ocaml/stublibs/dlllabltk.so
|
||||||
@ -431,6 +432,10 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 21 2008 Richard W.M. Jones <rjones@redhat.com> - 3.10.2-1
|
||||||
|
- New upstream version 3.10.2 for Fedora 10.
|
||||||
|
- Cleaned up several rpmlint errors & warnings.
|
||||||
|
|
||||||
* Fri Feb 29 2008 David Woodhouse <dwmw2@infradead.org> - 3.10.1-2
|
* Fri Feb 29 2008 David Woodhouse <dwmw2@infradead.org> - 3.10.1-2
|
||||||
- ppc64 port
|
- ppc64 port
|
||||||
|
|
||||||
@ -517,7 +522,7 @@ fi
|
|||||||
- New Version 3.08.2
|
- New Version 3.08.2
|
||||||
|
|
||||||
* Thu Dec 30 2004 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 0:3.07-6
|
* Thu Dec 30 2004 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 0:3.07-6
|
||||||
- add -x11lib %%{_prefix}/X11R6/%%{_lib} to configure; fixes labltk build
|
- add -x11lib _prefix/X11R6/_lib to configure; fixes labltk build
|
||||||
on x86_64
|
on x86_64
|
||||||
|
|
||||||
* Tue Dec 2 2003 Gerard Milmeister <gemi@bluewin.ch> - 0:3.07-0.fdr.5
|
* Tue Dec 2 2003 Gerard Milmeister <gemi@bluewin.ch> - 0:3.07-0.fdr.5
|
||||||
@ -543,4 +548,4 @@ fi
|
|||||||
- Rebuilt for Red Hat 9.
|
- Rebuilt for Red Hat 9.
|
||||||
|
|
||||||
* Tue Nov 26 2002 Axel Thimm <Axel.Thimm@physik.fu-berlin.de>
|
* Tue Nov 26 2002 Axel Thimm <Axel.Thimm@physik.fu-berlin.de>
|
||||||
- Added %{_mandir}/mano/* entry
|
- Added _mandir/mano/* entry
|
||||||
|
2
sources
2
sources
@ -1,4 +1,4 @@
|
|||||||
663b31c8ea364a531aa325a5b06a2763 ocaml-3.10-refman.html.tar.gz
|
663b31c8ea364a531aa325a5b06a2763 ocaml-3.10-refman.html.tar.gz
|
||||||
f80b52b8bc4b10ed557808fc899acf3a ocaml-3.10-refman.info.tar.gz
|
f80b52b8bc4b10ed557808fc899acf3a ocaml-3.10-refman.info.tar.gz
|
||||||
c3e00bc2c4aad3f538b4bcefade98908 ocaml-3.10-refman.pdf
|
c3e00bc2c4aad3f538b4bcefade98908 ocaml-3.10-refman.pdf
|
||||||
15a8c603b34d466329881285438349ef ocaml-3.10.1.tar.bz2
|
d86f8f8aa4574fa60dd6f89044580307 ocaml-3.10.2.tar.bz2
|
||||||
|
Loading…
Reference in New Issue
Block a user