0c7f17a
Name:		xbsql
0c7f17a
Summary:	A SQL wrapper for xbase
0c7f17a
Version:	0.11
81429c1
Release:	18%{?dist}
0c7f17a
Group:		Development/Libraries
b996103
License:	LGPLv2+
0c7f17a
URL:		http://www.quaking.demon.co.uk/xbsql/
0c7f17a
Source0: 	http://www.rekallrevealed.org/packages/%{name}-%{version}.tgz
0c7f17a
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
cccd94e
BuildRequires:	xbase-devel >= 3.1.2, ncurses-devel, readline-devel, bison, libtool
40da9fc
Patch0:		xbsql-0.11-ncurses64.patch
cccd94e
Patch1:		xbsql-0.11-xbase64.patch
0c7f17a
0c7f17a
%description
0c7f17a
XBSQL is a wrapper library which provides an SQL-subset interface to Xbase 
0c7f17a
DBMS.
0c7f17a
0c7f17a
%package devel
0c7f17a
Summary: XBSQL development libraries and headers
0c7f17a
Group: Development/Libraries
0c7f17a
Requires: %{name} = %{version}-%{release}
0c7f17a
Requires: xbase-devel
0c7f17a
0c7f17a
%description devel
0c7f17a
Headers and libraries for compiling programs that use the XBSQL library.
0c7f17a
0c7f17a
%prep
0c7f17a
%setup -q
40da9fc
%patch0 -p1
cccd94e
%patch1 -p1
0c7f17a
0c7f17a
%build
0c7f17a
%configure
45db353
make %{?_smp_mflags} LIBTOOL=%{_bindir}/libtool CFLAGS="%{optflags}" CPPFLAGS="%{optflags}"
0c7f17a
0c7f17a
%install
0c7f17a
rm -rf $RPM_BUILD_ROOT
0c7f17a
make DESTDIR=$RPM_BUILD_ROOT install
0c7f17a
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
45db353
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.a
0c7f17a
0c7f17a
%clean
0c7f17a
rm -rf $RPM_BUILD_ROOT
0c7f17a
0c7f17a
%post -p /sbin/ldconfig
0c7f17a
0c7f17a
%postun -p /sbin/ldconfig
0c7f17a
0c7f17a
%files
0c7f17a
%defattr(-, root, root, 0755)
0c7f17a
%doc AUTHORS COPYING doc/*.html README
0c7f17a
%{_libdir}/*.so.*
0c7f17a
%{_bindir}/xql
0c7f17a
0c7f17a
%files devel
0c7f17a
%defattr(-, root, root, 0755)
0c7f17a
%{_includedir}/*
0c7f17a
%{_libdir}/*.so
0c7f17a
0c7f17a
%changelog
81429c1
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-18
81429c1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
81429c1
04a9759
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-17
04a9759
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
04a9759
bc33972
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-16
bc33972
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
bc33972
45db353
* Wed Jan 20 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 0.11-15
45db353
- don't package static lib (resolves bz 556100)
45db353
- use optflags when building
45db353
f7a2b6c
* Wed Aug 19 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 0.11-14
cccd94e
- update for new xbase
cccd94e
fa8362a
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-13
fa8362a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
fa8362a
351d425
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-12
351d425
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
351d425
1a4b0bf
* Tue Mar 11 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.11-11
1a4b0bf
- Rebuild against fixed (for gcc-4.3 compat) xbase
1a4b0bf
84380ee
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.11-10
84380ee
- Autorebuild for GCC 4.3
84380ee
b996103
* Mon Aug 27 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.11-9
b996103
- license fix
b996103
- rebuild for BuildID
b996103
ef2714b
* Mon Sep 11 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.11-8
ef2714b
- missing BR: bison
ef2714b
f636abb
* Mon Sep 11 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.11-7
f636abb
- rebuild
f636abb
3ba74fa
* Tue Feb 28 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.11-6
3ba74fa
- bump for FC-5
3ba74fa
40da9fc
* Thu Aug 18 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.11-5
40da9fc
- fix 64 bit ncurses detection
40da9fc
0c7f17a
* Thu Aug 18 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.11-4
0c7f17a
- add the Requires: xbase-devel for the -devel package
0c7f17a
0c7f17a
* Mon Jul 18 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.11-3
0c7f17a
- add BR: readline-devel
0c7f17a
0c7f17a
* Sun Jul 10 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.11-2
0c7f17a
- shorten description
0c7f17a
- add BuildRequires: ncurses-devel
0c7f17a
0c7f17a
* Fri Jun 17 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.11-1
0c7f17a
- initial package for Fedora Extras