SPECS: python-FormEncode.spec (NEW) - initial PLD release, version...

heretyk heretyk at pld-linux.org
Sun Oct 23 22:27:16 CEST 2005


Author: heretyk                      Date: Sun Oct 23 20:27:16 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial PLD release, version 0.2.2

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

---- Diffs:

================================================================
Index: SPECS/python-FormEncode.spec
diff -u /dev/null SPECS/python-FormEncode.spec:1.1
--- /dev/null	Sun Oct 23 22:27:16 2005
+++ SPECS/python-FormEncode.spec	Sun Oct 23 22:27:11 2005
@@ -0,0 +1,64 @@
+# $Revision$, $Date$
+%define module FormEncode
+%define _module formencode
+
+Summary:	HTML form validation, generation, and convertion package
+Summary(pl):	Moduł do walidacji, tworzenia i konwersji formularzy HTML
+Name:		python-%{module}
+Version:	0.2.2
+Release:	1
+License:	PSF
+Group:		Development/Languages/Python
+Source0:	http://cheeseshop.python.org/packages/source/F/%{module}/%{module}-%{version}.tar.gz
+# Source0-md5:	56bb04a6ce9a3dcb187b3db6091ec5d9
+Patch0:		%{name}-disable-setuptools.patch
+URL:		http://formencode.org/
+BuildRequires:	python
+%pyrequires_eq	python-modules
+Requires:	python-elementtree
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+FormEncode validates and converts nested structures. It allows for a
+declarative form of defining the validation, and decoupled processes
+for filling and generating forms.
+
+%description -l pl
+FormEncode służy do sprawdzania poprawności i konwersji zagnieżdżonych
+struktur. Pozwala na deklaratywny sposób definiowania reguł poprawności
+i niezależne od nich wypełnianie i generowanie formularzy.
+
+%prep
+%setup -q -n %{module}-%{version}
+%patch0 -p1
+
+%build
+rm -rf ez_setup
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+python setup.py install \
+	--root=$RPM_BUILD_ROOT \
+	--optimize=2
+
+find $RPM_BUILD_ROOT%{py_sitescriptdir}/%{_module}/ -name \*.py | xargs rm -f
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{py_sitescriptdir}/%{_module}
+%doc docs/*.txt
+
+%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/10/23 20:27:11  heretyk
+- initial PLD release, version 0.2.2
+
================================================================



More information about the pld-cvs-commit mailing list