]> git.pld-linux.org Git - packages/python-path.git/blob - python-path.spec
1036ccfa38e93bc69082e06a85c322ba9245b6bf
[packages/python-path.git] / python-path.spec
1
2 %include        /usr/lib/rpm/macros.python
3 %define         module path
4
5 Summary:        Functionality wrapper of the os.path module
6 Summary(pl):    Wraper funkcjonalno¶ci modu³u os.path
7 Name:           python-path
8 Version:        2.0.4
9 Release:        1
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 Requires:       python >= 2.2
16 BuildRequires:  python >= 2.2
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 BuildArch:      noarch
19
20 %description
21 This module provides a single class that wraps the functionality in
22 the os.path module. You wouldn't think that would be so helpful, but
23 in practice I find it much more pleasant to write and to read.
24
25 %description -l pl
26 Modu³ ten udostêpnia pojedyncz± klasê bêd±c± wrapperem na
27 funkcjonalno¶æ modu³u os.path.
28
29 %prep
30 %setup -q -c -T
31 cp -f %{SOURCE0} .
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35
36 install -d $RPM_BUILD_ROOT%{py_sitescriptdir}/
37 install %{SOURCE0} $RPM_BUILD_ROOT%{py_sitescriptdir}
38
39 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}/
40 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}/
41
42 rm $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}.py
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %{py_sitescriptdir}/%{module}.pyc
50 %{py_sitescriptdir}/%{module}.pyo
This page took 0.079817 seconds and 2 git commands to generate.