[packages/libodb] new, version 2.4.0

glen glen at pld-linux.org
Sun Aug 12 21:22:06 CEST 2018


commit 511c5842fa0fa6a5a87f44502fd0486267c96ddd
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sun Aug 12 22:19:42 2018 +0300

    new, version 2.4.0
    
    based on fedora package fc78f1a

 libodb.spec | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)
---
diff --git a/libodb.spec b/libodb.spec
new file mode 100644
index 0000000..4289961
--- /dev/null
+++ b/libodb.spec
@@ -0,0 +1,65 @@
+%define	base_version 2.4
+Summary:	Common ODB runtime library from Code Synthesis
+Name:		libodb
+Version:	%{base_version}.0
+Release:	1
+License:	GPL v2
+Group:		Libraries
+Source0:	http://www.codesynthesis.com/download/odb/%{base_version}/%{name}-%{version}.tar.bz2
+# Source0-md5:	ae3842876f4f30c78e9d71fcf945ff7a
+URL:		http://www.codesynthesis.com/products/odb/
+BuildRequires:	libstdc++-devel
+BuildRequires:	pkgconfig
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+ODB is an object-relational mapping (ORM) system for C++. It provides
+tools, APIs, and library support that allow you to persist C++ objects
+to a relational database (RDBMS) without having to deal with tables,
+columns, or SQL and without manually writing any of the mapping code.
+
+This package contains the common ODB runtime library. Every
+application that includes code generated by the ODB compiler will need
+to link to this library.
+
+%package devel
+Summary:	Development files for %{name}
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+%prep
+%setup -q
+
+%build
+%configure \
+	--disable-static
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libodb.la
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libodb-%{base_version}.so
+
+%files devel
+%defattr(644,root,root,755)
+%doc NEWS
+%{_includedir}/odb
+%{_libdir}/libodb.so
+%{_pkgconfigdir}/libodb.pc
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libodb.git/commitdiff/511c5842fa0fa6a5a87f44502fd0486267c96ddd



More information about the pld-cvs-commit mailing list