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