rpms/python-nss/F-9 python-nss.spec,NONE,1.1
John Dennis
jdennis at fedoraproject.org
Thu Apr 2 18:35:22 UTC 2009
- Previous message (by thread): rpms/kernel/F-11 linux-2.6-iwl3945-report-killswitch-changes-even-if-the-interface-is-down.patch, NONE, 1.1 linux-2.6-iwlagn-fix-hw-rfkill-while-the-interface-is-down.patch, NONE, 1.1 kernel.spec, 1.1502, 1.1503
- Next message (by thread): rpms/telepathy-salut/devel .cvsignore, 1.18, 1.19 sources, 1.18, 1.19 telepathy-salut.spec, 1.26, 1.27
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jdennis
Update of /cvs/pkgs/rpms/python-nss/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22547
Added Files:
python-nss.spec
Log Message:
import spec file into F-9 branch so package can be built for F-9
--- NEW FILE python-nss.spec ---
# sitelib for noarch packages, sitearch for others (remove the unneeded one)
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: python-nss
Version: 0.1
Release: 1%{?dist}
Summary: Python bindings for Network Security Services (NSS)
Group: Development/Languages
License: GPLv2+
#URL:
Source0: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%define docdir %{_docdir}/%{name}-%{version}
BuildRequires: python-devel
BuildRequires: python-setuptools-devel
BuildRequires: epydoc
BuildRequires: python-docutils
BuildRequires: nspr-devel
BuildRequires: nss-devel
%description
This package provides Python bindings for Network Security Services
(NSS) and the Netscape Portable Runtime (NSPR).
NSS is a set of libraries supporting security-enabled client and
server applications. Applications built with NSS can support SSL v2
and v3, TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3
certificates, and other security standards. Specific NSS
implementations have been FIPS-140 certified.
%prep
%setup -q
%build
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
%{__python} setup.py build_doc
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --install-platlib %{python_sitearch} --skip-build --root $RPM_BUILD_ROOT
%{__python} setup.py install_doc --docdir %{docdir} --skip-build --root $RPM_BUILD_ROOT
# Remove execution permission from any example scripts
find $RPM_BUILD_ROOT/%{docdir}/examples -type f | xargs chmod a-x
# Set correct permissions on .so files
chmod 0755 $RPM_BUILD_ROOT/%{python_sitearch}/nss/*.so
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc %{docdir}
%{python_sitearch}/*
%changelog
* Tue Sep 9 2008 John Dennis <jdennis at redhat.com> - 0.1-1
- clean up ssl_example.py, fix arg list in get_cert_nicknames,
make certdir cmd line arg consistent with other NSS tools
- update httplib.py to support client auth, add httplib_example.py which illustrates it's use
- fix some documentation
- fix some type usage which were unsafe on 64-bit
* Wed Jul 9 2008 John Dennis <jdennis at redhat.com> - 0.0-2
- add docutils to build requires so restructured text works
* Fri Jun 27 2008 John Dennis <jdennis at redhat.com> - 0.0-1
- initial release
- Previous message (by thread): rpms/kernel/F-11 linux-2.6-iwl3945-report-killswitch-changes-even-if-the-interface-is-down.patch, NONE, 1.1 linux-2.6-iwlagn-fix-hw-rfkill-while-the-interface-is-down.patch, NONE, 1.1 kernel.spec, 1.1502, 1.1503
- Next message (by thread): rpms/telepathy-salut/devel .cvsignore, 1.18, 1.19 sources, 1.18, 1.19 telepathy-salut.spec, 1.26, 1.27
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list