update to 0.7.1 [release 0.7.1-1mamba;Sun Jun 13 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 07:02:09 +01:00
parent cc4507b505
commit f71f6dc958

View File

@ -1,15 +1,14 @@
%define sourcever %(echo %version | cut -d. -f1-2) %define sourcever %(echo %version | cut -d. -f1-2)
Name: mdbtools Name: mdbtools
Version: 0.7 Version: 0.7.1
Release: 1mamba Release: 1mamba
Summary: A set of utilities for reading Microsoft Access database (MDB) files Summary: A set of utilities for reading Microsoft Access database (MDB) files
Group: System/Tools Group: System/Tools
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://mdbtools.sourceforge.net/ URL: https://github.com/mdbtools/mdbtools
#Source: http://mesh.dl.sourceforge.net/sourceforge/mdbtools/mdbtools-%{version}.tar.gz Source: https://github.com/mdbtools/mdbtools.git/%{version}/mdbtools-%{version}.tar.bz2
Source: https://github.com/brianb/mdbtools/tarball/%{version}/mdbtools-%{version}.zip
Patch0: mdbtools-0.6pre1-gcc4.patch Patch0: mdbtools-0.6pre1-gcc4.patch
Patch1: mdbtools-0.6pre1-ooo.patch Patch1: mdbtools-0.6pre1-ooo.patch
License: GPL License: GPL
@ -18,15 +17,17 @@ BuildRequires: glibc-devel
BuildRequires: libgdk-pixbuf-devel BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglade-devel BuildRequires: libglade-devel
BuildRequires: libglib-devel BuildRequires: libglib-devel
%ifarch x86_64 %{ix86}
BuildRequires: libgnome-devel BuildRequires: libgnome-devel
BuildRequires: libgnomeui-devel BuildRequires: libgnomeui-devel
%endif
BuildRequires: libgtk2-devel BuildRequires: libgtk2-devel
BuildRequires: libltdl-devel BuildRequires: libltdl-devel
BuildRequires: libodbc-devel BuildRequires: libodbc-devel
BuildRequires: libpango-devel BuildRequires: libpango-devel
BuildRequires: libreadline-devel BuildRequires: libreadline-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: txt2man
%description %description
A set of utilities for reading Microsoft Access database (MDB) files. A set of utilities for reading Microsoft Access database (MDB) files.
@ -45,29 +46,41 @@ Requires: libmdb = %{?epoch:%epoch:}%{version}-%{release}
%description -n libmdb-devel %description -n libmdb-devel
A set of libraries for reading Microsoft Access database (MDB) files. A set of libraries for reading Microsoft Access database (MDB) files.
This package contains static libraries and header files needed for development.
This package contains static libraries and header files need for development. %package -n gmdb
Summary: GNOME frontend from %{name}
Group: Graphical Desktop/Applications/Utilities
%description -n gmdb
GNOME frontend from %{name}.
%debug_package
%prep %prep
%setup -q -c %setup -q
mv brianb-mdbtools*/* . #mv brianb-mdbtools*/* .
sed -i "s|libtooloze|libtoolize|" autogen.sh #sed -i "s|libtooloze|libtoolize|" autogen.sh
#./autogen.sh
autoreconf -f -i
%build %build
./autogen.sh %configure \
%configure --with-unixodbc=%{_prefix} --with-unixodbc=%{_prefix}
%make -j1
%make
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall %makeinstall
rm -rf %{buildroot}%{_localstatedir}/scrollkeeper
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/gmdb2
%{_bindir}/mdb-array %{_bindir}/mdb-array
%{_bindir}/mdb-export %{_bindir}/mdb-export
%{_bindir}/mdb-header %{_bindir}/mdb-header
@ -78,35 +91,47 @@ sed -i "s|libtooloze|libtoolize|" autogen.sh
%{_bindir}/mdb-sql %{_bindir}/mdb-sql
%{_bindir}/mdb-tables %{_bindir}/mdb-tables
%{_bindir}/mdb-ver %{_bindir}/mdb-ver
%{_datadir}/gmdb/*
%{_datadir}/gnome/help/gmdb/C/*
%{_mandir}/man1/gmdb2.1*
%{_mandir}/man1/mdb-*.1* %{_mandir}/man1/mdb-*.1*
%{_mandir}/man1/gmdb2.1*
%doc COPYING %doc COPYING
%ifarch %{ix86} x86_64
%files -n gmdb
%defattr(-,root,root)
%{_bindir}/gmdb2
%{_datadir}/gmdb/*
%{_datadir}/omf/mdbtools/gmdb-C.omf
%dir %{_datadir}/gnome/help/gmdb
%dir %{_datadir}/gnome/help/gmdb/C
%{_datadir}/gnome/help/gmdb/C/*
%endif
%files -n libmdb %files -n libmdb
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libmdbsql.so.* %{_libdir}/libmdbsql.so.*
%{_libdir}/libmdbodbc.so.* #%{_libdir}/libmdbodbc.so.*
%{_libdir}/libmdb.so.* %{_libdir}/libmdb.so.*
%doc AUTHORS COPYING.LIB %doc AUTHORS COPYING.LIB
%files -n libmdb-devel %files -n libmdb-devel
%defattr(-,root,root) %defattr(-,root,root)
%{_includedir}/*.h
%{_libdir}/libmdbsql.a %{_libdir}/libmdbsql.a
%{_libdir}/libmdbsql.la %{_libdir}/libmdbsql.la
%{_libdir}/libmdbsql.so %{_libdir}/libmdbsql.so
%{_libdir}/libmdbodbc.a %{_libdir}/libmdbodbc*.a
%{_libdir}/libmdbodbc.la %{_libdir}/libmdbodbc*.la
%{_libdir}/libmdbodbc.so %{_libdir}/libmdbodbc*.so
%{_libdir}/libmdb.a %{_libdir}/libmdb.a
%{_libdir}/libmdb.la %{_libdir}/libmdb.la
%{_libdir}/libmdb.so %{_libdir}/libmdb.so
%{_includedir}/*.h
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%doc ChangeLog NEWS README TODO %doc ChangeLog NEWS README TODO
%changelog %changelog
* Sun Jun 13 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.1-1mamba
- update to 0.7.1
* Sun Mar 10 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7-1mamba * Sun Mar 10 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7-1mamba
- update to 0.7 - update to 0.7