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