2024-01-06 07:02:08 +01:00
|
|
|
%define sourcever %(echo %version | cut -d. -f1-2)
|
|
|
|
Name: mdbtools
|
2024-12-29 12:19:50 +01:00
|
|
|
Version: 1.0.1
|
2024-01-06 07:02:08 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A set of utilities for reading Microsoft Access database (MDB) files
|
|
|
|
Group: System/Tools
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 07:02:09 +01:00
|
|
|
URL: https://github.com/mdbtools/mdbtools
|
2024-01-06 07:02:09 +01:00
|
|
|
Source: https://github.com/mdbtools/mdbtools.git/v%{version}/mdbtools-%{version}.tar.bz2
|
2024-01-06 07:02:08 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libodbc-devel
|
|
|
|
BuildRequires: libreadline-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 07:02:09 +01:00
|
|
|
BuildRequires: txt2man
|
2024-01-06 07:02:08 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
A set of utilities for reading Microsoft Access database (MDB) files.
|
|
|
|
|
|
|
|
%package -n libmdb
|
|
|
|
Summary: A set of libraries for reading Microsoft Access database (MDB) files
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libmdb
|
|
|
|
A set of libraries for reading Microsoft Access database (MDB) files.
|
|
|
|
|
|
|
|
%package -n libmdb-devel
|
|
|
|
Summary: Devel package for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: libmdb = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n libmdb-devel
|
|
|
|
A set of libraries for reading Microsoft Access database (MDB) files.
|
2024-01-06 07:02:09 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-06 07:02:08 +01:00
|
|
|
|
2024-01-06 07:02:09 +01:00
|
|
|
%package -n gmdb
|
|
|
|
Summary: GNOME frontend from %{name}
|
|
|
|
Group: Graphical Desktop/Applications/Utilities
|
|
|
|
|
|
|
|
%description -n gmdb
|
|
|
|
GNOME frontend from %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
2024-01-06 07:02:08 +01:00
|
|
|
|
|
|
|
%prep
|
2024-01-06 07:02:09 +01:00
|
|
|
%setup -q
|
|
|
|
autoreconf -f -i
|
2024-01-06 07:02:08 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 07:02:09 +01:00
|
|
|
%configure \
|
|
|
|
--with-unixodbc=%{_prefix}
|
|
|
|
|
|
|
|
%make
|
2024-01-06 07:02:08 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
2024-01-06 07:02:09 +01:00
|
|
|
rm -rf %{buildroot}%{_localstatedir}/scrollkeeper
|
|
|
|
|
2024-01-06 07:02:08 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 07:02:09 +01:00
|
|
|
%{_bindir}/mdb-*
|
|
|
|
%{_datadir}/bash-completion/completions/mdb-*
|
2024-01-06 07:02:08 +01:00
|
|
|
%{_mandir}/man1/mdb-*.1*
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%files -n libmdb
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libmdbsql.so.*
|
|
|
|
%{_libdir}/libmdb.so.*
|
2024-01-06 07:02:09 +01:00
|
|
|
%{_libdir}/odbc/libmdbodbc.a
|
|
|
|
%{_libdir}/odbc/libmdbodbc.so
|
|
|
|
%{_libdir}/odbc/libmdbodbcW.a
|
|
|
|
%{_libdir}/odbc/libmdbodbcW.so
|
2024-01-06 07:02:08 +01:00
|
|
|
%doc AUTHORS COPYING.LIB
|
|
|
|
|
|
|
|
%files -n libmdb-devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 07:02:09 +01:00
|
|
|
%{_includedir}/*.h
|
2024-01-06 07:02:08 +01:00
|
|
|
%{_libdir}/libmdbsql.a
|
|
|
|
%{_libdir}/libmdbsql.so
|
|
|
|
%{_libdir}/libmdb.a
|
|
|
|
%{_libdir}/libmdb.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2024-01-06 07:02:09 +01:00
|
|
|
#%doc ChangeLog NEWS README TODO
|
2024-01-06 07:02:08 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-12-29 12:19:50 +01:00
|
|
|
* Sat Dec 28 2024 Automatic Build System <autodist@openmamba.org> 1.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:02:09 +01:00
|
|
|
* Mon Dec 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-1mamba
|
|
|
|
- update to 1.0.0
|
|
|
|
|
2024-01-06 07:02:09 +01:00
|
|
|
* Sun Jun 13 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.1-1mamba
|
|
|
|
- update to 0.7.1
|
|
|
|
|
2024-01-06 07:02:08 +01:00
|
|
|
* Sun Mar 10 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7-1mamba
|
|
|
|
- update to 0.7
|
|
|
|
|
|
|
|
* Sat Jun 13 2009 Automatic Build System <autodist@mambasoft.it> 0.6pre1.svn20090613-1mamba
|
|
|
|
- update to 0.6pre1.svn20090613
|
|
|
|
|
|
|
|
* Sat Jun 13 2009 Automatic Build System <autodist@mambasoft.it> 0.6pre1-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Wed Nov 07 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6pre1-1mamba
|
|
|
|
- package created by autospec
|