Author: arekm Date: Thu Mar 5 08:36:51 2009 GMT Module: SPECS Tag: HEAD ---- Log message: - initial
---- Files affected: SPECS: python-pyxmlsec.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/python-pyxmlsec.spec diff -u /dev/null SPECS/python-pyxmlsec.spec:1.1 --- /dev/null Thu Mar 5 09:36:51 2009 +++ SPECS/python-pyxmlsec.spec Thu Mar 5 09:36:45 2009 @@ -0,0 +1,57 @@ +# $Revision$, $Date$ +Summary: Python bindings for XML Security Library +Name: python-pyxmlsec +Version: 0.3.0 +Release: 1 +License: GPL v2 +Group: Libraries/Python +Source0: http://labs.libre-entreprise.org/download.php/430/pyxmlsec-%{version}.tar.gz +# Source0-md5: 150631f634654804076f73a0859fea1a +URL: http://pypyxmlsec.sourceforge.net/ +BuildRequires: nss-devel +BuildRequires: python-devel >= 2.2.1 +BuildRequires: xmlsec1-devel +%pyrequires_eq python-modules +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +PyXMLSec is a set of Python bindings for XML Security Library +(XMLSec). + +%prep +%setup -q -n pyxmlsec-%{version} + +%build +# 3 is NSS, do we really want this one? +echo "3" | env CFLAGS="%{rpmcflags} -I/usr/include/xmlsec1" %{__python} setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} + +python -- setup.py install --root=$RPM_BUILD_ROOT --optimize=2 + +%py_postclean + +install examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc AUTHORS ChangeLog README docs/html +%attr(755,root,root) %{py_sitedir}/*.so +%{py_sitedir}/*.py[co] +%{py_sitedir}/*.egg-info +%{_examplesdir}/%{name}-%{version} + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2009/03/05 08:36:45 arekm +- initial + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
