Blame SPECS/libdbi.spec

20f812
Summary: Database Independent Abstraction Layer for C
20f812
Name: libdbi
20f812
Version: 0.8.4
15fc2e
Release: 6%{?dist}
20f812
Group: Development/Libraries
20f812
License: LGPLv2+
20f812
URL: http://libdbi.sourceforge.net/
20f812
20f812
Source: http://prdownloads.sourceforge.net/libdbi/%{name}-%{version}.tar.gz
20f812
20f812
Patch1: libdbi-cflags.patch
20f812
Patch2: libdbi-leak.patch
20f812
Patch3: libdbi-version.patch
20f812
Patch4: libdbi-aarch64.patch
20f812
20f812
BuildRequires: openjade docbook-style-dsssl
20f812
Conflicts: libdbi-dbd-mysql < 0.8
20f812
Conflicts: libdbi-dbd-pgsql < 0.8
20f812
20f812
%description
20f812
libdbi implements a database-independent abstraction layer in C, similar to the
20f812
DBI/DBD layer in Perl. Writing one generic set of code, programmers can
20f812
leverage the power of multiple databases and multiple simultaneous database
20f812
connections by using this framework.
20f812
20f812
The libdbi package contains just the libdbi framework.  To make use of
20f812
libdbi you will also need one or more plugins from libdbi-drivers, which
20f812
contains the plugins needed to interface to specific database servers.
20f812
20f812
%package devel
20f812
Summary: Development files for libdbi (Database Independent Abstraction Layer for C)
20f812
Group: Development/Libraries
20f812
Requires:	%{name} = %{version}-%{release}
20f812
20f812
%description devel
20f812
The libdbi-devel package contains the header files and documentation
20f812
needed to develop applications with libdbi.
20f812
20f812
%prep
20f812
%setup -q -n %{name}-%{version}
20f812
20f812
%patch1 -p1
20f812
%patch2 -p1
20f812
%patch3 -p1
20f812
%patch4 -p1
20f812
20f812
%build
20f812
%configure
20f812
20f812
make %{?_smp_mflags}
20f812
20f812
%install
20f812
make DESTDIR=$RPM_BUILD_ROOT install
20f812
20f812
rm -f ${RPM_BUILD_ROOT}%{_libdir}/libdbi.a
20f812
rm -f ${RPM_BUILD_ROOT}%{_libdir}/libdbi.la
20f812
20f812
# we will include generated documentation in -devel subpackage,
20f812
# so we need to remove it from builddir, since it would be included
20f812
# automatically otherwise
20f812
rm -rf ${RPM_BUILD_ROOT}%{_docdir}/%{name}-%{version}
20f812
20f812
%post -p /sbin/ldconfig
20f812
20f812
%postun -p /sbin/ldconfig
20f812
20f812
%files
20f812
%doc AUTHORS
20f812
%doc ChangeLog
20f812
%doc COPYING
20f812
%doc README
20f812
%{_libdir}/libdbi.so.*
20f812
20f812
%files devel
20f812
%doc TODO
20f812
%doc doc/programmers-guide.pdf
20f812
%doc doc/programmers-guide/
20f812
%doc doc/driver-guide.pdf
20f812
%doc doc/driver-guide/
20f812
%{_includedir}/dbi/
20f812
%{_libdir}/libdbi.so
20f812
20f812
%changelog
15fc2e
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.8.4-6
15fc2e
- Mass rebuild 2014-01-24
15fc2e
15fc2e
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.8.4-5
15fc2e
- Mass rebuild 2013-12-27
15fc2e
20f812
* Mon Jul 29 2013 Honza Horak <hhorak@redhat.com> - 0.8.4-4
20f812
- Spec file clean-up
20f812
- Add aarch64 support
20f812
- Remove generated doc to not be included automatically
20f812
20f812
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.4-3
20f812
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
20f812
20f812
* Mon Jul 23 2012 Tom Lane <tgl@redhat.com> 0.8.4-2
20f812
- Prevent undesirable change in library soname version number
20f812
20f812
* Sun Jul 22 2012 Tom Lane <tgl@redhat.com> 0.8.4-1
20f812
- Update to version 0.8.4 (seems to contain only configure-support updates,
20f812
  but might as well adopt it)
