initial commit of file from CVS for bglibs on Wed 12 Jul 13:59:23 BST 2023
parent
cde451f1fe
commit
88f4ce393c
@ -0,0 +1 @@
|
||||
*.tar.gz filter=lfs diff=lfs merge=lfs -text
|
@ -0,0 +1,3 @@
|
||||
*.rpm
|
||||
*.log
|
||||
*spec-20*
|
@ -0,0 +1,21 @@
|
||||
# Makefile for source rpm: bglibs
|
||||
# $Id: Makefile,v 1.1 2016/02/03 21:28:06 vip-ire Exp $
|
||||
NAME := bglibs
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
@ -1,3 +1,11 @@
|
||||
# bglibs
|
||||
|
||||
3rd Party (Maintained by Koozali) git repo for bglibs smeserver
|
||||
3rd Party (Maintained by Koozali) git repo for bglibs smeserver
|
||||
|
||||
## Description
|
||||
|
||||
<br />*This description has been generated by an LLM AI system and cannot be relied on to be fully correct.*
|
||||
*Once it has been checked, then this comment will be deleted*
|
||||
<br />
|
||||
|
||||
bglibs is a software package that provides a range of basic functions for the development of graphics-based applications. It includes a library of functions for drawing lines, circles, rectangles and text, as well as functions for creating and manipulating images. It also provides support for loading and saving various image formats, and other basic image manipulation functions.
|
||||
|
@ -0,0 +1,12 @@
|
||||
--- bglibs-2.04.old/selftests.sh 2018-02-23 11:24:55.000000000 -0500
|
||||
+++ bglibs-2.04/selftests.sh 2022-03-05 21:25:11.625000000 -0500
|
||||
@@ -10,6 +10,9 @@
|
||||
trap 'echo "Cleaning up $t"; rm -r $t' EXIT
|
||||
|
||||
do_test() {
|
||||
+ if [ $1 == 'net/resolve_ipv4addr.c' ]; then
|
||||
+ return 0
|
||||
+ fi
|
||||
echo "Testing $1"
|
||||
rm -f $t/*
|
||||
|
Binary file not shown.
@ -0,0 +1,89 @@
|
||||
%define basedir /usr/local/bglibs
|
||||
%define _libdir %{basedir}/lib
|
||||
%define _includedir %{basedir}/include
|
||||
|
||||
Name: bglibs
|
||||
Summary: BG Libraries Collection
|
||||
Version: 2.04
|
||||
Release: 1
|
||||
License: GPL
|
||||
Group: Development/Libraries
|
||||
Source: http://untroubled.org/%{name}/%{name}-%{version}.tar.gz
|
||||
Patch0: bglibs-2.04-mock.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-buildroot
|
||||
BuildRequires: libtool
|
||||
BuildRequires: glibc glibc-static glibc-devel
|
||||
BuildRequires: mtools autoconf
|
||||
URL: http://untroubled.org/%{name}/
|
||||
Packager: Bruce Guenter <bruce@untroubled.org>
|
||||
|
||||
%description
|
||||
BG Libraries Collection
|
||||
|
||||
%package devel
|
||||
Summary: Development includes and libraries for bglibs
|
||||
Requires: bglibs = %{version}
|
||||
Group: Development/Libraries
|
||||
|
||||
%description devel
|
||||
The bglibs-devel package contains the header and object files necessary
|
||||
for developing programs which use the bglibs libraries.
|
||||
|
||||
%prep
|
||||
%setup
|
||||
%patch0 -p1
|
||||
echo gcc "%{optflags}" -g >conf-cc
|
||||
echo gcc -g -L. >conf-ld
|
||||
echo %{_includedir} >conf-include
|
||||
echo %{_libdir} >conf-lib
|
||||
echo %{_bindir} >conf-bin
|
||||
echo %{_mandir} >conf-man
|
||||
|
||||
%build
|
||||
make
|
||||
|
||||
%install
|
||||
rm -fr %{buildroot}
|
||||
make install_prefix=%{buildroot} install
|
||||
|
||||
cp -a doc %{buildroot}%{basedir}
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%post
|
||||
fgrep -x /usr/local/bglibs/lib /etc/ld.so.conf >/dev/null \
|
||||
|| echo /usr/local/bglibs/lib >>/etc/ld.so.conf
|
||||
/sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc ANNOUNCEMENT COPYING NEWS README
|
||||
%{basedir}/lib/*.so.*
|
||||
%{_bindir}/bg-installer
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{basedir}/doc
|
||||
%{basedir}/include
|
||||
%{basedir}/lib/*.a
|
||||
%{basedir}/lib/*.la
|
||||
#%{basedir}/lib/*.lib
|
||||
%{basedir}/lib/*.so
|
||||
#%{basedir}/lib/*/*.a
|
||||
%{_bindir}/cli-generate
|
||||
%{_bindir}/crc-gentab
|
||||
%{_mandir}/*/*
|
||||
|
||||
%changelog
|
||||
* Wed Jul 12 2023 BogusDateBot
|
||||
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
|
||||
by assuming the date is correct and changing the weekday.
|
||||
|
||||
* Sat Mar 05 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.04-1.sme
|
||||
- initial build for SME10 [SME: 11883]
|
||||
patched selftests.sh to avoid net/resolve_ipv4addr.c test which fails under mock
|
||||
added BuildRequires glibc glibc-static glibc-devel mtools autoconf
|
||||
commented out files for devel %{basedir}/lib/*.lib and %{basedir}/lib/*/*.a
|
||||
as they fails.
|
||||
|
@ -0,0 +1 @@
|
||||
sme10
|
Loading…
Reference in New Issue