]> git.pld-linux.org Git - packages/python-path.git/commitdiff
- from Marcin Gajda
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 9 May 2004 21:51:16 +0000 (21:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python-path.spec -> 1.1

python-path.spec [new file with mode: 0644]

diff --git a/python-path.spec b/python-path.spec
new file mode 100644 (file)
index 0000000..1036ccf
--- /dev/null
@@ -0,0 +1,50 @@
+
+%include       /usr/lib/rpm/macros.python
+%define        module path
+
+Summary:       Functionality wrapper of the os.path module
+Summary(pl):   Wraper funkcjonalno¶ci modu³u os.path
+Name:          python-path
+Version:       2.0.4
+Release:       1
+License:       Custom (do, what you want)
+Group:         Libraries/Python
+Source0:       http://www.jorendorff.com/articles/python/path/%{module}.py
+# NoSource0-md5: 9ae93736f9845827aed23bcfa0aaa6ea
+URL:           http://www.jorendorff.com/articles/python/path/
+Requires:      python >= 2.2
+BuildRequires: python >= 2.2
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+BuildArch:     noarch
+
+%description
+This module provides a single class that wraps the functionality in
+the os.path module. You wouldn't think that would be so helpful, but
+in practice I find it much more pleasant to write and to read.
+
+%description -l pl
+Modu³ ten udostêpnia pojedyncz± klasê bêd±c± wrapperem na
+funkcjonalno¶æ modu³u os.path.
+
+%prep
+%setup -q -c -T
+cp -f %{SOURCE0} .
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{py_sitescriptdir}/
+install %{SOURCE0} $RPM_BUILD_ROOT%{py_sitescriptdir}
+
+%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}/
+%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}/
+
+rm $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}.py
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{py_sitescriptdir}/%{module}.pyc
+%{py_sitescriptdir}/%{module}.pyo
This page took 0.033124 seconds and 4 git commands to generate.