rpms/ocaml-lwt/devel import.log, NONE, 1.1 ocaml-lwt.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Richard W.M. Jones rjones at fedoraproject.org
Wed Sep 3 21:02:47 UTC 2008


Author: rjones

Update of /cvs/pkgs/rpms/ocaml-lwt/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10473/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log ocaml-lwt.spec 
Log Message:
Initial import.



--- NEW FILE import.log ---
ocaml-lwt-1_1_0-1_fc10:HEAD:ocaml-lwt-1.1.0-1.fc10.src.rpm:1220475706


--- NEW FILE ocaml-lwt.spec ---
%define opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
%define debug_package %{nil}

Name:           ocaml-lwt
Version:        1.1.0
Release:        1%{?dist}
Summary:        OCaml lightweight thread library

Group:          Development/Libraries
License:        LGPLv2+ with exceptions
URL:            http://ocsigen.org/install/lwt
Source0:        http://ocsigen.org/download/lwt-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  ocaml >= 3.10.0
BuildRequires:  ocaml-findlib-devel
BuildRequires:  ocaml-ocamldoc
BuildRequires:  ocaml-ssl >= 0.4.0

%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
Lwt is a lightweight thread library for Objective Caml.  This library
is part of the Ocsigen project.


%package        devel
Summary:        Development files for %{name}
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}


%description    devel
The %{name}-devel package contains libraries and signature files for
developing applications that use %{name}.


%prep
%setup -q -n lwt-%{version}

mv README README.old
iconv -f iso-8859-1 -t utf-8 < README.old > README


%build
make


%install
rm -rf $RPM_BUILD_ROOT
export DESTDIR=$RPM_BUILD_ROOT
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
make install


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc LICENSE COPYING
%{_libdir}/ocaml/lwt
%if %opt
%exclude %{_libdir}/ocaml/lwt/*.a
%exclude %{_libdir}/ocaml/lwt/*.cmxa
%exclude %{_libdir}/ocaml/lwt/*.cmx
%endif
%exclude %{_libdir}/ocaml/lwt/*.mli


%files devel
%defattr(-,root,root,-)
%doc LICENSE COPYING CHANGES CHANGES.darcs README VERSION _build/lwt.docdir
%if %opt
%{_libdir}/ocaml/lwt/*.a
%{_libdir}/ocaml/lwt/*.cmxa
%{_libdir}/ocaml/lwt/*.cmx
%endif
%{_libdir}/ocaml/lwt/*.mli


%changelog
* Mon Sep  1 2008 Richard W.M. Jones <rjones at redhat.com> - 1.1.0-1
- Initial RPM release.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/ocaml-lwt/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	3 Sep 2008 20:36:07 -0000	1.1
+++ .cvsignore	3 Sep 2008 21:02:17 -0000	1.2
@@ -0,0 +1 @@
+lwt-1.1.0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/ocaml-lwt/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	3 Sep 2008 20:36:07 -0000	1.1
+++ sources	3 Sep 2008 21:02:17 -0000	1.2
@@ -0,0 +1 @@
+dcc43458f3e39647bb7992749de43fa5  lwt-1.1.0.tar.gz




More information about the fedora-extras-commits mailing list