2 Commits

6 changed files with 78 additions and 20 deletions

15
_service Normal file
View File

@@ -0,0 +1,15 @@
<services>
<service name="obs_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">https://gitlab.com/fbb-git/bobcat.git</param>
<param name="revision">6.09.00</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="changesgenerate">enable</param>
</service>
<service name="set_version" mode="disabled"/>
<service name="tar" mode="disabled"/>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
</services>

4
_servicedata Normal file
View File

@@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://gitlab.com/fbb-git/bobcat.git</param>
<param name="changesrevision">bcc52da1cf058d6f90d8567e833a45e267b2f3d5</param></service></servicedata>

View File

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

3
bobcat-6.09.00.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,44 @@
-------------------------------------------------------------------
Mon Oct 20 13:04:50 UTC 2025 - Valentin Lefebvre <valentin.lefebvre@suse.com>
- Update to version 6.09.00:
* added static member String::to_string
* MemoryAccess objects keep track of their own loaded data blocks
* reimplemented MemoryStream
* reimplemented MemoryBuf
* reimplemented MemoryAccess
* reimplemented MemoryBridge
* modified the pipe and redirector man-pages
* fixed ending a log message when inserting endl.
* fixed typos in bobcat.yo
* added *mmap* man-pages
* renamed Mmapbuf to MmapBuf, added MmapBuf (related) classes to CLASSES
* using d_mapBufSize for existing buffers
* added IOmapbuf
* mapbase/seabspos.cc updated
* imapbuf and omapbuf needs its own seekoff
* i/omapbuf and mapbase in line with streambuf
* updated imapbuf in line with the std. streambuf behavior
* wip MapBase according to std. stream procedures
* input/output OK, using iosopenmode in the constructors
* Omapbuf writing tests (rdbuf, std. insertions, .write(...)' OK
* Added OmapBuf, R and initial W tests OK
* d_realSize to MabBase, using MapBase::currentPos. Reading OK
* mapbase prepared for writing, reading OK
* mapbase: common base class for imapbuf and omapbuf
* imapbuf derives from mapbase
* fixed optional long option argument bug in Arg
* DateTime constructors with TimeTime params use default arg UTC
* 'typdef' specs replaced by 'using' declarations
* update documentation references to bobcat5 -> bobcat6
* NPipe SF: Pipe now contains its additional members
* New classes now operational, see the changelog
* added proc/ and ifdstreams/
* updated milter: virtual members now private
* added ifdbufs, updated ifdbuf
- Add service file to get tarball
- Remove unecessary comments from specfile
-------------------------------------------------------------------
Wed Mar 19 08:46:47 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package libbobcat
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -28,7 +28,7 @@
%endif
Name: %{_lib_name}%{?psuffix}
Version: 6.02.02
Version: 6.09.00
Release: 0
Summary: Shared library implementing C++ classes that are frequently used
License: GPL-3.0-only
@@ -36,12 +36,8 @@ Group: Development/Tools/Building
URL: https://gitlab.com/fbb-git/bobcat
Source0: https://gitlab.com/fbb-git/bobcat/-/archive/%{version}/bobcat-%{version}.tar.gz
Source1: initialbobcatlib
#BuildRequires: libX11-devel
#BuildRequires: libopenssl-1_1-devel
#BuildRequires: readline-devel
#BuildRequires: sendmail-devel
%if "%{name}" == "%{_lib_name}"
BuildRequires: icmake
BuildRequires: icmake >= 12.03.00
%endif
BuildRequires: gcc-c++
@@ -88,29 +84,31 @@ Headers and documentation of classes defined in the Bobcat library.
Bobcat static library
%prep
%setup -q -n %{_name}-%{version}
%autosetup -p1 -n %{_name}-%{version}
%if "%{name}" == "%{_lib_name}"
%build
# Incase we have to use specific version of gcc:
export CXXFLAGS="%{optflags} --std=c++2a -Werror -fdiagnostics-color=never -ffat-lto-objects"
export ICMAKE_CPPSTD="--std=c++2b"
export CXXFLAGS="%{optflags} ${ICMAKE_CPPSTD} -Werror -fdiagnostics-color=never -ffat-lto-objects"
export CXX="g++"
sed -i 's/^#define CXX/\/\/ #define CXX/g' %{_name}/INSTALL.im
sed -i 's/^#define CXXFLAGS/\/\/ #define CXXFLAGS/g' %{_name}/INSTALL.im
sed -i 's/^#define DOC/\/\/ #define DOC/g' %{_name}/INSTALL.im
sed -i 's/^#define HDR/\/\/ #define HDR/g' %{_name}/INSTALL.im
sed -i 's/^#define LIB/\/\/ #define LIB/g' %{_name}/INSTALL.im
echo "/* created during rpmbuild */" >> %{_name}/INSTALL.im
echo "#define CXX \"${CXX}\"" >> %{_name}/INSTALL.im
echo "#define CXXFLAGS \"${CXXFLAGS}\"" >> %{_name}/INSTALL.im
echo "#define DOC \"%{_docdir}/%{_lib_name}%{_lib_version}-devel\"" >> %{_name}/INSTALL.im
echo "#define HDR \"%{_includedir}/%{_name}\"" >> %{_name}/INSTALL.im
echo "#define LIB \"%{_libdir}\"" >> %{_name}/INSTALL.im
{
echo "/* created during rpmbuild */"
echo "#define CXX \"${CXX}\""
echo "#define CXXFLAGS \"${CXXFLAGS}\""
echo "#define DOC \"%{_docdir}/%{_lib_name}%{_lib_version}-devel\""
echo "#define HDR \"%{_includedir}/%{_name}\""
echo "#define LIB \"%{_libdir}\""
} >> %{_name}/INSTALL.im
pushd %{_name}
./build dep
./build light
#echo -e "y\nn\ny\ny\n" | ./build libraries
popd
%install
@@ -140,7 +138,7 @@ Bobcat is an acronym of `Brokken's Own Base Classes And Templates'. This is the
would be use to build icmake without required it.
%build
export CXXFLAGS="%{optflags} --std=c++2a -Werror -fdiagnostics-color=never -ffat-lto-objects"
export CXXFLAGS="%{optflags} --std=c++2b -Werror -fdiagnostics-color=never -ffat-lto-objects"
export CXX="g++"
pushd %{_name}