]> git.pld-linux.org Git - packages/python-path.git/blob - python-path.spec
- removed %%include /usr/lib/rpm/macros.python
[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):    Wraper funkcjonalno¶ci modu³u os.path
6 Name:           python-path
7 Version:        2.0.4
8 Release:        1
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-modules >= 2.2
15 BuildRequires:  rpm-perlprov
16 Requires:       python >= 2.2
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT%{py_sitescriptdir}
34
35 install %{SOURCE0} $RPM_BUILD_ROOT%{py_sitescriptdir}
36
37 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}/
38 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}/
39
40 rm $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}.py
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %{py_sitescriptdir}/%{module}.pyc
48 %{py_sitescriptdir}/%{module}.pyo
This page took 0.092516 seconds and 3 git commands to generate.