]> git.pld-linux.org Git - packages/python-simplejson.git/commitdiff
- pl desc
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 19 Nov 2006 09:13:01 +0000 (09:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- .egg-info needs python 2.5
- added py_postclean, killed files duplicate (needs check)

Changed files:
    python-simplejson.spec -> 1.4

python-simplejson.spec

index 0a6ce34d6f39e1e2eb7bea1afd17d02cb62c5fa6..e22054e995814643eec77f59791603832b0554bb 100644 (file)
@@ -1,6 +1,5 @@
-# $Revision: 1.3 $
-%define     module  simplejson
-%define     python_version  2.4
+# $Revision: 1.4 $
+%define                module          simplejson
 Summary:       Simple, fast, extensible JSON encoder/decoder for Python
 Summary(pl):   Prosty, szybki, rozszerzalny (de)koder JSON dla Pythona
 Name:          python-%{module}
@@ -8,17 +7,23 @@ Version:      1.4
 Release:       0.3
 License:       MIT
 Group:         Libraries
-Source0:    http://cheeseshop.python.org/packages/source/s/%{module}/%{module}-%{version}.tar.gz
+Source0:       http://cheeseshop.python.org/packages/source/s/simplejson/%{module}-%{version}.tar.gz
 # Source0-md5: 5fbad786a4b151d44a9b1e1e157e5510
 URL:           http://undefined.org/python/#simplejson
-Requires:   python >= %{python_version}
-BuildArch:  noarch
+BuildRequires: python >= 1:2.5
+BuildRequires: rpm-pythonprov
+BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 simplejson is a simple, fast, complete, correct and extensible JSON
-<http://json.org> encoder and decoder for Python 2.3+. It is pure Python
-code with no dependencies.
+<http://json.org/> encoder and decoder for Python 2.3+. It is pure
+Python code with no dependencies.
+
+%description -l pl
+simplejson to prosty, szybki, pe³ny, poprawny i rozszerzalny koder i
+dekoder JSON (<http://json.org/>) dla Pythona 2.3 i nowszych wersji.
+Jest to kod wy³±cznie w Pythonie bez dodatkowych zale¿no¶ci.
 
 %prep
 %setup -qn %{module}-%{version}
@@ -32,12 +37,14 @@ rm -rf $RPM_BUILD_ROOT
 python setup.py install \
        --root=$RPM_BUILD_ROOT \
        --optimize=2
-       
+
+%py_postclean
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%dir %{py_sitescriptdir}/%{module}
-%{py_sitescriptdir}/%{module}
-%{py_sitescriptdir}/%{module}-%{version}-py%{python_version}.egg-info
+%dir %{py_sitescriptdir}/json
+%{py_sitescriptdir}/json/*.py[co]
+%{py_sitescriptdir}/json-%{version}-py*.egg-info
This page took 0.033577 seconds and 4 git commands to generate.