]> git.pld-linux.org Git - SPECS.git/blob - python-json-py.spec
SPECS updated Sat 31 Jul 21:27:02 CEST 2021
[SPECS.git] / python-json-py.spec
1
2 %define module  json-py
3
4 Summary:        JSON implementation
5 Summary(pl.UTF-8):      Rozszerzenie json-py do unittest
6 Name:           python-json-py
7 Version:        3.4
8 Release:        7
9 License:        GPL
10 Group:          Development/Languages/Python
11 Source0:        http://dl.sourceforge.net/json-py/json-py-3_4.zip
12 # Source0-md5:  921ebfede886a10ff32d6d4b4e216f8f
13 URL:            http://json-py.sourceforge.net/
14 BuildRequires:  python-modules
15 BuildRequires:  rpm-pythonprov
16 BuildRequires:  unzip
17 %pyrequires_eq  python
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 json.py is an implementation of a JSON (http://json.org/) reader and
23 writer in Python.
24
25 %description -l pl.UTF-8
26 json.py to implementacja odczytu i zapisu JSON (http://json.org/) w
27 Pythonie.
28
29 %prep
30 %setup -q -c
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT%{py_sitescriptdir}/json_py-%{version}-py%{py_ver}.egg-info
35
36 install *.py $RPM_BUILD_ROOT%{py_sitescriptdir}
37
38 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
39 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
40 %py_postclean
41
42 echo 'Metadata-Version: 1.0
43 Name: %{module}
44 Version: %{version}
45 Summary: %{summary}
46 Home-page: %{url}
47 License: %{license}' > $RPM_BUILD_ROOT%{py_sitescriptdir}/json_py-%{version}-py%{py_ver}.egg-info/PKG-INFO
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %{py_sitescriptdir}/*.py[co]
55 %{py_sitescriptdir}/json_py*
This page took 0.049849 seconds and 3 git commands to generate.