]> git.pld-linux.org Git - packages/python-path.git/blob - python-path.spec
- BR: rpm-pythonprov
[packages/python-path.git] / python-path.spec
1
2 %define         module  path
3
4 Summary:        Functionality wrapper of the os.path module
5 Summary(pl.UTF-8):      Wraper funkcjonalności modułu os.path
6 Name:           python-path
7 Version:        2.0.4
8 Release:        5
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/
14 BuildRequires:  python
15 BuildRequires:  python-modules >= 2.2
16 BuildRequires:  rpm-perlprov
17 BuildRequires:  rpm-pythonprov
18 Requires:       python >= 2.2
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 This module provides a single class that wraps the functionality in
24 the os.path module. You wouldn't think that would be so helpful, but
25 in practice I find it much more pleasant to write and to read.
26
27 %description -l pl.UTF-8
28 Moduł ten udostępnia pojedynczą klasę będącą wrapperem na
29 funkcjonalność modułu os.path.
30
31 %prep
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT%{py_sitescriptdir}
36
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.033987 seconds and 4 git commands to generate.