SPECS: ocaml-equeue.spec - up to 2.1.4

arekm arekm at pld-linux.org
Fri Oct 14 23:36:21 CEST 2005


Author: arekm                        Date: Fri Oct 14 21:36:21 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 2.1.4

---- Files affected:
SPECS:
   ocaml-equeue.spec (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SPECS/ocaml-equeue.spec
diff -u SPECS/ocaml-equeue.spec:1.9 SPECS/ocaml-equeue.spec:1.10
--- SPECS/ocaml-equeue.spec:1.9	Tue Oct 11 23:24:20 2005
+++ SPECS/ocaml-equeue.spec	Fri Oct 14 23:36:16 2005
@@ -2,15 +2,14 @@
 Summary:	Event queue library for OCaml
 Summary(pl):	Biblioteka obsługująca kolejkę zdarzeń dla OCamla
 Name:		ocaml-equeue
-Version:	1.2.3
-Release:	4
+Version:	2.1.4
+Release:	1
 License:	BSD
 Group:		Libraries
 Vendor:		Gerd Stolpmann <gerd at gerd-stolpmann.de>
 URL:		http://www.ocaml-programming.de/packages/documentation/equeue/
 Source0:	http://www.ocaml-programming.de/packages/equeue-%{version}.tar.gz
-# Source0-md5:	6f15d411a1664aed96fbc12666a60287
-Patch0:		%{name}-install.patch
+# Source0-md5:	259a21c01ab545c05e96ed43b61279d2
 BuildRequires:	ocaml-labltk-devel
 BuildRequires:	ocaml >= 3.04-7
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -87,23 +86,26 @@
 tej biblioteki.
 
 %prep
-%setup -q -n equeue
-%patch0 -p1
+%setup -q -n equeue-%{version}
 
 %build
-%{__make} DEBUG= all opt tcl tcl_opt
+./configure \
+	-with-equeue-tcl \
+	-equeue-tcl-defs -I%{_includedir}/tcl-private/generic \
+	-equeue-tcl-libs -ltcl
+%{__make} DEBUG= all opt
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 install -d $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/equeue
 OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml %{__make} install
-(cd $RPM_BUILD_ROOT%{_libdir}/ocaml && ln -s equeue/dll*.so .)
+(cd $RPM_BUILD_ROOT%{_libdir}/ocaml && ln -s equeue-tcl/dll*.so .)
 mv $RPM_BUILD_ROOT%{_libdir}/ocaml/equeue/META \
 	$RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/equeue
 echo 'directory = "+equeue"' \
 	>> $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/equeue/META
-rm -f $RPM_BUILD_ROOT%{_libdir}/ocaml/equeue/*.mli
+rm -f $RPM_BUILD_ROOT%{_libdir}/ocaml/equeue*/*.mli
 
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 cp -r examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
@@ -113,22 +115,25 @@
 
 %files tcl
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/ocaml/equeue/*.so
+%dir %{_libdir}/ocaml/equeue-tcl
+%attr(755,root,root) %{_libdir}/ocaml/equeue-tcl/*.so
 %{_libdir}/ocaml/*.so
 
 %files devel
 %defattr(644,root,root,755)
-%doc LICENSE doc/README doc/manual/html
+%doc LICENSE doc/README doc/r*-* doc/users-guide/html
 %dir %{_libdir}/ocaml/equeue
 %{_libdir}/ocaml/equeue/equeue.*
+%{_libdir}/ocaml/equeue/equeue.*
 %{_libdir}/ocaml/equeue/unix*
+%{_libdir}/ocaml/equeue/uq_*
 %{_examplesdir}/%{name}-%{version}
 %{_libdir}/ocaml/site-lib/equeue
 
 %files tcl-devel
 %defattr(644,root,root,755)
-%{_libdir}/ocaml/equeue/e*tcl*
-%{_libdir}/ocaml/equeue/l*tcl*
+%{_libdir}/ocaml/equeue-tcl/libtcl*
+%{_libdir}/ocaml/equeue-tcl/*tcl*.cmi
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -136,6 +141,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2005/10/14 21:36:16  arekm
+- up to 2.1.4
+
 Revision 1.9  2005/10/11 21:24:20  paszczus
 - fixed install.patch (removed bogus -dont-modify-ldconf option from install)
 - release 4
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ocaml-equeue.spec?r1=1.9&r2=1.10&f=u




More information about the pld-cvs-commit mailing list