rpms/ocaml-postgresql/devel ocaml-postgresql.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Richard W.M. Jones (rjones)
fedora-extras-commits at redhat.com
Tue Mar 4 18:22:12 UTC 2008
- Previous message (by thread): rpms/ocaml-xmlrpc-light/devel ocaml-xmlrpc-light.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/hplip/F-8 .cvsignore, 1.21, 1.22 hplip.spec, 1.169, 1.170 sources, 1.21, 1.22 hplip-alloc.patch, 1.1, NONE hplip-media-empty.patch, 1.4, NONE hplip-unload-traceback.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: rjones
Update of /cvs/pkgs/rpms/ocaml-postgresql/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16041/devel
Modified Files:
.cvsignore sources
Added Files:
ocaml-postgresql.spec
Log Message:
Initial CVS import.
--- NEW FILE ocaml-postgresql.spec ---
%define opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
%define debug_package %{nil}
Name: ocaml-postgresql
Version: 1.7.0
Release: 2%{?dist}
Summary: OCaml library for accessing PostreSQL databases
Group: Development/Libraries
License: LGPLv2+ with exceptions
URL: http://www.ocaml.info/home/ocaml_sources.html#toc13
Source0: http://www.ocaml.info/ocaml_sources/postgresql-ocaml-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ExcludeArch: ppc64
BuildRequires: ocaml >= 3.10.0
BuildRequires: ocaml-findlib-devel
BuildRequires: ocaml-ocamldoc
BuildRequires: postgresql-devel
BuildRequires: chrpath
%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
This OCaml-library provides an interface to PostgreSQL, an efficient
and reliable, open source, relational database. Almost all
functionality available through the C-API (libpq) is replicated in a
type-safe way. This library uses objects for representing database
connections and results of queries.
%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 postgresql-ocaml-%{version}
%build
make
strip lib/dll*.so
chrpath --delete lib/dll*.so
%install
# These rules work if the library uses 'ocamlfind install' to install itself.
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
%{_libdir}/ocaml/postgresql
%if %opt
%exclude %{_libdir}/ocaml/postgresql/*.a
%exclude %{_libdir}/ocaml/postgresql/*.cmxa
%endif
%exclude %{_libdir}/ocaml/postgresql/*.mli
%{_libdir}/ocaml/stublibs/*.so
%{_libdir}/ocaml/stublibs/*.so.owner
%files devel
%defattr(-,root,root,-)
%doc LICENSE AUTHORS Changes README examples
%if %opt
%{_libdir}/ocaml/postgresql/*.a
%{_libdir}/ocaml/postgresql/*.cmxa
%endif
%{_libdir}/ocaml/postgresql/*.mli
%changelog
* Mon Mar 3 2008 Richard W.M. Jones <rjones at redhat.com> - 1.7.0-2
- Only include LICENSE doc in main package.
- Include extra documentation and examples in devel package.
- Check it builds in mock.
* Sun Feb 24 2008 Richard W.M. Jones <rjones at redhat.com> - 1.7.0-1
- Initial RPM release.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/ocaml-postgresql/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 4 Mar 2008 17:10:05 -0000 1.1
+++ .cvsignore 4 Mar 2008 18:21:36 -0000 1.2
@@ -0,0 +1 @@
+postgresql-ocaml-1.7.0.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/ocaml-postgresql/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 4 Mar 2008 17:10:05 -0000 1.1
+++ sources 4 Mar 2008 18:21:36 -0000 1.2
@@ -0,0 +1 @@
+c79dbef491646610cfb22559e0fc2c16 postgresql-ocaml-1.7.0.tar.bz2
- Previous message (by thread): rpms/ocaml-xmlrpc-light/devel ocaml-xmlrpc-light.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/hplip/F-8 .cvsignore, 1.21, 1.22 hplip.spec, 1.169, 1.170 sources, 1.21, 1.22 hplip-alloc.patch, 1.1, NONE hplip-media-empty.patch, 1.4, NONE hplip-unload-traceback.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list