SPECS: python-html5lib.spec (NEW), python-pisa.spec (NEW) - initia...

patrys patrys at pld-linux.org
Tue Nov 6 16:39:20 CET 2007


Author: patrys                       Date: Tue Nov  6 15:39:20 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial PLD release

---- Files affected:
SPECS:
   python-html5lib.spec (NONE -> 1.1)  (NEW), python-pisa.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/python-html5lib.spec
diff -u /dev/null SPECS/python-html5lib.spec:1.1
--- /dev/null	Tue Nov  6 16:39:20 2007
+++ SPECS/python-html5lib.spec	Tue Nov  6 16:39:15 2007
@@ -0,0 +1,53 @@
+# $Revision$, $Date$
+%define		module	html5lib
+Summary:	HTML parser/tokenizer based on the WHATWG HTML5 specification
+Name:		python-%{module}
+Version:	0.10
+Release:	1
+License:	MIT
+Group:		Libraries/Python
+Source0:	http://html5lib.googlecode.com/files/%{module}-%{version}.zip
+# Source0-md5:	cc69960c4153d89bf5b998a06b8cdced
+URL:		http://code.google.com/p/html5lib/
+BuildRequires:	python-devel >= 1:2.4
+%pyrequires_eq	python
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+HTML parser/tokenizer based on the WHATWG HTML5 specification
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+CFLAGS="%{rpmcflags}"; export CFLAGS
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+python setup.py install \
+	--root=$RPM_BUILD_ROOT \
+	--optimize=2
+
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_examplesdir}/%{name}-%{version}}
+
+%py_postclean $RPM_BUILD_ROOT%{py_sitescriptdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%{py_sitescriptdir}/%{module}-%{version}-py*.egg-info
+%{py_sitescriptdir}/%{module}
+
+%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  2007/11/06 15:39:15  patrys
+- initial PLD release
+

================================================================
Index: SPECS/python-pisa.spec
diff -u /dev/null SPECS/python-pisa.spec:1.1
--- /dev/null	Tue Nov  6 16:39:20 2007
+++ SPECS/python-pisa.spec	Tue Nov  6 16:39:15 2007
@@ -0,0 +1,57 @@
+# $Revision$, $Date$
+%define		module	pisa
+Summary:	HTML/XML/CSS to PDF converter using the reportlab toolkit
+Name:		python-%{module}
+Version:	3.0.10
+Release:	1
+License:	QPL
+Group:		Libraries/Python
+Source0:	http://dl.sourceforge.net/spirito-pisa/%{module}-%{version}.tar.gz
+# Source0-md5:	4c29768070f3a0f3a2f86a35f9ab22d7
+URL:		http://pisa.spirito.de/index.html
+BuildRequires:	python-devel >= 1:2.4
+BuildRequires:	python-html5lib
+%pyrequires_eq	python
+Requires:	python-html5lib
+Requires:	python-PIL
+Requires:	python-ReportLab >= 2.1
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+HTML/XML/CSS to PDF converter using the reportlab toolkit
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+CFLAGS="%{rpmcflags}"; export CFLAGS
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+python setup.py install \
+	--root=$RPM_BUILD_ROOT \
+	--optimize=2
+
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_examplesdir}/%{name}-%{version}}
+
+%py_postclean $RPM_BUILD_ROOT%{py_sitescriptdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGELOG.txt README.txt
+%{py_sitescriptdir}/%{module}-%{version}-py*.egg-info
+%{py_sitescriptdir}/sx
+
+%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  2007/11/06 15:39:15  patrys
+- initial PLD release
+
================================================================


More information about the pld-cvs-commit mailing list