]> git.pld-linux.org Git - packages/waf.git/blame - waf.spec
- updated to 1.5.16
[packages/waf.git] / waf.spec
CommitLineData
a4eae65c 1Summary: The Waf build system
1a3366fc 2Summary(pl.UTF-8): System budowania Waf
a4eae65c 3Name: waf
18d37723 4Version: 1.5.16
e2ce19eb 5Release: 1
a4eae65c
ER
6License: BSD
7Group: Development/Building
5197a27f 8Source0: http://waf.googlecode.com/files/%{name}-%{version}.tar.bz2
18d37723 9# Source0-md5: 2848186b015cedcf35047cd95ccd946b
9c06b44f 10Patch0: %{name}-path.patch
5197a27f 11URL: http://code.google.com/p/waf/
10f2ee1f 12BuildRequires: python >= 2.4
12557f0e 13BuildRequires: python-modules
14BuildRequires: rpm-pythonprov
7a16ee04 15BuildArch: noarch
a4eae65c
ER
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
f7ccf166
JR
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,
67f52179
JB
30Scons, Cmake, Ant itp.).
31
a4eae65c
ER
32%prep
33%setup -q
9c06b44f 34%patch0 -p1
a4eae65c
ER
35
36%build
3a8e85d4
ER
37./waf-light configure \
38 --prefix=%{_prefix}
eee1fde5 39./waf-light --make-waf
a4eae65c
ER
40
41%install
42rm -rf $RPM_BUILD_ROOT
ef81e8f4 43echo y | ./waf install \
5197a27f 44 --prefix %{_prefix} \
5870177f 45 --destdir $RPM_BUILD_ROOT
a4eae65c 46
9c06b44f
ER
47%py_comp $RPM_BUILD_ROOT%{_libdir}/%{name}
48%py_ocomp $RPM_BUILD_ROOT%{_libdir}/%{name}
49%py_postclean %{_libdir}/%{name}
a4eae65c
ER
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
9c06b44f
ER
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.632584 seconds and 4 git commands to generate.