Sisyphus repository
Last update: 24 may 2020 | SRPMs: 17553 | Visits: 18598404
en ru br
ALT Linux repos
5.0: 0.1.5.r2373-alt0.M50.1
4.1: 0.1.5.r2373-alt0.M41.1

Group :: Development/Other
RPM: kBuild

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%def_disable    bootstrap
%define         short_version 0.1.9998
%define         svn_revision 3178

ExclusiveArch: %ix86 x86_64

Name:           kBuild
Version:        %short_version.r%svn_revision
Release:        alt4
License:        %gpl3plus
Group:          Development/Other
Summary:        A cross-platform build environment framework for complex tasks
Packager:       Evgeny Sinelnikov <sin at>

Source:         %name-%version.tar.bz2
Patch2:         kBuild-0.1.3-escape.patch
Patch3:         kBuild-alt-compat.patch

BuildRequires(pre): rpm-build-licenses
BuildRequires:  cvs flex libacl-devel
BuildRequires: perl-podlators

%if_disabled bootstrap
BuildRequires: kBuild

This is a GNU make fork with a set of scripts to simplify
complex tasks and portable versions of various UNIX tools to
ensure cross-platform portability.

The goals of the kBuild framework:
- Similar behavior across all supported platforms
- Flexibility, don't create unnecessary restrictions preventing
 ad-hoc solutions
- Makefiles can be simple to write and maintain
- One configuration file for a subtree automatically included
- Target configuration templates as the primary mechanism for
 makefile simplification
- Tools and SDKs for helping out the templates with flexibility
- Non-recursive makefile method by using sub-makefiles

It is used mainly to build VirtualBox OSE packages for RPM Fusion

   Knut St. Osmundsen <bird-kbuild-spam at>

%setup -q
%patch2 -p1
%patch3 -p2
chmod a+x kBuild/
chmod a+x src/sed/configure

%define bootstrap_mflags %_smp_mflags   \\\
       CFLAGS="%optflags"              \\\
       KBUILD_SVN_REV=%svn_revision    \\\

%define mflags %bootstrap_mflags        \\\
       NIX_INSTALL_DIR=%_prefix        \\\
       BUILD_TYPE=release              \\\
       MY_INST_MODE=0644               \\\

%if_enabled bootstrap
kBuild/ --full make -f bootstrap.gmk %bootstrap_mflags
kBuild/ kmk rebuild PATH_INS=`pwd` %mflags
kBuild/ kmk %mflags
pod2man -c 'kBuild for ALT Linux' -r %name-%version dist/debian/kmk.pod |sed -e 's/Debian/ALT Linux/' > kmk.1

kBuild/ kmk install PATH_INS=%buildroot %mflags
install -m 644 -D kmk.1 %buildroot/%_man1dir/kmk.1
chmod a-x %buildroot%_datadir/%name/*/*kmk



Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin