]> git.pld-linux.org Git - packages/python-path.git/blame - python-path.spec
- tabs in preamble
[packages/python-path.git] / python-path.spec
CommitLineData
bd259503 1
2e4992a1 2%define module path
bd259503
JB
3
4Summary: Functionality wrapper of the os.path module
902b512e 5Summary(pl.UTF-8): Wraper funkcjonalności modułu os.path
bd259503
JB
6Name: python-path
7Version: 2.0.4
1c1a3345 8Release: 2
bd259503
JB
9License: Custom (do, what you want)
10Group: Libraries/Python
11Source0: http://www.jorendorff.com/articles/python/path/%{module}.py
12# NoSource0-md5: 9ae93736f9845827aed23bcfa0aaa6ea
13URL: http://www.jorendorff.com/articles/python/path/
1c1a3345 14BuildRequires: python
10ccf03a
JB
15BuildRequires: python-modules >= 2.2
16BuildRequires: rpm-perlprov
bd259503 17Requires: python >= 2.2
bd259503 18BuildArch: noarch
10ccf03a 19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
bd259503
JB
20
21%description
22This module provides a single class that wraps the functionality in
23the os.path module. You wouldn't think that would be so helpful, but
24in practice I find it much more pleasant to write and to read.
25
170d9002
JR
26%description -l pl.UTF-8
27Moduł ten udostępnia pojedynczą klasę będącą wrapperem na
28funkcjonalność modułu os.path.
bd259503
JB
29
30%prep
bd259503
JB
31
32%install
33rm -rf $RPM_BUILD_ROOT
10ccf03a 34install -d $RPM_BUILD_ROOT%{py_sitescriptdir}
bd259503 35
bd259503
JB
36install %{SOURCE0} $RPM_BUILD_ROOT%{py_sitescriptdir}
37
38%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}/
39%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}/
40
41rm $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}.py
42
43%clean
44rm -rf $RPM_BUILD_ROOT
45
46%files
47%defattr(644,root,root,755)
48%{py_sitescriptdir}/%{module}.pyc
49%{py_sitescriptdir}/%{module}.pyo
This page took 0.071791 seconds and 4 git commands to generate.