4 Summary: Functionality wrapper of the os.path module
5 Summary(pl.UTF-8): Wraper funkcjonalności modułu os.path
9 License: Custom (do, what you want)
10 Group: Libraries/Python
11 Source0: http://www.jorendorff.com/articles/python/path/%{module}.py
12 # NoSource0-md5: 9ae93736f9845827aed23bcfa0aaa6ea
13 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.
26 %description -l pl.UTF-8
27 Moduł ten udostępnia pojedynczą klasę będącą wrapperem na
28 funkcjonalność modułu os.path.
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT%{py_sitescriptdir}
36 install %{SOURCE0} $RPM_BUILD_ROOT%{py_sitescriptdir}
38 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}/
39 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}/
41 rm $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}.py
44 rm -rf $RPM_BUILD_ROOT
47 %defattr(644,root,root,755)
48 %{py_sitescriptdir}/%{module}.pyc
49 %{py_sitescriptdir}/%{module}.pyo