forked from pool/kbuild
Accepting request 79865 from devel:tools:building
- updated to 0.1.9998 (svn revision 2538) in order to build virtualbox 4.1.2 (forwarded request 79861 from mseben) OBS-URL: https://build.opensuse.org/request/show/79865 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kbuild?expand=0&rev=16
This commit is contained in:
committed by
Git OBS Bridge
parent
bff2866abe
commit
de834dc22b
30
kbuild.spec
30
kbuild.spec
@@ -23,38 +23,32 @@ Name: kbuild
|
||||
BuildRequires: bison flex libacl-devel
|
||||
License: GPL v2 or later
|
||||
Group: Development/Tools/Building
|
||||
Summary: framework for writing simple makefiles for complex tasks
|
||||
Version: 0.1.5svn2336
|
||||
Summary: Framework for writing simple makefiles for complex tasks
|
||||
Version: 0.1.9998svn2543
|
||||
Release: 3
|
||||
%define _svnrev 2336
|
||||
%define _svnrev 2543
|
||||
Source0: %{name}-%{version}.tar.bz2
|
||||
Patch0: kbuild-man.diff
|
||||
Patch1: warnings.diff
|
||||
Patch2: kbuild-dummy_noreturn.diff
|
||||
Patch3: kbuild-func_missing_args.diff
|
||||
Patch4: glibc-2.10.diff
|
||||
Patch5: kbuild-pthread.diff
|
||||
Patch6: kbuild-timestamps.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
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
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Knut St. Osmundsen <bird-kbuild-spam@anduin.net>
|
||||
@@ -66,6 +60,8 @@ Authors:
|
||||
%patch2
|
||||
%patch3
|
||||
%patch4
|
||||
%patch5 -p1
|
||||
%patch6 -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
@@ -78,19 +74,21 @@ kBuild/env.sh kmk rebuild PATH_INS=`pwd`
|
||||
pod2man -c 'kBuild for SUSE Linux' -r kBuild-%version kmk.pod > kmk.1
|
||||
|
||||
%install
|
||||
kBuild/env.sh kmk NIX_INSTALL_DIR=/usr BUILD_TYPE=release PATH_INS=%{buildroot} LDFLAGS=-Wl,--as-needed
|
||||
kBuild/env.sh kmk NIX_INSTALL_DIR=/usr BUILD_TYPE=release PATH_INS=%{buildroot} LDFLAGS=-Wl,--as-needed install
|
||||
%__install -m 644 -D kmk.1 %buildroot/%_mandir/man1/kmk.1
|
||||
%__chmod a-x %buildroot/usr/share/kBuild/*/*kmk
|
||||
%__rm -r %{buildroot}%{_datadir}/doc/kBuild-0.1.5
|
||||
|
||||
#remove execute flag, if occurs
|
||||
%__chmod a-x %{buildroot}/%{_datadir}/kBuild/*/*kmk
|
||||
%__rm -r %{buildroot}%{_datadir}/doc/kBuild-0.1.9998
|
||||
%clean
|
||||
%__rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%doc COPYING ChangeLog
|
||||
%doc kBuild/doc/COPYING-FDL-1.3
|
||||
%doc kBuild/doc/QuickReference-kmk.*
|
||||
%{_mandir}/man1/kmk.1.gz
|
||||
%{_bindir}/*
|
||||
%{_mandir}/*/*
|
||||
%{_datadir}/kBuild
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user