Compare commits

...

10 Commits

Author SHA256 Message Date
43225dcea8 Accepting request 902556 from home:SeaEagle1:CourierMTA
Fix to allow Factory/Tumbleweed building:
- Set --std=c++14 to allow for deprecated exception definitions

OBS-URL: https://build.opensuse.org/request/show/902556
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/opendbx?expand=0&rev=15
2021-06-29 12:06:10 +00:00
Ilmar Kruis
3255af107d OBS-URL: https://build.opensuse.org/package/show/home:SeaEagle1:CourierMTA/opendbx?expand=0&rev=26 2021-06-26 21:19:37 +00:00
Ilmar Kruis
b7ed9adcca OBS-URL: https://build.opensuse.org/package/show/home:SeaEagle1:CourierMTA/opendbx?expand=0&rev=25 2021-06-26 21:18:51 +00:00
6104386db6 Accepting request 795877 from home:SeaEagle1:CourierMTA
- Add Leap 15.2 to previous Tumbleweed buildfix

OBS-URL: https://build.opensuse.org/request/show/795877
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/opendbx?expand=0&rev=14
2020-04-23 12:54:08 +00:00
Ilmar Kruis
98103237c2 OBS-URL: https://build.opensuse.org/package/show/home:SeaEagle1:CourierMTA/opendbx?expand=0&rev=23 2020-04-20 16:07:00 +00:00
Ilmar Kruis
914a388ae4 OBS-URL: https://build.opensuse.org/package/show/home:SeaEagle1:CourierMTA/opendbx?expand=0&rev=22 2020-04-20 15:32:55 +00:00
Ilmar Kruis
d3268a0425 OBS-URL: https://build.opensuse.org/package/show/home:SeaEagle1:CourierMTA/opendbx?expand=0&rev=21 2020-04-20 15:28:51 +00:00
d18a2e6d67 Accepting request 698691 from home:SeaEagle1:CourierMTA
- Add new postgresql-server-devel package for Tumbleweed build
- Update to 1.4.6
	* Several bugs fixed
	* Enhanced determination of column types in SQLite3 backend when SQLite returns a NULL value
	* Improved recovery from errors in odbx-sql utility
	* Updated libtool usage to 2.2.6b
- Set proper sqlite3 requirements for Tumbleweed / Leap 15

OBS-URL: https://build.opensuse.org/request/show/698691
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/opendbx?expand=0&rev=13
2019-05-21 08:31:34 +00:00
1281ec22a4 Remove redundant tags/sections; smp_mflags; pkgconfig
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/opendbx?expand=0&rev=12
2012-01-29 18:07:40 +00:00
cf70adad78 - fix typo
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/opendbx?expand=0&rev=11
2010-04-28 00:51:13 +00:00
5 changed files with 68 additions and 27 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e7f65e71984395b7ac527382a6068bfa3c9f14b27e47d1c478dc7a7480a0fd45
size 440241

3
opendbx-1.4.6.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2246a03812c7d90f10194ad01c2213a7646e383000a800277c6fb8d2bf81497c
size 587514

View File

@@ -1,3 +1,39 @@
-------------------------------------------------------------------
Sat Jun 26 21:19:09 UTC 2021 - Ilmar Kruis <ikruis@gmail.com>
- Set --std=c++14 to allow for deprecated exception definitions
-------------------------------------------------------------------
Mon Apr 20 16:06:23 UTC 2020 - Ilmar Kruis <ikruis@gmail.com>
- Add Leap 15.2 to previous Tumbleweed buildfix
-------------------------------------------------------------------
Sat Apr 27 21:25:49 UTC 2019 - Ilmar Kruis <ikruis@gmail.com>
- Add new postgresql-server-devel package for Tumbleweed build
-------------------------------------------------------------------
Tue Jan 8 23:42:06 UTC 2019 - Ilmar Kruis <ikruis@gmail.com>
- Update to 1.4.6
* Several bugs fixed
* Enhanced determination of column types in SQLite3 backend when SQLite returns a NULL value
* Improved recovery from errors in odbx-sql utility
* Updated libtool usage to 2.2.6b
-------------------------------------------------------------------
Fri Dec 28 22:38:49 UTC 2018 - Ilmar Kruis <ikruis@gmail.com>
- Set proper sqlite3 requirements for Tumbleweed / Leap 15
-------------------------------------------------------------------
Sun Jan 29 17:58:35 UTC 2012 - jengelh@medozas.de
- Remove redundant tags/sections per specfile guideline suggestions
- Parallel building using %_smp_mflags
- Enable pkgconfig provides
-------------------------------------------------------------------
Wed Apr 28 00:37:42 UTC 2010 - mrueckert@suse.de

