2024-01-06 04:04:40 +01:00
|
|
|
Name: libdbf
|
2024-01-06 04:04:41 +01:00
|
|
|
Version: 0.0.2
|
2024-01-06 04:04:40 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A C-library for reading dbase files
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 04:04:41 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://18382.whserv.de/admin/index.php
|
|
|
|
Source: https://github.com/quentindemetz/libdbf.git/%{version}/libdbf-%{version}.tar.bz2
|
2024-01-06 04:04:40 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
libdbf is a C-library for reading dbase files.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: pkg-config
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
2024-01-06 04:04:41 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 04:04:40 +01:00
|
|
|
%prep
|
2024-01-06 04:04:41 +01:00
|
|
|
%setup -q
|
|
|
|
./autogen.sh
|
2024-01-06 04:04:40 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--disable-static
|
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
find %{buildroot}%{_libdir} -name '*.la' -delete
|
|
|
|
|
|
|
|
%find_lang %{name} || touch %{name}.lang
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 04:04:41 +01:00
|
|
|
%{_libdir}/libdbf.so.*
|
2024-01-06 04:04:40 +01:00
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/libdbf
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%doc ChangeLog README
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 04:04:41 +01:00
|
|
|
* Sun Dec 26 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.2-1mamba
|
|
|
|
- update to 0.0.2
|
|
|
|
|
2024-01-06 04:04:40 +01:00
|
|
|
* Wed Jul 04 2012 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.0.1-1mamba
|
|
|
|
- package created by autospec
|