[prev in list] [next in list] [prev in thread] [next in thread]
List: rpm-cvs
Subject: [CVS] RPM: distro/mongo-c-driver/ mongo-c-driver.spec
From: "Jeff Johnson" <jbj () rpm5 ! org>
Date: 2014-04-09 6:47:39
Message-ID: 20140409064739.A4C1349343 () rpm5 ! org
[Download RAW message or body]
RPM Package Manager, CVS Repository
http://rpm5.org/cvs/
____________________________________________________________________________
Server: rpm5.org Name: Jeff Johnson
Root: /v/rpm/cvs Email: jbj@rpm5.org
Module: distro Date: 09-Apr-2014 08:47:39
Branch: HEAD Handle: 2014040906473900
Added files:
distro/mongo-c-driver mongo-c-driver.spec
Log:
- create.
Summary:
Revision Changes Path
1.1 +77 -0 distro/mongo-c-driver/mongo-c-driver.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: distro/mongo-c-driver/mongo-c-driver.spec
============================================================================
$ cvs diff -u -r0 -r1.1 mongo-c-driver.spec
--- /dev/null 2014-04-09 08:46:04.000000000 +0200
+++ mongo-c-driver.spec 2014-04-09 08:47:39.368818591 +0200
@@ -0,0 +1,77 @@
+Summary: A client library written in C to access MongoDB
+Name: mongo-c-driver
+Version: 0.92.3
+%define NVdir %{name}-%{version}
+Release: 0.%(date "+%%Y%%m%%d")
+License: ASL 2.0
+Group: System Environment/Libraries
+URL: https://github.com/mongodb/%{name}
+BuildRoot: %{_tmppath}/%{name}
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: git
+BuildRequires: libbson-devel
+BuildRequires: libtool
+BuildRequires: pkgconfig
+BuildRequires: xmlto
+Requires: libbson
+
+%description
+A client library written in C to access MongoDB.
+
+%package devel
+Summary: Development libraries and C header files for the mongo-c-driver library
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: libbson-devel
+Requires: pkgconfig
+
+%description devel
+The development library for the C language mongo-c-driver client library.
+
+%prep
+rm -rf %{NVdir}
+git clone %{url}.git %{NVdir}
+cd %{NVdir}
+
+sh autogen.sh --prefix=%{_prefix} --libdir=%{_libdir} \
+ --enable-static
+
+%build
+cd %{NVdir}
+make %{?_smp_mflags}
+
+%install
+cd %{NVdir}
+rm -rf %{buildroot}
+
+make DESTDIR=%{buildroot} install
+
+rm -rf %{buildroot}%{_defaultdocdir}
+
+%check
+cd %{NVdir}
+
+#Assert Failure: 0 == 1
+#tests/test-mongoc-client.c:97 test_mongoc_client_authenticate()
+make -k check || :
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%doc %{NVdir}/COPYING %{NVdir}/NEWS %{NVdir}/README
+%{_bindir}/mongoc-stat
+%{_libdir}/*.so.*
+
+%files devel
+%{_includedir}/libmongoc-1.0
+%{_libdir}/pkgconfig/libmongoc*-1.0.pc
+%{_libdir}/*.a
+%{_libdir}/*.la
+%{_libdir}/*.so
+
+%changelog
+* Wed Apr 9 2014 Jeff Johnson <jbj@jbj.orgh> - 0.92.3
+- Create.
@@ .
______________________________________________________________________
RPM Package Manager http://rpm5.org
CVS Sources Repository rpm-cvs@rpm5.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic