]> git.pld-linux.org Git - packages/waf.git/blob - waf.spec
- this is useless
[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.4.2
5 Release:        3
6 License:        BSD
7 Group:          Development/Building
8 Source0:        http://waf.googlecode.com/files/%{name}-%{version}.tar.bz2
9 # Source0-md5:  0d0c397ee675b2df79f65b375eb8a0f8
10 URL:            http://code.google.com/p/waf/
11 BuildRequires:  python
12 BuildArch:      noarch
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
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,
27 Scons, Cmake, Ant itp.).
28
29 %prep
30 %setup -q
31
32 %build
33 ./waf-light --make-waf
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 echo y | ./waf install \
38         --prefix %{_prefix} \
39         --destdir $RPM_BUILD_ROOT
40
41 %py_comp $RPM_BUILD_ROOT%{_libdir}/%{name}-%{version}-*
42 %py_ocomp $RPM_BUILD_ROOT%{_libdir}/%{name}-%{version}-*
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc README TODO
50 %attr(755,root,root) %{_bindir}/waf
51 %dir %{_libdir}/%{name}-%{version}-*
52 %dir %{_libdir}/%{name}-%{version}-*/wafadmin
53 %{_libdir}/%{name}-%{version}-*/wafadmin/*.py[co]
54 %dir %{_libdir}/%{name}-%{version}-*/wafadmin/Tools
55 %{_libdir}/%{name}-%{version}-*/wafadmin/Tools/*.py[co]
This page took 0.3804 seconds and 4 git commands to generate.