From ea9599a3c3b758976ea5d178e7881ec08e553310 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 17 Nov 2008 17:07:00 +0000 Subject: [PATCH] Major version leap to the latest, supported, released version. --- .cvsignore | 2 +- ocaml-curses.spec | 43 +++++++++++++++++++------------------------ sources | 2 +- 3 files changed, 21 insertions(+), 26 deletions(-) diff --git a/.cvsignore b/.cvsignore index 908bc0f..1710d09 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -ocaml-curses-20020319.tar.gz +ocaml-curses-1.0.3.tar.gz diff --git a/ocaml-curses.spec b/ocaml-curses.spec index 4c494df..8fd2c18 100644 --- a/ocaml-curses.spec +++ b/ocaml-curses.spec @@ -1,32 +1,29 @@ %define opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0) %define debug_package %{nil} -# Note on versioning: There are no official releases -# of ocaml-tmk project, nor any version numbers, so I -# have arbitrarily named this version 0.1 and as per -# http://fedoraproject.org/wiki/Packaging/NamingGuidelines#NonNumericRelease -# included an alphatag of the last CVS change upstream. -%define alphatag 20020319 - Name: ocaml-curses -Version: 0.1 -Release: 8.%{alphatag}%{?dist} +Version: 1.0.3 +Release: 1%{?dist} Summary: OCaml bindings for ncurses Group: Development/Libraries License: LGPLv2+ URL: http://savannah.nongnu.org/projects/ocaml-tmk/ -Source0: ocaml-curses-%{alphatag}.tar.gz +Source0: http://download.savannah.gnu.org/releases/ocaml-tmk/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: ocaml >= 3.10.1 +BuildRequires: ocaml >= 3.10.2 BuildRequires: ocaml-findlib-devel, ncurses-devel BuildRequires: gawk +# Doesn't include a configure script, so we have to make one. +BuildRequires: autoconf, automake, libtool + %define _use_internal_dependency_generator 0 %define __find_requires /usr/lib/rpm/ocaml-find-requires.sh %define __find_provides /usr/lib/rpm/ocaml-find-provides.sh + %description OCaml bindings for ncurses. @@ -43,29 +40,24 @@ developing applications that use %{name}. %prep -%setup -q -c -n ocaml-curses-%{alphatag} +%setup -q + +autoreconf %build -cd curses -make all -strip dllmlcurses.so -cat > META < - 1.0.3-1 +- Major version leap to the latest, supported, released version. + * Wed Apr 23 2008 Richard W.M. Jones - 0.1-8 - Rebuild for OCaml 3.10.2 diff --git a/sources b/sources index a2a96af..c7cf28c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -74b28875f818e285e57c4a1d0c1eca46 ocaml-curses-20020319.tar.gz +3c11b46b7c057f8fd110ace319589877 ocaml-curses-1.0.3.tar.gz