Sophie

Sophie

distrib > Mandriva > 2008.0 > x86_64 > by-pkgid > 4c9450856d7229d8c224581b0ae8a6b5 > files > 2

pxlib-0.6.1-1mdv2007.1.src.rpm

%define libname %mklibname px 0

Summary: A library to read Paradox DB files
Name: pxlib
Version: 0.6.1
Release: %mkrel 1
License: GPL
Group: System/Libraries
Url: http://pxlib.sourceforge.net/
Source: http://prdownloads.sourceforge.net/pxlib/%{name}-%{version}.tar.bz2
BuildRoot: %_tmppath/%name-%version-root
BuildRequires: autoconf2.5 >= 2.54
BuildRequires: sqlite-devel
BuildRequires: libgsf-devel
BuildRequires: perl-XML-Parser
BuildRequires: libglib2.0-devel

%description
pxlib is a simply and still small C library to read Paradox DB files. It
supports all versions starting from 3.0. It currently has a very limited set of
functions like to open a DB file, read its header and read every single record.

%package -n %libname
Group: System/Libraries
Summary: A library to read Paradox DB files

%description -n %libname
pxlib is a simply and still small C library to read Paradox DB files. It
supports all versions starting from 3.0. It currently has a very limited set of
functions like to open a DB file, read its header and read every single record.

%package -n %libname-devel
Summary: A library to read Paradox DB files (Development)
Group: Development/C
Requires: %libname = %{version}
Provides: libpx-devel = %{version}-%release

%description -n %libname-devel
pxlib is a simply and still small C library to read Paradox DB files. It
supports all versions starting from 3.0. It currently has a very limited set of
functions like to open a DB file, read its header and read every single record.

%prep
%setup -q

%build
export CPPFLAGS=`pkg-config --cflags glib-2.0`
%configure2_5x  --with-sqlite --with-gsf
%make

%install
rm -rf ${RPM_BUILD_ROOT}
%makeinstall_std
%find_lang %name

%clean
rm -rf ${RPM_BUILD_ROOT}

%post -n %libname -p /sbin/ldconfig
%postun -n %libname -p /sbin/ldconfig

%files -n %libname -f %name.lang
%defattr(-,root,root)
%doc README AUTHORS ChangeLog
%_libdir/lib*.so.*

%files -n %libname-devel
%defattr(-,root,root)
%_libdir/lib*.so
%_libdir/*.a
%attr(644,root,root) %_libdir/*.la
%_libdir/pkgconfig/*
%_includedir/*


%changelog
* Sun Jan 28 2007 Götz Waschk <waschk@mandriva.org> 0.6.1-1mdv2007.0
+ Revision: 114688
- Import pxlib



* Sun Jan 28 2007 Götz Waschk <waschk@mandriva.org> 0.6.1-1mdv2007.1
- rebuild

* Wed Mar 29 2006 Götz Waschk <waschk@mandriva.org> 0.6.1-1mdk
- New release 0.6.1

* Tue Mar 07 2006 Götz Waschk <waschk@mandriva.org> 0.6.0-2mdk
- rebuild with new libgsf

* Mon Feb 06 2006 Götz Waschk <waschk@mandriva.org> 0.6.0-1mdk
- New release 0.6.0

* Fri Dec 09 2005 Götz Waschk <waschk@mandriva.org> 0.5.1-3mdk
- rebuild for new libgsf
- use mkrel

* Tue Oct 11 2005 Götz Waschk <waschk@mandriva.org> 0.5.1-2mdk
- rebuild for new libgsf

* Thu Aug 11 2005 Götz Waschk <waschk@mandriva.org> 0.5.1-1mdk
- New release 0.5.1

* Thu Jul 14 2005 Götz Waschk <waschk@mandriva.org> 0.5.0-1mdk
- New release 0.5.0

* Wed May 25 2005 Götz Waschk <waschk@mandriva.org> 0.4.4-1mdk
- fix build on x86_64
- drop patches
- New release 0.4.4

* Wed Mar  9 2005 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 0.4.3-2mdk
- lib64 & 64-bit fixes

* Tue Jan 04 2005 Lenny Cartier <lenny@mandrakesoft.com> 0.4.3-1mdk
- 0.4.3

* Mon Nov 08 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.4.0-1mdk
- 0.4.0

* Tue Oct 12 2004 Götz Waschk <waschk@linux-mandrake.com> 0.3.1-1mdk
- fix source URL
- New release 0.3.1

* Sun Sep 19 2004 Götz Waschk <waschk@linux-mandrake.com> 0.3.0-2mdk
- fix buildrequires


* Tue Aug 31 2004 Götz Waschk <waschk@linux-mandrake.com> 0.3.0-1mdk
- initial mdk package