2 %include /usr/lib/rpm/macros.python
5 Summary: Functionality wrapper of the os.path module
6 Summary(pl): Wraper funkcjonalno¶ci modu³u os.path
10 License: Custom (do, what you want)
11 Group: Libraries/Python
12 Source0: http://www.jorendorff.com/articles/python/path/%{module}.py
13 # NoSource0-md5: 9ae93736f9845827aed23bcfa0aaa6ea
14 URL: http://www.jorendorff.com/articles/python/path/
15 BuildRequires: python-modules >= 2.2
16 BuildRequires: rpm-perlprov
17 Requires: python >= 2.2
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 This module provides a single class that wraps the functionality in
23 the os.path module. You wouldn't think that would be so helpful, but
24 in practice I find it much more pleasant to write and to read.
27 Modu³ ten udostêpnia pojedyncz± klasê bêd±c± wrapperem na
28 funkcjonalno¶æ modu³u os.path.
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT%{py_sitescriptdir}
38 install %{SOURCE0} $RPM_BUILD_ROOT%{py_sitescriptdir}
40 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}/
41 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}/
43 rm $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}.py
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
50 %{py_sitescriptdir}/%{module}.pyc
51 %{py_sitescriptdir}/%{module}.pyo