rpms/pyxmlsec/devel pyxmlsec.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Lubomir Rintel lkundrak at fedoraproject.org
Thu Apr 16 05:29:20 UTC 2009


Author: lkundrak

Update of /cvs/pkgs/rpms/pyxmlsec/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2461/devel

Modified Files:
	.cvsignore sources 
Added Files:
	pyxmlsec.spec 
Log Message:
Initial import


--- NEW FILE pyxmlsec.spec ---
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}

Name:           pyxmlsec
Version:        0.3.0
Release:        2%{?dist}
Summary:        Python bindings for the XML Security Library

Group:          Development/Libraries
License:        GPLv2+
URL:            http://pyxmlsec.labs.libre-entreprise.org/
Source0:        http://labs.libre-entreprise.org/download.php/430/%{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  python-devel
BuildRequires:  xmlsec1-nss-devel

%description
PyXMLSec is a set of Python bindings for the XML Security Library, a C
library based on LibXML2. The library supports major XML security standards
including, XML Signature, XML Encryption, Canonical XML and Exclusive
Canonical XML.


%prep
%setup -q

# A non-UTF8 character
iconv -f iso8859-1 -t utf8 <AUTHORS >AUTHORS.utf8
touch -r AUTHORS AUTHORS.utf8
mv AUTHORS.utf8 AUTHORS


%build
# 1. OpenSSL
# 2. GnuTLS
# 3. NSS
CFLAGS="%{optflags}" echo 3 |%{__python} setup.py build


%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT

 
%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%{python_sitearch}/*
%doc AUTHORS ChangeLog COPYING README TODO


%changelog
* Wed Apr 15 2009 Lubomir Rintel (Good Data) <lubo.rintel at gooddata.com> - 0.3.0-2
- Fix AUTHORs file location for conversion (Marek Mahut)

* Wed Apr 15 2009 Lubomir Rintel (Good Data) <lubo.rintel at gooddata.com> - 0.3.0-1
- Initial packaging


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/pyxmlsec/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	16 Apr 2009 04:35:51 -0000	1.1
+++ .cvsignore	16 Apr 2009 05:28:49 -0000	1.2
@@ -0,0 +1 @@
+pyxmlsec-0.3.0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pyxmlsec/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	16 Apr 2009 04:35:51 -0000	1.1
+++ sources	16 Apr 2009 05:28:49 -0000	1.2
@@ -0,0 +1 @@
+150631f634654804076f73a0859fea1a  pyxmlsec-0.3.0.tar.gz




More information about the scm-commits mailing list