initial commit of file from CVS for buildsys-macros on Wed 12 Jul 14:00:07 BST 2023

This commit is contained in:
Brian Read 2023-07-12 14:00:07 +01:00
parent be72db912e
commit c2090fc36d
6 changed files with 80 additions and 1 deletions

1
.gitattributes vendored Normal file
View File

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

3
.gitignore vendored Normal file
View File

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

21
Makefile Normal file
View File

@ -0,0 +1,21 @@
# Makefile for source rpm: buildsys-macros
# $Id: Makefile,v 1.1 2016/02/04 18:18:39 vip-ire Exp $
NAME := buildsys-macros
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)

View File

@ -1,3 +1,11 @@
# buildsys-macros
3rd Party (Maintained by Koozali) git repo for buildsys-macros smeserver
3rd Party (Maintained by Koozali) git repo for buildsys-macros 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 />
Buildsys-macros is a software package designed for Linux and Unix systems that provides a set of macros to automate the process of managing software builds. It provides a set of scripts and Makefiles to automate the building, testing, and deploying of software packages. It offers multiple target platforms and languages and provides a platform-agnostic and language-agnostic way of quickly building and deploying software packages.

45
buildsys-macros.spec Normal file
View File

@ -0,0 +1,45 @@
# $Id: buildsys-macros.spec,v 1.2 2016/07/25 03:31:22 unnilennium Exp $
Name: buildsys-macros
Summary: Macros for the Fedora Buildsystem
# The value for version should match the version of Fedora Core.
Version: 7
Release: 1%{?dist}
License: GPL
Group: Development/Buildsystem
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Buildarch: noarch
Requires: rpmdevtools
%description
Macros for the Fedora Buildsystem
%prep
%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/etc/rpm/
VERSION=%{version}
printf %s%b "%" "rhel $VERSION\n" >> $RPM_BUILD_ROOT/etc/rpm/macros.disttag
printf %s%b "%" "dist .el$VERSION.sme\n" >> $RPM_BUILD_ROOT/etc/rpm/macros.disttag
printf %s%b "%" "el$VERSION 1\n" >> $RPM_BUILD_ROOT/etc/rpm/macros.disttag
printf %s%b "%" "__arch_install_post /usr/lib/rpm/check-buildroot\n" >> $RPM_BUILD_ROOT/etc/rpm/macros.checkbuild
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
/etc/rpm/macros.disttag
/etc/rpm/macros.checkbuild
%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.
* Thu Jan 24 2013 Shad L. Lords <slords@mail.com> 6-1.sme
- Initial build.

1
contriborbase Normal file
View File

@ -0,0 +1 @@
sme10