Репозитории ALT
S: | 0.1.9998.r3592-alt3 |
5.1: | 0.1.5.r2373-alt0.M51.1 |
4.1: | 0.1.5.r2373-alt0.M41.1 |
4.0: | |
+backports: | 0.1.3.r1651-alt0.M40.1 |
Группа :: Разработка/Прочее
Пакет: kBuild
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# This spec is backported to ALTLinux 5.1 automatically by rpmbph script. Do not edit it.
#
%define short_version 0.1.5
Name: kBuild
Version: %short_version.r2373
Release: alt0.M51.1
License: %gpl3plus
Group: Development/Other
Summary: A cross-platform build environment framework for complex tasks
Packager: Evgeny Sinelnikov <sin at altlinux.ru>
Url: http://svn.netlabs.org/kbuild
Source: %name-%version.tar.bz2
Patch0: kBuild-0.1.5-strlcpy-linux.patch
Patch1: kBuild-0.1.5-dprintf.patch
Patch2: kBuild-0.1.3-escape.patch
BuildRequires(pre): rpm-build-licenses
BuildRequires: cvs flex libacl-devel
%description
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
repository.
Authors:
--------
Knut St. Osmundsen <bird-kbuild-spam at anduin.net>
%prep
%setup -q
%patch -p2
%patch1 -p1
%patch2 -p1
%build
export CFLAGS="$RPM_OPT_FLAGS"
kBuild/env.sh --full make -f bootstrap.gmk SRCDIR=`pwd`
kBuild/env.sh kmk rebuild PATH_INS=`pwd`
pod2man -c 'kBuild for ALT Linux' -r %name-%version dist/debian/kmk.pod |sed -e 's/Debian/ALT Linux/' > kmk.1
%install
kBuild/env.sh kmk NIX_INSTALL_DIR=%_prefix BUILD_TYPE=release PATH_INS=%buildroot LDFLAGS=-Wl,--as-needed
install -m 644 -D kmk.1 %buildroot/%_man1dir/kmk.1
chmod a-x %buildroot%_datadir/%name/*/*kmk
%files
%_docdir/%name-%short_version
%_bindir/*
%_man1dir/*
%_datadir/%name
%changelog
…
Полный changelog можно просмотреть здесь
#
%define short_version 0.1.5
Name: kBuild
Version: %short_version.r2373
Release: alt0.M51.1
License: %gpl3plus
Group: Development/Other
Summary: A cross-platform build environment framework for complex tasks
Packager: Evgeny Sinelnikov <sin at altlinux.ru>
Url: http://svn.netlabs.org/kbuild
Source: %name-%version.tar.bz2
Patch0: kBuild-0.1.5-strlcpy-linux.patch
Patch1: kBuild-0.1.5-dprintf.patch
Patch2: kBuild-0.1.3-escape.patch
BuildRequires(pre): rpm-build-licenses
BuildRequires: cvs flex libacl-devel
%description
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
repository.
Authors:
--------
Knut St. Osmundsen <bird-kbuild-spam at anduin.net>
%prep
%setup -q
%patch -p2
%patch1 -p1
%patch2 -p1
%build
export CFLAGS="$RPM_OPT_FLAGS"
kBuild/env.sh --full make -f bootstrap.gmk SRCDIR=`pwd`
kBuild/env.sh kmk rebuild PATH_INS=`pwd`
pod2man -c 'kBuild for ALT Linux' -r %name-%version dist/debian/kmk.pod |sed -e 's/Debian/ALT Linux/' > kmk.1
%install
kBuild/env.sh kmk NIX_INSTALL_DIR=%_prefix BUILD_TYPE=release PATH_INS=%buildroot LDFLAGS=-Wl,--as-needed
install -m 644 -D kmk.1 %buildroot/%_man1dir/kmk.1
chmod a-x %buildroot%_datadir/%name/*/*kmk
%files
%_docdir/%name-%short_version
%_bindir/*
%_man1dir/*
%_datadir/%name
%changelog
…
Полный changelog можно просмотреть здесь