rpms/python-4Suite-XML/devel python-4Suite-XML.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Miloslav Trmac (mitr) fedora-extras-commits at redhat.com
Thu Jan 19 11:16:50 UTC 2006


Author: mitr

Update of /cvs/extras/rpms/python-4Suite-XML/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18943/devel

Modified Files:
	.cvsignore sources 
Added Files:
	python-4Suite-XML.spec 
Log Message:
auto-import python-4Suite-XML-1.0-0.3.b3 on branch devel from python-4Suite-XML-1.0-0.3.b3.src.rpm


--- NEW FILE python-4Suite-XML.spec ---
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%define ver 1.0b3

Name: python-4Suite-XML
Version: 1.0
Release: 0.3.b3
Summary: A collection of XML-related technologies for Python

Group: Development/Libraries
License: Apacheish
URL: http://www.4suite.org/
Source0: http://dl.sourceforge.net/foursuite/4Suite-XML-%{ver}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires: python-devel
Requires: python-abi = %(%{__python} -c "import sys ; print sys.version[:3]")

%description
4Suite-XML is a suite of Python modules for XML and RDF processing.
Its major components include the following:

 * Ft.Xml.Domlette: A very fast, lightweight XPath-oriented DOM.
 * Ft.Xml.XPath: An XPath 1.0 implementation for Domlette documents.
 * Ft.Xml.Xslt: A robust XSLT 1.0 processor.
 * Ft.Lib: Various support libraries that can be used independently.

%prep
%setup -q -n 4Suite-%{ver}

%build
export CFLAGS="$RPM_OPT_FLAGS"
python setup.py config --system --pythonlibdir=%{python_sitearch} \
	--bindir=%{_bindir} --datadir=%{_datadir}/4Suite \
	--sysconfdir=%{_sysconfdir}/4Suite \
	--localstatedir=%{_localstatedir}/lib/4Suite \
	--libdir=%{_libdir}/4Suite --docdir=%{_datadir}/doc/4Suite \
	--localedir=%{_datadir}/locale --mandir=%{_mandir}
python setup.py build

%install
rm -rf $RPM_BUILD_ROOT

python setup.py bdist_install -O1 --root=$RPM_BUILD_ROOT

chmod a-x $RPM_BUILD_ROOT%{_datadir}/4Suite/Data/Stylesheets/*.xslt

# Move documentation to the right place
mv $RPM_BUILD_ROOT%{_datadir}/doc/4Suite/html html
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/4Suite/xml

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc COPYRIGHT README html
%{_bindir}/4*
%exclude %{_libdir}/4Suite
%{python_sitearch}/Ft
%{_datadir}/4Suite

%changelog
* Fri Jan  6 2006 Miloslav Trmac <mitr at redhat.com> - 1.0-0.3.b3
- Fix Summary:
- Use an URL in Source0:

* Thu Jan  5 2006 Miloslav Trmac <mitr at redhat.com> - 1.0-0.2.b3
- Require python-abi
- Ship .pyo files
- Use macros instead of hardcoded paths

* Tue Dec 13 2005 Miloslav Trmac <mitr at redhat.com> - 1.0-0.1.b3
- Update to 4Suite-XML-1.0b3

* Mon Nov  7 2005 Miloslav Trmac <mitr at redhat.com> - 1.0-0.1.b2
- Initial package, based on Fedora Core 4Suite-1.0-9.b1.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/python-4Suite-XML/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	19 Jan 2006 11:16:06 -0000	1.1
+++ .cvsignore	19 Jan 2006 11:16:49 -0000	1.2
@@ -0,0 +1 @@
+4Suite-XML-1.0b3.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-4Suite-XML/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	19 Jan 2006 11:16:06 -0000	1.1
+++ sources	19 Jan 2006 11:16:49 -0000	1.2
@@ -0,0 +1 @@
+9decb8b1032415ae155fe9a917fe8126  4Suite-XML-1.0b3.tar.bz2




More information about the fedora-extras-commits mailing list