initial commit of file from CVS for cvm on Wed 12 Jul 14:07:53 BST 2023

master 0.97
Brian Read 10 months ago
parent 94f1277d4d
commit a6065cb37d

1
.gitattributes vendored

@ -0,0 +1 @@
*.97.tar.gz filter=lfs diff=lfs merge=lfs -text

3
.gitignore vendored

@ -0,0 +1,3 @@
*.rpm
*.log
*spec-20*

@ -0,0 +1,21 @@
# Makefile for source rpm: cvm
# $Id: Makefile,v 1.1 2016/02/04 12:20:35 vip-ire Exp $
NAME := cvm
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 @@
# cvm
3rd Party (Maintained by Koozali) git repo for cvm smeserver
3rd Party (Maintained by Koozali) git repo for cvm 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 />
CVM (Computational Vision and Modeling) is a software package used for computer vision, image processing and computer graphics. It is designed to facilitate research in these areas and provides tools for developing and testing new algorithms. CVM provides a range of features, including image recognition and classification, 3D reconstruction, and feature detection. It also includes libraries for image processing, 3D visualization, and other related tasks.

@ -0,0 +1 @@
sme10

BIN
cvm-0.97.tar.gz (Stored with Git LFS)

Binary file not shown.

@ -0,0 +1,105 @@
# $Id: cvm.spec,v 1.3 2022/03/06 06:52:52 jpp Exp $
Name: cvm
Summary: Credential Validation Modules
Version: 0.97
Release: 1%{?dist}
License: GPL
Group: Utilities/System
Source: http://untroubled.org/cvm/cvm-0.97.tar.gz
BuildRoot: %{_tmppath}/cvm-buildroot
URL: http://untroubled.org/cvm/
BuildRequires: libtool
BuildRequires: bglibs >= 2.04
BuildRequires: bglibs-devel
BuildRequires: mysql-devel
BuildRequires: postgresql-devel
Obsoletes: cvm-vmailmgr
%description
This package implements the CVM interface as a client (cvm-testclient),
and as a module (cvm-unix, cvm-pwfile).
%package devel
Summary: Development libraries for CVM
Group: Development/Libraries
%description devel
This package includes all the development libraries and headers for
building CVM clients or modules.
%package mysql
Group: Utilities/System
Summary: MySQL Credential Validation Modules
%description mysql
Credential Validation Modules that authenticate against a MySQL server.
%package pgsql
Group: Utilities/System
Summary: PostgreSQL Credential Validation Modules
%description pgsql
Credential Validation Modules that authenticate against a PostgreSQL server.
%prep
%setup
%build
%ifarch x86_64
echo gcc "%{optflags}" -fPIC -I%{_includedir}/pgsql -I/usr/local/bglibs/include >conf-cc
echo gcc -s -fPIC -L%{_libdir}/mysql -I/usr/local/bglibs/include -L/usr/local/bglibs/lib/ >conf-ld
%else
echo gcc "%{optflags}" -I%{_includedir}/pgsql >conf-cc
echo gcc -s -L%{_libdir}/mysql >conf-ld
%endif
echo %{_bindir} >conf-bin
echo %{_includedir} >conf-include
#echo "/usr/local/bglibs/include/" >conf-include
echo %{_libdir} >conf-lib
make libraries programs mysql pgsql
%install
rm -fr %{buildroot}
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_includedir}
mkdir -p %{buildroot}%{_libdir}
make install_prefix=%{buildroot} install
%clean
rm -rf %{buildroot}
%post
/sbin/ldconfig
%files
%defattr(-,root,root)
%doc COPYING NEWS README *.html
%{_bindir}/cvm-[^mp]*
%{_bindir}/cvm-pwfile
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/*.so
%files mysql
%defattr(-,root,root)
%{_bindir}/cvm-mysql*
%files pgsql
%defattr(-,root,root)
%{_bindir}/cvm-pgsql*
%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.
* Sun Mar 06 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.97-1.sme
- build cvm 0.97 for SME10 [SME: 11315]
Loading…
Cancel
Save