public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gnucobol] epel8: Include ESQL
@ 2026-08-27 19:34 Gwyn Ciesla
0 siblings, 0 replies; only message in thread
From: Gwyn Ciesla @ 2026-08-27 19:34 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/gnucobol
Branch : epel8
Commit : 3d72265a41b12e827446c23a55a8f567d62877dc
Author : Gwyn Ciesla <gwync@protonmail.com>
Date : 2023-10-19T16:35:02-05:00
Stats : +34/-4 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/gnucobol/c/3d72265a41b12e827446c23a55a8f567d62877dc?branch=epel8
Log:
Include ESQL
---
diff --git a/.gitignore b/.gitignore
index 3428fd9..c749e98 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@
/gnucobol-3.1.2.tar.gz.sig
/gnucobol-3.2.tar.gz
/gnucobol-3.2.tar.gz.sig
+/gnucobol-sql-3.0.tar.gz
diff --git a/gnucobol.spec b/gnucobol.spec
index fbee300..7fae798 100644
--- a/gnucobol.spec
+++ b/gnucobol.spec
@@ -3,16 +3,17 @@
Name: gnucobol
Version: 3.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: COBOL compiler
-License: GPLv3+ AND LGPL-3.0-or-later AND GFDL-1.3-only
+License: GPL-3.0-or-later AND LGPL-3.0-or-later AND GFDL-1.3-only AND FSFAP AND GPL-2.0-or-later AND LGPL-3.0-or-later
URL: https://www.gnu.org/software/gnucobol/
Source0: https://ftp.gnu.org/gnu/gnucobol/gnucobol-%{version}.tar.gz
Source1: https://ftp.gnu.org/gnu/gnucobol/gnucobol-%{version}.tar.gz.sig
Source2: https://ftp.gnu.org/gnu/gnu-keyring.gpg
Source3: https://www.itl.nist.gov/div897/ctg/suites/newcob.val.Z
+Source4: http://downloads.sourceforge.net/%{name}/contrib/esql/%{name}-sql-3.0.tar.gz
BuildRequires: gcc
BuildRequires: gmp-devel
@@ -28,7 +29,9 @@ BuildRequires: json-c12-devel
BuildRequires: json-c-devel
%endif
BuildRequires: make
-
+# esql
+BuildRequires: unixODBC-devel
+BuildRequires: gcc-c++
Requires: gcc
Requires: glibc-devel
@@ -48,6 +51,14 @@ License: LGPL-3.0-or-later
%{summary}.
Runtime libraries for GnuCOBOL
+%package esql
+Summary: ESQL for GnuCOBOL
+License: LGPL-3.0-or-later
+
+%description esql
+%{summary}.
+ESQL for GnuCOBOL
+
%prep
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
%autosetup
@@ -66,11 +77,21 @@ cp %{SOURCE3} tests/cobol85/
iconv -c --to-code=UTF-8 ChangeLog > ChangeLog.new
mv ChangeLog.new ChangeLog
+tar -xzf %{SOURCE4}
+pushd gnucobol-sql-3.0/
+%configure --enable-static=no
+%make_build
+popd
+
%install
-make install DESTDIR=%{buildroot}
+%make_install
find %{buildroot}/%{_libdir} -type f -name "*.*a" -exec rm -f {} ';'
rm -rf %{buildroot}/%{_infodir}/dir
+pushd gnucobol-sql-3.0/
+%make_install
+popd
+
%find_lang %{name}
%check
@@ -99,7 +120,14 @@ make test CFLAGS="%optflags -O"
%{_libdir}/libcob.so.4*
%{_libdir}/gnucobol/CBL_OC_DUMP.so
+%files esql
+%{_bindir}/esqlOC
+%{_libdir}/libocsql.so*
+
%changelog
+* Thu Oct 19 2023 Gwyn Ciesla <gwync@protonmail.com> - 3.2-2
+- Include esql 3.0
+
* Fri Jul 28 2023 Gwyn Ciesla <gwync@protonmail.com> - 3.2-1
- 3.2
diff --git a/sources b/sources
index da21c84..d95db34 100644
--- a/sources
+++ b/sources
@@ -2,3 +2,4 @@ SHA512 (gnucobol-3.2.tar.gz) = 8fffb22ea0a7b2dc3abdc836aca543b744f678685ece22758
SHA512 (gnucobol-3.2.tar.gz.sig) = 97790752eeb0db71ba18febde7c4a74f3ac01b477dcf60b131424eca317ad7595ae8748287f3084bf016293c8d99de224bcb3d8e920d955b9f59bd86370827d0
SHA512 (gnu-keyring.gpg) = e0bdefec3d194b0eb2e793c2b6906187cfef45445a03acb5edc748d5686a5f7d5acff6ac0b6faae02bdc09a99d0ea731505b4bf7e49dedae126a77dac59f89e6
SHA512 (newcob.val.Z) = eb784866d1a335834074fbe103b5c5f5da810d847ae14a64316ecbb2c0f95ef751d2f2ec609b8fa21ef0b775817dc61115a574608ec89750d779ae0afbb95379
+SHA512 (gnucobol-sql-3.0.tar.gz) = 40229a6f29719c79f7129c6eb502844802bb398dfc529563bcc34e74279c7554b6a9839d0216d5ffa92b087ce7bf38f12d733b6753bfca1575f7121c758862a4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-27 19:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-27 19:34 [rpms/gnucobol] epel8: Include ESQL Gwyn Ciesla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox