SPECS: python-json-py.spec (NEW) - new

arekm arekm at pld-linux.org
Tue Dec 20 20:30:20 CET 2005


Author: arekm                        Date: Tue Dec 20 19:30:20 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   python-json-py.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/python-json-py.spec
diff -u /dev/null SPECS/python-json-py.spec:1.1
--- /dev/null	Tue Dec 20 20:30:20 2005
+++ SPECS/python-json-py.spec	Tue Dec 20 20:30:15 2005
@@ -0,0 +1,54 @@
+# $Revision$, $Date$
+
+%define	module	json-py
+
+Summary:	JSON implementation
+Summary(pl):	Rozszerzenie json-py do unittest
+Name:		python-json-py
+Version:	3.4
+Release:	1
+License:	GPL
+Group:		Development/Languages/Python
+Source0:	http://dl.sourceforge.net/json-py/json-py-3_4.zip
+# Source0-md5:	921ebfede886a10ff32d6d4b4e216f8f
+URL:		http://json-py.sf.net/
+%pyrequires_eq	python
+BuildRequires:	unzip
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+json.py is an implementation of a JSON (http://json.org) reader and
+writer in Python.
+
+%prep
+%setup -q -c
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{py_sitescriptdir}
+
+install *.py $RPM_BUILD_ROOT%{py_sitescriptdir}
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{py_sitescriptdir}/*.py[co]
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/12/20 19:30:15  arekm
+- new
+
================================================================


More information about the pld-cvs-commit mailing list