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