]>
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 |
83772bf7 PS |
5 | Release: 0.1 |
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 |
5c574ae8 | 11 | URL: http://bakefile.sourceforge.net/ |
1c352ae8 | 12 | BuildRequires: autoconf |
13 | BuildRequires: automake | |
9ef82bed | 14 | BuildRequires: libtool |
a07bf91e | 15 | BuildRequires: python-devel |
d67d9ecc | 16 | BuildRequires: rpm-pythonprov |
5c574ae8 | 17 | %pyrequires_eq python-modules |
5c574ae8 | 18 | Requires: empy >= 3.1 |
09959895 | 19 | Requires: python-libxml2 |
5c574ae8 AF |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
66cbd32a JB |
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, | |
26 | bcc makefile etc.). | |
27 | ||
37713322 JR |
28 | %description -l pl.UTF-8 |
29 | Bakefile to generator natywnych plików typu Makefile dla wielu | |
30 | platform i kompilatorów. Przyjmuje na wejściu niezależny od | |
09959895 | 31 | kompilatora opis zadań budowania i tworzy natywny plik (Makefile.in |
66cbd32a | 32 | dla autoconfa, projekt dla Visual C++, makefile dla bcc itd.). |
5c574ae8 AF |
33 | |
34 | %prep | |
95424130 | 35 | %setup -q |
8062e6bf | 36 | %patch0 -p1 |
5c574ae8 AF |
37 | |
38 | %build | |
1c352ae8 | 39 | %{__libtoolize} |
40 | %{__aclocal} -I admin | |
41 | %{__autoconf} | |
42 | %{__automake} | |
5c574ae8 AF |
43 | %configure |
44 | ||
45 | %install | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | install -d $RPM_BUILD_ROOT{%{_examplesdir}/%{name}-%{version},%{_bindir}} | |
48 | ||
49 | %{__make} \ | |
50 | DESTDIR=$RPM_BUILD_ROOT \ | |
51 | install | |
52 | ||
71bf54bb | 53 | # use system available modules |
34bbd63e | 54 | %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/%{name}/empy |
71bf54bb | 55 | |
5c574ae8 AF |
56 | %clean |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %files | |
60 | %defattr(644,root,root,755) | |
61 | %doc README THANKS doc/html | |
62 | %attr(755,root,root) %{_bindir}/* | |
63 | %{_aclocaldir}/*.m4 | |
b16bd3d2 AF |
64 | %{_datadir}/%{name} |
65 | %dir %{_libdir}/%{name} | |
66 | %{_libdir}/%{name}/*.py[oc] | |
531d3995 | 67 | %attr(755,root,root) %{_libdir}/%{name}/*.so |
b16bd3d2 AF |
68 | %attr(755,root,root) %{_libdir}/%{name}/bakefile.py |
69 | %attr(755,root,root) %{_libdir}/%{name}/bakefile_gen.py | |
77eff798 | 70 | %{_mandir}/man1/bakefil*.1* |