+# NOTE: for 1.x versions see DEVEL branch; it's not compatible with 0.x, and (according to web site) still work in progress.
Summary: Native makefiles generator
Summary(pl.UTF-8): Generator natywnych plików typu Makefile
Name: bakefile
-Version: 0.2.9
-Release: 2
+Version: 0.2.11
+Release: 1
License: MIT
Group: Development/Building
-Source0: http://downloads.sourceforge.net/bakefile/%{name}-%{version}.tar.gz
-# Source0-md5: b53813d155df1a45371abc8f781e6d88
+#SourceDownload: https://github.com/vslavik/bakefile/releases
+Source0: https://github.com/vslavik/bakefile/releases/download/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 7239d91e9907498feffa3c77333a2e22
Patch0: %{name}-empy.patch
-Patch1: format-security.patch
-URL: http://bakefile.sourceforge.net/
+URL: http://bakefile.org/
BuildRequires: autoconf >= 2.53
BuildRequires: automake >= 1.6
BuildRequires: libtool
%prep
%setup -q
%patch0 -p1
-%patch1 -p1
%build
%{__libtoolize}
%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