[dolphin-connector/f13/master] Initial import (#668863).
poetinha
poetinha at fedoraproject.org
Thu Jan 20 19:28:25 UTC 2011
commit 9b84699cffb6e5eae6d47d207255499c77f4a5cc
Author: William Lima <wlima at primate.com.br>
Date: Thu Jan 20 17:28:16 2011 -0200
Initial import (#668863).
.gitignore | 1 +
dolphin-connector.spec | 82 ++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 84 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..2027cfc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/dolphin-connector-1.0.tar.gz
diff --git a/dolphin-connector.spec b/dolphin-connector.spec
new file mode 100644
index 0000000..257d978
--- /dev/null
+++ b/dolphin-connector.spec
@@ -0,0 +1,82 @@
+Name: dolphin-connector
+Version: 1.0
+Release: 4%{?dist}
+Summary: Simple MySQL C API wrapper for C++
+
+Group: System Environment/Libraries
+License: BSD
+URL: https://github.com/poetinha/dolphin-connector
+# The source for this package was pulled from upstream's vcs. Use the
+# following commands to generate the tarball:
+# git clone https://github.com/poetinha/dolphin-connector.git
+# cd dolphin-connector
+# git archive --format=tar --prefix=dolphin-connector-1.0/ v1.0 | gzip >dolphin-connector-1.0.tar.gz
+Source0: %{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: libtool mysql-devel boost-devel
+
+%description
+Dolphin Connector is a simple MySQL C API wrapper for C++.
+
+It is originally designed to be as efficient as is possible,
+and makes no use of exceptions.
+
+%package devel
+Summary: Development files for Dolphin Connector
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: mysql-devel
+Requires: boost-devel
+
+%description devel
+Dolphin Connector development package.
+
+%prep
+%setup -q
+
+%build
+./autogen.sh
+
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+# cleanup
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
+
+rm -f sample/Makefile*
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%doc README
+%{_libdir}/libdolphinconn.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%doc sample
+%{_includedir}/dolphinconn
+%{_libdir}/libdolphinconn.so
+
+%changelog
+* Thu Jan 20 2011 William Lima <wlima at primate.com.br> - 1.0-4
+- fixed build requires
+
+* Thu Jan 20 2011 William Lima <wlima at primate.com.br> - 1.0-3
+- dropped autoconf build requires
+
+* Thu Jan 20 2011 William Lima <wlima at primate.com.br> - 1.0-2
+- added build requires for automake and autoconf
+
+* Tue Jan 11 2011 William Lima <wlima at primate.com.br> - 1.0-1
+- Initial package
diff --git a/sources b/sources
index e69de29..fd6f850 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c02c178324466f6054e5893d0cac251d dolphin-connector-1.0.tar.gz
More information about the scm-commits
mailing list