rpms/lablgtk/devel lablgtk.spec,1.9,1.10

Gérard Milmeister (gemi) fedora-extras-commits at redhat.com
Sat Sep 10 19:27:25 UTC 2005


Author: gemi

Update of /cvs/extras/rpms/lablgtk/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19617

Modified Files:
	lablgtk.spec 
Log Message:
include META file


Index: lablgtk.spec
===================================================================
RCS file: /cvs/extras/rpms/lablgtk/devel/lablgtk.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- lablgtk.spec	26 May 2005 18:38:34 -0000	1.9
+++ lablgtk.spec	10 Sep 2005 19:27:23 -0000	1.10
@@ -1,6 +1,6 @@
 Name:           lablgtk
 Version:        2.4.0
-Release: 5
+Release:	6%{?dist}
 
 Summary:        Objective Caml interface to gtk+
 
@@ -8,7 +8,7 @@
 License:        LGPL
 URL:            http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html
 Source:         http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/lablgtk-2.4.0.tar.gz
-Patch0: lablgtk-gcc4.patch
+Patch0:		lablgtk-gcc4.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires:       ocaml >= 3.08
 %{?_with_gl:Requires: lablgl >= 1.00}
@@ -33,6 +33,8 @@
 %prep
 %setup -q
 %patch0 -p1 -b .gcc4
+# version information in META file is wrong
+perl -pi -e 's|version="1.3.1"|version="2.4.0"|' META
 
 %build
 %configure %{?_with_gl: --with-gl} %{!?_with_gl: --without-gl} --enable-debug
@@ -41,9 +43,16 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT%{_bindir} $RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_libdir}/ocaml/lablgtk2 $RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs
-make install BINDIR=$RPM_BUILD_ROOT%{_bindir} LIBDIR=$RPM_BUILD_ROOT%{_libdir} INSTALLDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml/lablgtk2 DLLDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs
-
+mkdir -p $RPM_BUILD_ROOT%{_bindir} \
+      $RPM_BUILD_ROOT%{_libdir} \
+      $RPM_BUILD_ROOT%{_libdir}/ocaml/lablgtk2 \
+      $RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs
+make install \
+     BINDIR=$RPM_BUILD_ROOT%{_bindir} \
+     LIBDIR=$RPM_BUILD_ROOT%{_libdir} \
+     INSTALLDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml/lablgtk2 \
+     DLLDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs
+cp META $RPM_BUILD_ROOT%{_libdir}/ocaml/lablgtk2
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -61,6 +70,9 @@
 %doc examples
 
 %changelog
+* Sat Sep 10 2005 Gerard Milmeister <gemi at bluewin.ch> - 2.4.0-6
+- include META file
+
 * Sun May 22 2005 Toshio Kuratomi <toshio-iki-lounge.com> - 2.4.0-5
 - Removed gnome-1.x BuildRequires
 - Removed BuildRequires not explicitly mentioned in the configure script




More information about the fedora-extras-commits mailing list