]>
Commit | Line | Data |
---|---|---|
5c574ae8 | 1 | Summary: Native makefiles generator |
f810b4d8 | 2 | Summary(pl.UTF-8): Generator natywnych plików typu Makefile |
5c574ae8 | 3 | Name: bakefile |
34bbd63e | 4 | Version: 0.2.9 |
60ffde7f | 5 | Release: 2 |
83772bf7 PS |
6 | License: MIT |
7 | Group: Development/Building | |
7506d4ad | 8 | Source0: http://downloads.sourceforge.net/bakefile/%{name}-%{version}.tar.gz |
34bbd63e | 9 | # Source0-md5: b53813d155df1a45371abc8f781e6d88 |
8062e6bf | 10 | Patch0: %{name}-empy.patch |
60ffde7f | 11 | Patch1: format-security.patch |
5c574ae8 | 12 | URL: http://bakefile.sourceforge.net/ |
3de6f0d3 JB |
13 | BuildRequires: autoconf >= 2.53 |
14 | BuildRequires: automake >= 1.6 | |
9ef82bed | 15 | BuildRequires: libtool |
3de6f0d3 | 16 | BuildRequires: python-devel >= 1:2.5 |
d67d9ecc | 17 | BuildRequires: rpm-pythonprov |
5c574ae8 | 18 | %pyrequires_eq python-modules |
5c574ae8 | 19 | Requires: empy >= 3.1 |
09959895 | 20 | Requires: python-libxml2 |
5c574ae8 AF |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
22 | ||
23 | %description | |
66cbd32a JB |
24 | Bakefile is cross-platform, cross-compiler native makefiles generator. |
25 | It takes compiler-independent description of build tasks as input and | |
26 | generate native makefile (autoconf's Makefile.in, Visual C++ project, | |
27 | bcc makefile etc.). | |
28 | ||
37713322 JR |
29 | %description -l pl.UTF-8 |
30 | Bakefile to generator natywnych plików typu Makefile dla wielu | |
31 | platform i kompilatorów. Przyjmuje na wejściu niezależny od | |
09959895 | 32 | kompilatora opis zadań budowania i tworzy natywny plik (Makefile.in |
66cbd32a | 33 | dla autoconfa, projekt dla Visual C++, makefile dla bcc itd.). |
5c574ae8 AF |
34 | |
35 | %prep | |
95424130 | 36 | %setup -q |
8062e6bf | 37 | %patch0 -p1 |
60ffde7f | 38 | %patch1 -p1 |
5c574ae8 AF |
39 | |
40 | %build | |
1c352ae8 | 41 | %{__libtoolize} |
42 | %{__aclocal} -I admin | |
43 | %{__autoconf} | |
44 | %{__automake} | |
5c574ae8 AF |
45 | %configure |
46 | ||
47 | %install | |
48 | rm -rf $RPM_BUILD_ROOT | |
5c574ae8 | 49 | |
3de6f0d3 JB |
50 | %{__make} install \ |
51 | DESTDIR=$RPM_BUILD_ROOT | |
5c574ae8 | 52 | |
71bf54bb | 53 | # use system available modules |
3de6f0d3 JB |
54 | %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/%{name}/{empy,py25modules} |
55 | ||
56 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la | |
57 | find $RPM_BUILD_ROOT%{_libdir}/%{name} -name '*.py' | grep -E -v '/bakefile(_gen)?\.py' | xargs %{__rm} | |
71bf54bb | 58 | |
5c574ae8 AF |
59 | %clean |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %files | |
63 | %defattr(644,root,root,755) | |
3de6f0d3 JB |
64 | %doc AUTHORS COPYING NEWS README THANKS doc/html |
65 | %attr(755,root,root) %{_bindir}/bakefile | |
66 | %attr(755,root,root) %{_bindir}/bakefile_gen | |
67 | %attr(755,root,root) %{_bindir}/bakefilize | |
b16bd3d2 AF |
68 | %{_datadir}/%{name} |
69 | %dir %{_libdir}/%{name} | |
70 | %{_libdir}/%{name}/*.py[oc] | |
3de6f0d3 | 71 | %attr(755,root,root) %{_libdir}/%{name}/_bkl_c.so |
b16bd3d2 AF |
72 | %attr(755,root,root) %{_libdir}/%{name}/bakefile.py |
73 | %attr(755,root,root) %{_libdir}/%{name}/bakefile_gen.py | |
3de6f0d3 JB |
74 | %{_aclocaldir}/bakefile*.m4 |
75 | %{_mandir}/man1/bakefile.1* | |
76 | %{_mandir}/man1/bakefile_gen.1* | |
77 | %{_mandir}/man1/bakefilize.1* |