From 2c5ceced571643cf9674102872ba0891ac1e817f Mon Sep 17 00:00:00 2001 From: Evan Miller Date: Thu, 3 Dec 2020 19:34:44 -0500 Subject: [PATCH] Remove mdbtools spec file This is used to build RPMs, but it is out of date and not under test coverage. If someone would like to restore it, please add some kind of test coverage so that it does not fall out of date in the future. See #201 --- .gitignore | 1 - configure.ac | 1 - mdbtools.spec.in | 91 ------------------------------------------------ 3 files changed, 93 deletions(-) delete mode 100644 mdbtools.spec.in diff --git a/.gitignore b/.gitignore index d0c8cb6..b4b6f99 100644 --- a/.gitignore +++ b/.gitignore @@ -27,7 +27,6 @@ include/mdbver.h libmdb.pc libmdbsql.pc libtool -mdbtools.spec types.h src/extras/mdb-hexdump src/odbc/unittest diff --git a/configure.ac b/configure.ac index dc63353..d90aa04 100644 --- a/configure.ac +++ b/configure.ac @@ -311,7 +311,6 @@ src/sql/Makefile src/odbc/Makefile src/fuzz/Makefile doc/Makefile -mdbtools.spec include/mdbver.h]) AC_OUTPUT dnl doc/reference/libmdb/Makefile]) diff --git a/mdbtools.spec.in b/mdbtools.spec.in deleted file mode 100644 index 0e91dce..0000000 --- a/mdbtools.spec.in +++ /dev/null @@ -1,91 +0,0 @@ -%define name @PACKAGE@ -%define version @VERSION@ - -Name: %{name} -Version: %{version} -Release: 1 -Vendor: github.com/mdbtools -License: LGPL/GPL -Group: System Environment/Libraries -Source: https://github.com/mdbtools/%{name}/archive/%{version}.tar.gz -BuildRoot: /var/tmp/%{name}-buildroot -Summary: MDB Tools is a suite of libraries and program for accessing data stored in Microsoft Access databases. - -%description -mdb-dump -- simple hex dump utility for looking at mdb files -mdb-schema -- prints DDL for the specified table -mdb-export -- export table to CSV format -mdb-tables -- a simple dump of table names to be used with shell scripts -mdb-header -- generates a C header to be used in exporting mdb data to a C prog -mdb-parsecvs -- generates a C program given a CSV file made with mdb-export -mdb-sql -- demo SQL engine program -mdb-ver -- print version of database - -%package devel -Group: Development/Libraries -Summary: Include files needed for development with MDB Tools -Requires: mdbtools = %{version} - -%package odbc -Group: System Environment/Libraries -Summary: MDB Tools ODBC driver for unixODBC -Requires: mdbtools = %{version}, unixODBC >= 2.0.0 - -%description devel -The mdbtools-devel package contains the files necessary for development with with the MDB Tools libraries. - -%description odbc -The mdbtools-odbc package contains ODBC driver build for unixODBC. - -%prep -%setup - -%build -%configure --with-unixodbc=/usr/local -make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" - -%install -rm -rf "$RPM_BUILD_ROOT" -make DESTDIR="$RPM_BUILD_ROOT" install -gunzip -c doc/install.tgz | tar x - -%post -/sbin/ldconfig - -%clean -rm -rf $RPM_BUILD_ROOT - -%files -%defattr(-,root,root) -%doc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO HACKING -%{_libdir}/libmdb.a -%{_libdir}/libmdb.la -%{_libdir}/libmdb.so* -%{_libdir}/libmdbsql.a -%{_libdir}/libmdbsql.la -%{_libdir}/libmdbsql.so* -%{_bindir}/mdb-schema -%{_bindir}/mdb-export -%{_bindir}/mdb-tables -%{_bindir}/mdb-header -%{_bindir}/mdb-parsecsv -%{_bindir}/mdb-dump -%{_bindir}/mdb-sql -%{_bindir}/mdb-ver -%{_bindir}/mdb-array -%{_mandir}/man1/* - -%files devel -%defattr (-,root,root) -%{_includedir}/mdbtools.h -%{_includedir}/mdbsql.h - -%files odbc -%defattr(-,root,root) -%{_libdir}/libmdbodbc.la -%{_libdir}/libmdbodbc.a -%{_libdir}/libmdbodbc.so* - -%changelog -* Sat Jan 11 2003 Brian Bruns -- Modifications for 0.5 ver and making .in version