]> git.pld-linux.org Git - packages/waf.git/blob - waf.spec
- up to 1.5.10
[packages/waf.git] / waf.spec
1 Summary:        The Waf build system
2 Summary(pl.UTF-8):      System budowania Waf
3 Name:           waf
4 Version:        1.5.11
5 Release:        1
6 License:        BSD
7 Group:          Development/Building
8 Source0:        http://waf.googlecode.com/files/%{name}-%{version}.tar.bz2
9 # Source0-md5:  a140cb85113643f07e3dce2ed39b272d
10 Patch0:         %{name}-path.patch
11 URL:            http://code.google.com/p/waf/
12 BuildRequires:  python >= 2.4
13 BuildArch:      noarch
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         _libdir %{_prefix}/lib
17
18 %description
19 Waf is a general-purpose build system which was modelled from Scons.
20 Though it comes last in the arena of the build systems, we believe
21 that Waf is a vastly superior alternative to its competitors
22 (Autotools, Scons, Cmake, Ant, etc) for building software,
23
24 %description -l pl.UTF-8
25 Waf to system budowania ogólnego przeznaczenia opracowany na podstawie
26 Scons. Mimo że pojawił się jako ostatni na arenie systemów budowania,
27 autorzy wierzą, że przewyższa alternatywne narzędzia (Autotools,
28 Scons, Cmake, Ant itp.).
29
30 %prep
31 %setup -q
32 %patch0 -p1
33
34 %build
35 ./waf-light configure \
36         --prefix=%{_prefix}
37 ./waf-light --make-waf
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 echo y | ./waf install \
42         --prefix %{_prefix} \
43         --destdir $RPM_BUILD_ROOT
44
45 %py_comp $RPM_BUILD_ROOT%{_libdir}/%{name}
46 %py_ocomp $RPM_BUILD_ROOT%{_libdir}/%{name}
47 %py_postclean %{_libdir}/%{name}
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc README TODO
55 %attr(755,root,root) %{_bindir}/waf
56 %dir %{_libdir}/%{name}
57 %dir %{_libdir}/%{name}/wafadmin
58 %{_libdir}/%{name}/wafadmin/*.py[co]
59 %dir %{_libdir}/%{name}/wafadmin/Tools
60 %{_libdir}/%{name}/wafadmin/Tools/*.py[co]
This page took 0.040806 seconds and 4 git commands to generate.