20f812
- Fix memory leak due to incorrect test in _is_row_fetched()
20f812
Related: #733413
20f812
20f812
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.3-6
20f812
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
20f812
20f812
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.3-5
20f812
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
20f812
20f812
* Fri Sep  3 2010 Tom Lane <tgl@redhat.com> 0.8.3-4
20f812
- Do not use -ffast-math; it breaks things and seems quite unlikely to offer
20f812
  any useful performance benefit for this type of package, anyway
20f812
Resolves: #629964
20f812
20f812
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.3-3
20f812
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
20f812
20f812
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.3-2
20f812
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
20f812
20f812
* Mon Feb 11 2008 Tom Lane <tgl@redhat.com> 0.8.3-1
20f812
- Update to version 0.8.3.
20f812
20f812
* Tue Oct 30 2007 Tom Lane <tgl@redhat.com> 0.8.2-3
20f812
- Fix package's selection of CFLAGS to include RPM_OPT_FLAGS
20f812
Resolves: #330681
20f812
20f812
* Thu Aug  2 2007 Tom Lane <tgl@redhat.com> 0.8.2-2
20f812
- Fix typo in Release field.
20f812
20f812
* Thu Aug  2 2007 Tom Lane <tgl@redhat.com> 0.8.2-1
20f812
- Update to version 0.8.2.
20f812
- Update License tag to match code.
20f812
- Remove static library and .la file, per packaging guidelines.
20f812
20f812
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.8.1-2.1
20f812
- rebuild
20f812
20f812
* Wed Jun  7 2006 Jeremy Katz <katzj@redhat.com> - 0.8.1-2
20f812
- rebuild for -devel deps
20f812
20f812
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.8.1-1.2.1
20f812
- bump again for double-long bug on ppc(64)
20f812
20f812
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.8.1-1.2
20f812
- rebuilt for new gcc4.1 snapshot and glibc changes
20f812
20f812
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
20f812
- rebuilt
20f812
20f812
* Sat Nov 12 2005 Tom Lane <tgl@redhat.com> 0.8.1-1
20f812
- Update to version 0.8.1.
20f812
20f812
* Fri Mar 11 2005 Tom Lane <tgl@redhat.com> 0.7.2-2
20f812
- Packaging improvements per discussion with sopwith.
20f812
20f812
* Thu Mar 10 2005 Tom Lane <tgl@redhat.com> 0.7.2-1
20f812
- Import new libdbi version, splitting libdbi-drivers into a separate SRPM
20f812
  so we can track new upstream packaging.
20f812
20f812
* Sun Mar  6 2005 Tom Lane <tgl@redhat.com> 0.6.5-11
20f812
- Rebuild with gcc4.
20f812
20f812
* Mon Nov 08 2004 Tom Lane <tgl@redhat.com> 0.6.5-10
20f812
- build against mysqlclient10, not mysql, for license reasons
20f812
20f812
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
20f812
- rebuilt
20f812
20f812
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
20f812
- rebuilt
20f812
20f812
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
20f812
- rebuilt
20f812
20f812
* Thu Jul 03 2003 Patrick Macdonald <patrickm@redhat.com> 0.6.5-7
20f812
- rebuilt
20f812
20f812
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
20f812
- rebuilt
20f812
20f812
* Fri Jan 24 2003 Tom Lane <tgl@redhat.com>
20f812
- /usr/include/dbi should be owned
20f812
20f812
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
20f812
- rebuilt
20f812
20f812
* Sun Dec 01 2002 Elliot Lee <sopwith@redhat.com> 0.6.5-3
20f812
- multilibify
20f812
20f812
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
20f812
- automated rebuild
20f812
20f812
* Tue Jun 18 2002 Trond Eivind Glomsrd <teg@redhat.com> 0.6.5-1
20f812
- 0.6.5
20f812
20f812
* Thu May 23 2002 Tim Powers <timp@redhat.com>
20f812
- automated rebuild
20f812
20f812
* Wed Mar 13 2002 Trond Eivind Glomsrd <teg@redhat.com> 0.6.4-2
20f812
- 0.6.4
20f812
20f812
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
20f812
- automated rebuild
20f812
20f812
* Thu Sep 20 2001 Trond Eivind Glomsrd <teg@redhat.com> 0.6.2-1
20f812
- Sanitize, prepare for distribution
20f812
20f812
* Sat Aug 4 2001 David Parker <david@neongoat.com>
20f812
- initial spec file created