Summary: Icmake - an Intelligent C-like Maker
Summary(pl.UTF-8): Icmake - inteligentny C-podobny "maker"
Name: icmake
-Version: 7.15.00
+Version: 7.16.00
Release: 1
-License: GPL
+License: GPL v3
Group: Development/Building
Source0: http://downloads.sourceforge.net/icmake/%{name}_%{version}.orig.tar.gz
-# Source0-md5: 3f23dcd960b03fd5b808f29372980dbc
+# Source0-md5: 174cf585d9133a42797d49e280345f03
URL: http://icmake.sourceforge.net/
BuildRequires: bash
+BuildRequires: sed >= 4.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-Icmake is yet another maker -- but this time, one that uses a C-like
+Icmake is yet another maker - but this time, one that uses a C-like
syntaxis. The Icmake scripts should feel `natural' to all C
programmers. Icmake is furthermore a powerful shell script language:
it can be used for program maintenance as well as for system
administrative tasks.
%description -l pl.UTF-8
-Icmake jest kolejnym programem typu "make" -- ale takim, który używa
+Icmake jest kolejnym programem typu "make" - ale takim, który używa
składni podobnej do C. Skrypty Icmake powinny być dość 'naturalne' dla
programistów C. Icmake jest ponadto potężnym narzędziem skryptowym:
może być używany równie dobrze do tworzenia programów z równym
%prep
%setup -q
-sed -i -e 's#gcc#%{__cc}#g' icm_*
-sed -i -e 's#-O2 -g#%{rpmcflags} %{rpmcppflags}#g' icm_*
-sed -i -e 's#/lib/#/%{_lib}/#g' INSTALL.im
+%{__sed} -i -e 's#gcc#%{__cc}#g' icm_bootstrap
+%{__sed} -i -e 's#/lib/#/%{_lib}/#g' INSTALL.im
%build
+CFLAGS="%{rpmcflags} %{rpmcppflags}" \
+LDFLAGS="%{rpmldflags}" \
./icm_bootstrap /
%install
%dir %{_datadir}/%{name}/parser
%{_datadir}/%{name}/parser/grammar
%dir %{_datadir}/%{name}/parser/gramspec
-%dir %{_datadir}/%{name}/parser/gramspec/*.*
%attr(755,root,root) %{_datadir}/%{name}/parser/gramspec/grambuild
-%{_datadir}/%{name}/[^p]*
-%{_mandir}/man1/ic*.1*
-%{_mandir}/man7/ic*.7*
+%{_datadir}/%{name}/parser/gramspec/*.gr0
+%{_datadir}/%{name}/[!p]*
+%{_mandir}/man1/icmake.1*
+%{_mandir}/man1/icmbuild.1*
+%{_mandir}/man1/icmstart.1*
+%{_mandir}/man7/icmconf.7*
+%{_mandir}/man7/icmstart.rc.7*