View File

@@ -1,42 +1,51 @@
# norootforbuild
Name: opendbx
Version: 1.4.5
Version: 1.4.6
Release: 0
%define pkg_name opendbx
#
License: LGPL
License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++
#
%if 0%{?suse_version} > 1000
%define with_opendbx_sqlite3 1
%define with_opendbx_mysql 1
%if 0%{?suse_version} > 1000 || 0%{?sle_version} >= 150000
%define with_opendbx_sqlite3 1
%define with_opendbx_mysql 1
%endif
%if 0%{?sles_version} < 11
%define with_opendbx_sqlite2 1
%if 0%{?sles_version} > 0 && 0%{?sles_version} < 11
%define with_opendbx_sqlite2 1
%endif
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++
BuildRequires: gcc-c++ pkgconfig
BuildRequires: readline-devel
%if 0%{?with_opendbx_mysql}
BuildRequires: mysql-devel
%endif
BuildRequires: postgresql-devel
%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150200
BuildRequires: postgresql-server-devel
%endif
%if 0%{?with_opendbx_sqlite3}
%if 0%{?suse_version} >= 1500
BuildRequires: sqlite3-devel
%else
BuildRequires: sqlite-devel > 3
%endif
%endif
%if 0%{?with_opendbx_sqlite2}
%if 0%{?sles_version} == 9
%if 0%{?sles_version} == 9
BuildRequires: sqlite-devel
%else
%else
BuildRequires: sqlite2-devel
%endif
%endif
%endif
Requires: %{pkg_name}_backend
#
Url: http://www.linuxnetworks.de/doc/index.php/OpenDBX
Source: http://www.linuxnetworks.de/opendbx/download/%{pkg_name}-%{version}.tar.bz2
Source: http://www.linuxnetworks.de/opendbx/download/%{pkg_name}-%{version}.tar.gz
#
Summary: A single C interface to various database backends
%description
@@ -121,7 +130,7 @@ This package holds the development files for opendbx.
%package backend-mysql
Group: Development/Libraries/C and C++
#
Requires: %{pkg_lib_name} = %{version}
Requires: %{pkg_libname} = %{version}
Provides: %{pkg_name}_backend = %{version}-%{release}
#
Summary: MySQL backend for opendbx
@@ -145,7 +154,7 @@ This package holds the MySQL backend for opendbx.
%package backend-pgsql
Group: Development/Libraries/C and C++
#
Requires: %{pkg_lib_name} = %{version}
Requires: %{pkg_libname} = %{version}
Provides: %{pkg_name}_backend = %{version}-%{release}
#
Summary: PgSQL backend for opendbx
@@ -168,7 +177,7 @@ This package holds the pgSQL backend for opendbx.
%package backend-sqlite3
Group: Development/Libraries/C and C++
#
Requires: %{pkg_lib_name} = %{version}
Requires: %{pkg_libname} = %{version}
Provides: %{pkg_name}_backend = %{version}-%{release}
#
Summary: SQLite 3 backend for opendbx
@@ -192,7 +201,7 @@ This package holds the SQLite 3 backend for opendbx.
%package backend-sqlite2
Group: Development/Libraries/C and C++
#
Requires: %{pkg_lib_name} = %{version}
Requires: %{pkg_libname} = %{version}
Provides: %{pkg_name}_backend = %{version}-%{release}
#
Summary: SQLite 2 backend for opendbx.
@@ -222,7 +231,7 @@ export CFLAGS="%{optflags} \
$(%{_bindir}/mysql_config --include) \
%endif
-I$(/usr/bin/pg_config --includedir) -fno-strict-aliasing"
export CPPFLAGS="$CFLAGS"
export CPPFLAGS="$CFLAGS --std=c++14"
%configure \
--with-pic \
--disable-static \
@@ -238,7 +247,7 @@ sqlite \
sqlite3 \
%endif
"
%{__make}
make %{?_smp_mflags}
%install
%makeinstall
@@ -246,9 +255,6 @@ find %{buildroot} -type f -name \*.la -print0 | xargs -r0 rm -v
%find_lang %{pkg_name}
%find_lang opendbx-utils
%clean
%{__rm} -rf %{buildroot}
%post -n %{pkg_libname} -p /sbin/ldconfig
%postun -n %{pkg_libname} -p /sbin/ldconfig

1
series
View File

@@ -1 +0,0 @@
opendbx-1.4.5_avoid_version.patch