Name: libodb Version: 2.1.1 Release: 1%{?dist} Summary: ODB Common Runtime Librarys Group: System Environment/Libraries License: GPLv2 URL: http://www.codesynthesis.com/products/odb/ Source: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Packager: Alex Hurd %description ODB is an open-source, cross-platform and cross-database object-relational mapping (ORM) system for C++. It allows you to persist C++ objects to a relational database without having to deal with tables, columns, or SQL and without manually writing any mapping code. %package devel Summary: %{name} development package Group: Development/Libraries Requires: %{name} = %{version} %description devel Development files for %{name}. %prep %setup -q %build %configure make %{?_smp_mflags} %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} %clean rm -rf %{buildroot} %post ldconfig %postun ldconfig %files %defattr(-,root,root,-) /usr/share/doc/%{name}/ %{_libdir}/*.so %files devel %defattr(-,root,root,-) /usr/share/doc/%{name}/ %{_includedir}/ %{_libdir}/*.a %{_libdir}/*.la %{_libdir}/*.so %{_libdir}/pkgconfig/%{name}.pc %changelog