]> git.pld-linux.org Git - packages/waf.git/blobdiff - waf.spec
- try with TERM=dumb until 1.4.3 is released
[packages/waf.git] / waf.spec
index 14787cff364bf48966d8101925843efe6a1d0b91..417f3834e3e08721186f027c423ef26392b99eeb 100644 (file)
--- a/waf.spec
+++ b/waf.spec
@@ -1,14 +1,13 @@
 Summary:       The Waf build system
-Summary(pl):   System budowania Waf
+Summary(pl.UTF-8):     System budowania Waf
 Name:          waf
-Version:       1.0.1
-Release:       0.4
+Version:       1.4.2
+Release:       2
 License:       BSD
 Group:         Development/Building
-Source0:       http://freehackers.org/~tnagy/%{name}-%{version}.tar.bz2
-# Source0-md5: bc33d144ee927caec6279e0bf4b174ab
-URL:           http://freehackers.org/~tnagy/bksys.html
-Patch0:                %{name}-path.patch
+Source0:       http://waf.googlecode.com/files/%{name}-%{version}.tar.bz2
+# Source0-md5: 0d0c397ee675b2df79f65b375eb8a0f8
+URL:           http://code.google.com/p/waf/
 BuildRequires: python
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -21,29 +20,26 @@ Though it comes last in the arena of the build systems, we believe
 that Waf is a vastly superior alternative to its competitors
 (Autotools, Scons, Cmake, Ant, etc) for building software,
 
-%description -l pl
-Waf to system budowania ogólnego przeznaczenia opracowany na podstawie
-Scons. Mimo ¿e pojawi³ siê jako ostatni na arenie systemów budowania,
-autorzy wierz±, ¿e przewy¿sza alternatywne narzêdzia (Autotools,
+%description -l pl.UTF-8
+Waf to system budowania ogólnego przeznaczenia opracowany na podstawie
+Scons. Mimo że pojawił się jako ostatni na arenie systemów budowania,
+autorzy wierzą, że przewyższa alternatywne narzędzia (Autotools,
 Scons, Cmake, Ant itp.).
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
-./waf-light --make-waf
+TERM=dumb ./waf-light --make-waf
 
 %install
 rm -rf $RPM_BUILD_ROOT
-./waf \
-       --prefix $RPM_BUILD_ROOT%{_prefix} \
-       --destdir $RPM_BUILD_ROOT \
-       --install
+echo y | ./waf install \
+       --prefix %{_prefix} \
+       --destdir $RPM_BUILD_ROOT
 
-%py_comp $RPM_BUILD_ROOT%{_libdir}/%{name}-%{version}
-%py_ocomp $RPM_BUILD_ROOT%{_libdir}/%{name}-%{version}
-%py_postclean %{_libdir}/%{name}-%{version}
+%py_comp $RPM_BUILD_ROOT%{_libdir}/%{name}-%{version}-*
+%py_ocomp $RPM_BUILD_ROOT%{_libdir}/%{name}-%{version}-*
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -52,8 +48,8 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc README TODO
 %attr(755,root,root) %{_bindir}/waf
-%dir %{_libdir}/%{name}-%{version}
-%dir %{_libdir}/%{name}-%{version}/wafadmin
-%{_libdir}/%{name}-%{version}/wafadmin/*.py[co]
-%dir %{_libdir}/%{name}-%{version}/wafadmin/Tools
-%{_libdir}/%{name}-%{version}/wafadmin/Tools/*.py[co]
+%dir %{_libdir}/%{name}-%{version}-*
+%dir %{_libdir}/%{name}-%{version}-*/wafadmin
+%{_libdir}/%{name}-%{version}-*/wafadmin/*.py[co]
+%dir %{_libdir}/%{name}-%{version}-*/wafadmin/Tools
+%{_libdir}/%{name}-%{version}-*/wafadmin/Tools/*.py[co]
This page took 0.025617 seconds and 4 git commands to generate.