]>
Commit | Line | Data |
---|---|---|
a4eae65c | 1 | Summary: The Waf build system |
1a3366fc | 2 | Summary(pl.UTF-8): System budowania Waf |
a4eae65c | 3 | Name: waf |
3ab764dc MB |
4 | Version: 1.4.4 |
5 | Release: 1 | |
a4eae65c ER |
6 | License: BSD |
7 | Group: Development/Building | |
5197a27f | 8 | Source0: http://waf.googlecode.com/files/%{name}-%{version}.tar.bz2 |
3ab764dc | 9 | # Source0-md5: 6a809e446497b710592579772c8b22bd |
5197a27f | 10 | URL: http://code.google.com/p/waf/ |
a4eae65c | 11 | BuildRequires: python |
7a16ee04 | 12 | BuildArch: noarch |
a4eae65c ER |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
14 | ||
15 | %define _libdir %{_prefix}/lib | |
16 | ||
17 | %description | |
18 | Waf is a general-purpose build system which was modelled from Scons. | |
19 | Though it comes last in the arena of the build systems, we believe | |
20 | that Waf is a vastly superior alternative to its competitors | |
21 | (Autotools, Scons, Cmake, Ant, etc) for building software, | |
22 | ||
f7ccf166 JR |
23 | %description -l pl.UTF-8 |
24 | Waf to system budowania ogólnego przeznaczenia opracowany na podstawie | |
25 | Scons. Mimo że pojawił się jako ostatni na arenie systemów budowania, | |
26 | autorzy wierzą, że przewyższa alternatywne narzędzia (Autotools, | |
67f52179 JB |
27 | Scons, Cmake, Ant itp.). |
28 | ||
a4eae65c ER |
29 | %prep |
30 | %setup -q | |
31 | ||
32 | %build | |
3ab764dc | 33 | ./waf-light configure --prefix=%{_prefix} |
eee1fde5 | 34 | ./waf-light --make-waf |
a4eae65c ER |
35 | |
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
ef81e8f4 | 38 | echo y | ./waf install \ |
5197a27f | 39 | --prefix %{_prefix} \ |
5870177f | 40 | --destdir $RPM_BUILD_ROOT |
a4eae65c | 41 | |
5197a27f PZ |
42 | %py_comp $RPM_BUILD_ROOT%{_libdir}/%{name}-%{version}-* |
43 | %py_ocomp $RPM_BUILD_ROOT%{_libdir}/%{name}-%{version}-* | |
a4eae65c ER |
44 | |
45 | %clean | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %files | |
49 | %defattr(644,root,root,755) | |
50 | %doc README TODO | |
51 | %attr(755,root,root) %{_bindir}/waf | |
5197a27f PZ |
52 | %dir %{_libdir}/%{name}-%{version}-* |
53 | %dir %{_libdir}/%{name}-%{version}-*/wafadmin | |
54 | %{_libdir}/%{name}-%{version}-*/wafadmin/*.py[co] | |
55 | %dir %{_libdir}/%{name}-%{version}-*/wafadmin/Tools | |
56 | %{_libdir}/%{name}-%{version}-*/wafadmin/Tools/*.py[co] |