Summary: Native makefiles generator
Summary(pl.UTF-8): Generator natywnych plików typu Makefile
Name: bakefile
-Version: 0.2.10
+Version: 0.2.12
Release: 1
License: MIT
Group: Development/Building
#SourceDownload: https://github.com/vslavik/bakefile/releases
-Source0: https://github.com/vslavik/bakefile/releases/download/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: f980cdd36268b5d2b23602d454bdf0a4
+Source0: https://github.com/vslavik/bakefile/releases/download/v%{version}.1/%{name}-%{version}.tar.gz
+# Source0-md5: a735ce2c1ca1b86adbcb2fdb06ade802
Patch0: %{name}-empy.patch
URL: http://bakefile.org/
BuildRequires: autoconf >= 2.53
%setup -q
%patch0 -p1
+%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+python(\s|$),#!%{__python}\1,' \
+ src/bakefile.py \
+ src/bakefile_gen.py
+
%build
%{__libtoolize}
%{__aclocal} -I admin
%attr(755,root,root) %{_bindir}/bakefilize
%{_datadir}/%{name}
%dir %{_libdir}/%{name}
-%{_libdir}/%{name}/*.py[oc]
+%{_libdir}/%{name}/*.py[co]
%attr(755,root,root) %{_libdir}/%{name}/_bkl_c.so
%attr(755,root,root) %{_libdir}/%{name}/bakefile.py
%attr(755,root,root) %{_libdir}/%{name}/bakefile_gen.py