[libmongo-client] Initial import (#861893)
Milan Bartos
mbartos at fedoraproject.org
Tue Oct 9 06:41:08 UTC 2012
commit 9c821266692ddb60b87c4d253a48a032a71a9c65
Author: Milan Bartos <mbartos at redhat.com>
Date: Tue Oct 9 08:40:31 2012 +0200
Initial import (#861893)
modified: .gitignore
new file: libmongo-client.spec
modified: sources
.gitignore | 1 +
libmongo-client.spec | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 98 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f605886 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/libmongo-client-0.1.5.tar.gz
diff --git a/libmongo-client.spec b/libmongo-client.spec
new file mode 100644
index 0000000..a1d27d6
--- /dev/null
+++ b/libmongo-client.spec
@@ -0,0 +1,96 @@
+Name: libmongo-client
+Version: 0.1.5
+Release: 6%{?dist}
+Summary: Alternative C driver for MongoDB
+
+License: ASL 2.0
+URL: https://github.com/algernon/libmongo-client
+Source0: libmongo-client-0.1.5.tar.gz
+# Source0 obtained from github
+# https://github.com/algernon/libmongo-client.git
+# cd libmongo-client
+# git archive --prefix=libmongo-client-0.1.5/ -o libmongo-client-0.1.5.tar.gz v0.1.5
+
+BuildRequires: libtool
+BuildRequires: automake
+BuildRequires: autoconf
+BuildRequires: glib2-devel
+
+%package devel
+Summary: Development files for libmongo-client
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%package doc
+Summary: Documentation for libmongo-client
+Group: Documentation
+%{?fedora:BuildArch: noarch}
+BuildRequires: graphviz
+BuildRequires: doxygen
+
+%description
+Alternative C driver for MongoDB. Libmongo-client is meant
+to be a stable (API, ABI and quality alike), clean, well documented
+and well tested shared library, that strives to make the most
+common use cases as convenient as possible.
+
+%description devel
+Development files (libraries and include files) for libmongo-client
+
+%description doc
+Subpackage contains documentation for libmongo-client
+
+%prep
+%setup -q
+
+
+%build
+./autogen.sh
+%configure --disable-static
+make %{?_smp_mflags}
+make doxygen
+
+
+%install
+make install DESTDIR=%{buildroot} INSTALL="install -p"
+rm -f %{buildroot}/%{_libdir}/*.{a,la}
+
+
+%post -p /sbin/ldconfig
+
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%doc LICENSE NEWS README.rst
+%{_libdir}/libmongo-client.so.*
+
+
+%files devel
+%{_libdir}/pkgconfig/libmongo-client.pc
+%{_libdir}/libmongo-client.so
+%{_includedir}/mongo-client
+
+%files doc
+%doc docs/html
+
+
+%changelog
+* Mon Oct 8 2012 Milan Bartos <mbartos at redhat.com> - 0.1.5-6
+- includedir mongo-client owned by -devel subpackage
+
+* Wed Oct 3 2012 Milan Bartos <mbartos at redhat.com> - 0.1.5-5
+- added dependencies for autogen.sh
+
+* Wed Oct 3 2012 Milan Bartos <mbartos at redhat.com> - 0.1.5-4
+- changed documentation location as standalone subpackage
+
+* Wed Oct 3 2012 Milan Bartos <mbartos at redhat.com> - 0.1.5-3
+- added documentation to devel subpackage
+
+* Tue Oct 2 2012 Milan Bartos <mbartos at redhat.com> - 0.1.5-2
+- added %{?_isa} to Requires for devel subpackage
+
+* Wed Sep 26 2012 Milan Bartos <mbartos at redhat.com> - 0.1.5-1
+- initial port
+
diff --git a/sources b/sources
index e69de29..0c13352 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ac02c1b2835abf04d6d06f8bf13ca553 libmongo-client-0.1.5.tar.gz
More information about the scm-commits
mailing list