1 Summary: Native makefiles generator
2 Summary(pl): Generator natywnych plików typu Makefile
7 Group: Applications/Text
8 Source0: http://dl.sourceforge.net/bakefile/bakefile-%{version}.tar.gz
9 # Source0-md5: af29dbba0c3f9038f8dc358e94dac9ed
10 Source1: %{name}-%{version}.m4
11 Patch0: %{name}-empy.patch
12 URL: http://bakefile.sourceforge.net/
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: libtool
16 BuildRequires: rpm-pythonprov
17 %pyrequires_eq python-modules
18 Requires: python-libxml2
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Bakefile is cross-platform, cross-compiler native makefiles generator.
24 It takes compiler-independent description of build tasks as input and
25 generate native makefile (autoconf's Makefile.in, Visual C++ project,
29 Bakefile to generator natywnych plików typu Makefile dla wielu
30 platform i kompilatorów. Przyjmuje na wej¶ciu niezale¿ny od
31 kompilatora opis zadañ budowania i tworzy natywny plik (Makefile.in
32 dla autoconfa, projekt dla Visual C++, makefile dla bcc itd.).
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT{%{_examplesdir}/%{name}-%{version},%{_bindir}}
49 DESTDIR=$RPM_BUILD_ROOT \
52 # please remove if bakefile version >= 0.1.5
53 install %{SOURCE1} $RPM_BUILD_ROOT%{_aclocaldir}/bakefile.m4
55 # use system available modules
56 rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/{empy,optik}
59 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
63 %doc README THANKS doc/html
64 %attr(755,root,root) %{_bindir}/*
67 %dir %{_libdir}/%{name}
68 %{_libdir}/%{name}/*.py[oc]
69 %attr(755,root,root) %{_libdir}/%{name}/bakefile.py
70 %attr(755,root,root) %{_libdir}/%{name}/bakefile_gen.py
71 %{_mandir}/man1/bakefile.1*