mk-configure/mk-configure.spec

Name: mk-configure
Summary: Lightweight replacement for GNU autotools
Version: 0.24.0
Release: 1
License: BSD
Group: Development/Tools
URL: http://sourceforge.net/projects/mk-configure/
Description: mk-configure is a lightweight replacement for GNU autotools, written in bmake (portable version of NetBSD make), POSIX shell and POSIX utilities.

CentOS 7 x86_64

The build could not start because of the following missing build requirements:

Build Status

CentOS 6 x86_64

The build could not start because of the following missing build requirements:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authoruty: dfateyev
# Upstream: Aleksey Cheusov <vle$gmx,net>

Name: mk-configure
Version: 0.24.0
Release: 1%{?dist}

Summary: Lightweight replacement for GNU autotools
License: BSD
Group: Development/Tools

Url: http://sourceforge.net/projects/mk-configure/
Source: http://prdownloads.sf.net/%{name}/%{name}-%{version}.tar.gz
Packager: Aleksey Cheusov <vle@gmx.net>

BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildArch: noarch

Requires: bmake
BuildRequires: bmake

# for check
BuildRequires: perl, texinfo, lua-devel, pkgconfig, bison
BuildRequires: flex, gcc-c++, glib2-devel, groff, zlib-devel

%description
mk-configure is a lightweight replacement for GNU autotools, written in
bmake (portable version of NetBSD make), POSIX shell and POSIX utilities.

%prep
%setup

%define env \
unset MAKEFLAGS \
export PREFIX=%{_prefix} \
export MANDIR=%{_mandir}

# examples are built and tested either,
# let's keep a pristine copy
%{__cp} -al examples doc

%build
%env
bmake all

%install
%env
bmake install DESTDIR=%{buildroot}
%{__rm} -rf %{buildroot}%{_docdir}/%{name}

##%check
#unset MAKEFLAGS
#env LEXLIB=-lfl NOSUBDIR='hello_lua hello_lua2 hello_lua3 hello_reqd' bmake test

%clean
%{__rm} -rf %{buildroot}

%files
%doc NEWS README TODO doc/presentation.pdf
%doc doc/examples/
%{_bindir}/*
%{_datadir}/mk-configure/
%{_datadir}/mkc-mk/
%{_mandir}/man1/*
%{_mandir}/man7/*

%changelog
* Wed Apr 17 2013 David Hrbáč <david@hrbac.cz> - 0.24.0-1
- new upstream release

* Sat Jul 22 2012 Aleksey Cheusov <vle@gmx.net> 0.23.0-1
- update to 0.23.0

* Sun Apr  8 2012 Denis Fateyev <denis@fateyev.com> - 0.22.0-1
- Bump to 0.22.0

* Mon Jan  2 2012 Aleksey Cheusov <vle@gmx.net> 0.21.2-1
- adapted for repoforge

* Tue Dec 27 2011 Michael Shigorin <mike@altlinux.org> 0.21.2-alt5
- tweak examples so that they're built as well but packaged pristine

* Mon Dec 26 2011 Michael Shigorin <mike@altlinux.org> 0.21.2-alt4
- don't install just-built examples as docs

* Sat Dec 24 2011 Michael Shigorin <mike@altlinux.org> 0.21.2-alt3
- further spec cleanup
- check fixup (thx upstream)
- extended BR: properly

* Mon Nov 21 2011 Michael Shigorin <mike@altlinux.org> 0.21.2-alt2
- dropped MKCATPAGES (thx upstream)

* Mon Nov 07 2011 Michael Shigorin <mike@altlinux.org> 0.21.2-alt1
- 0.21.2
- minor spec cleanup

* Tue Jun 29 2010 Vitaly Lipatov <lav@altlinux.ru> 0.16.0-alt4
- add check section

* Fri Jun 25 2010 Vitaly Lipatov <lav@altlinux.ru> 0.16.0-alt3
- disable examples build

* Thu Jun 24 2010 Vitaly Lipatov <lav@altlinux.ru> 0.16.0-alt2
- fix install, disable lua test, enable all tests
- update buildreqs

* Fri Jun 18 2010 Vitaly Lipatov <lav@altlinux.ru> 0.16.0-alt1
- new version 0.16.0 (with rpmrb script)

* Tue Nov 17 2009 Vitaly Lipatov <lav@altlinux.ru> 0.12.0-alt1
- new version 0.12.0 (with rpmrb script)

* Wed Jul 29 2009 Vitaly Lipatov <lav@altlinux.ru> 0.10.0-alt3
- build for Sisyphus

* Thu Jul 23 2009 Aleksey Cheusov <vle@gmx.net> 0.10.0-alt2
- Not it depends on pkgsrc-mk-files, fixes and clean-ups

* Sun Jul 12 2009 Vitaly Lipatov <lav@altlinux.ru> 0.10.0-alt1
- initial build for ALT Linux Sisyphus