[Erp5-report] r20704 - in /spec/mandriva/2008.1: ./ python2.4-libxslt/

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Apr 21 14:57:12 CEST 2008


Author: nicolas
Date: Mon Apr 21 14:57:11 2008
New Revision: 20704

URL: http://svn.erp5.org?rev=20704&view=rev
Log:
Add python2.4-libxslt spec file for Mandriva 2008.1

Added:
    spec/mandriva/2008.1/
    spec/mandriva/2008.1/python2.4-libxslt/
    spec/mandriva/2008.1/python2.4-libxslt/libxslt2.4.spec

Added: spec/mandriva/2008.1/python2.4-libxslt/libxslt2.4.spec
URL: http://svn.erp5.org/spec/mandriva/2008.1/python2.4-libxslt/libxslt2.4.spec?rev=20704&view=auto
==============================================================================
--- spec/mandriva/2008.1/python2.4-libxslt/libxslt2.4.spec (added)
+++ spec/mandriva/2008.1/python2.4-libxslt/libxslt2.4.spec Mon Apr 21 14:57:11 2008
@@ -1,0 +1,250 @@
+%define xml_version_required 2.6.27
+%define major 1
+%define libname %mklibname xslt %{major}
+%define develname %mklibname xslt -d
+%define pyver 2.4
+Name:    libxslt
+Version: 1.1.22
+Release: %mkrel 2
+Summary: Library providing XSLT support
+License: MIT
+Group: System/Libraries
+URL: http://xmlsoft.org/XSLT/
+Source0: ftp://xmlsoft.org/libxslt/libxslt-%{version}.tar.gz
+Patch0: libxslt-python-applyStylesheet-params-x86_64.patch
+Requires: libxml2 >= %{xml_version_required}
+BuildRequires: libxml2-devel >= %{xml_version_required}
+BuildRequires: python%{pyver}-devel >= %{pyver}
+BuildRequires: python%{pyver}-libxml2 >= %{xml_version_required}
+BuildRequires: libgcrypt-devel
+BuildRequires:        multiarch-utils >= 1.0.3
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+%description
+This C library allows to transform XML files into other XML files
+(or HTML, text, ...) using the standard XSLT stylesheet transformation
+mechanism.
+
+%package proc
+Summary: XSLT processor using libxslt
+Group: System/Libraries
+Requires: %{libname} = %{version}-%{release}
+
+%description proc
+This package provides an XSLT processor based on the libxslt C library. 
+It allows to transform XML files into other XML files
+(or HTML, text, ...) using the standard XSLT stylesheet transformation
+mechanism. 
+
+%package -n %{libname}
+Summary: Library providing XSLT support
+Group: System/Libraries
+
+%description  -n %{libname}
+This C library allows to transform XML files into other XML files
+(or HTML, text, ...) using the standard XSLT stylesheet transformation
+mechanism. 
+A xslt processor based on this library, named xsltproc, is provided by 
+the libxslt-proc package.
+
+%package -n python%{pyver}-%{name}
+Summary: Python bindings for the libxslt library
+Group: Development/Python
+Obsoletes: %{name}-python < %{version}-%{release}
+Requires: %{libname} = %{version}-%{release}
+Requires: python >= %{pyver}
+Requires: python%{pyver}-libxml2 >= %{xml_version_required}
+
+%description -n python%{pyver}-%{name}
+The libxslt-python package contains a module that permits applications
+written in the Python programming language to use the interface
+supplied by the libxslt library to apply XSLT transformations.
+
+This library allows to parse sytlesheets, uses the libxml2-python
+to load and save XML and HTML files. Direct access to XPath and
+the XSLT transformation context are possible to extend the XSLT language
+with XPath functions written in Python.
+
+%package -n %{develname}
+Summary: Libraries, includes, etc. to develop XML and HTML applications
+Group: Development/C
+Provides: %{_lib}%{name}-devel = %{version}-%{release}
+Provides: %{name}-devel = %{version}-%{release}
+Provides: lib%{name}-devel = %{version}-%{release}
+Requires: %{libname} = %{version}-%{release}
+Requires: libxml2-devel >= %{xml_version_required}
+Obsoletes: %{mklibname xslt 1 -d} < %{version}-%{release}
+
+%description -n %{develname}
+This C library allows to transform XML files into other XML files
+(or HTML, text, ...) using the standard XSLT stylesheet transformation
+mechanism. 
+
+%prep
+%setup -q
+%patch0 -p1 -b .x86_64
+%{__mkdir_p} python/examples
+%{__cp} -a python/tests/*.{py,xml,xsl} python/examples
+
+%build 
+%configure2_5x --with-python=/usr/bin/python2.4
+%make
+
+%check
+make check
+
+%install
+%{__rm} -rf %{buildroot}
+%makeinstall_std
+
+# remove unpackaged files
+%{__rm} -rf %{buildroot}%{_docdir}/%{name}-%{version} %{buildroot}%{_docdir}/%{name}-python-%{version} \
+  %{buildroot}%{_libdir}/python%{pyver}/site-packages/*.{la,a}
+
+%multiarch_binaries %{buildroot}%{_bindir}/xslt-config
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%post -n %{libname} -p /sbin/ldconfig 
+
+%postun -n %{libname} -p /sbin/ldconfig
+
+%files proc
+%defattr(-, root, root)
+%{_bindir}/xsltproc
+%{_mandir}/man1/*
+
+%files -n %{libname}
+%defattr(-, root, root)
+%doc AUTHORS NEWS README Copyright FEATURES TODO
+%{_libdir}/lib*.so.*
+
+%files -n python%{pyver}-%{name}
+%defattr(0644,root, root,0755)
+%doc AUTHORS README Copyright FEATURES python/TODO python/examples python/libxsltclass.txt
+%defattr(-, root, root)
+%{_libdir}/python%{pyver}/site-packages/*.so
+%{_libdir}/python%{pyver}/site-packages/*.py
+
+%files -n %{develname}
+%defattr(-, root, root)
+%doc doc/*.html doc/tutorial doc/html
+%{_mandir}/man3/*
+%{_libdir}/lib*.so
+%{_libdir}/*a
+%{_libdir}/*.sh
+%{_includedir}/*
+%multiarch %{multiarch_bindir}/xslt-config
+%{_bindir}/xslt-config
+%{_libdir}/pkgconfig/*
+%{_datadir}/aclocal/*
+
+
+%changelog
+
+* Mon Apr 21 2008 Delaby Nicolas <nicolas at nexedi.com> 1.1.22-2mdv2008.1
++ Revision: 102031
+- Build for python2.4
+
+* Thu Oct 25 2007 Colin Guthrie <cguthrie at mandriva.org> 1.1.22-2mdv2008.1
++ Revision: 102031
+- Fix python binding's applyStylesheet params handling on x86_64 (Gnome bug #489854)
+
+* Mon Sep 03 2007 David Walluck <walluck at mandriva.org> 1.1.22-1mdv2008.0
++ Revision: 78474
+- 1.1.22
+- version Obsoletes
+- fix python-%%{name} %%doc perms
+
+* Wed Aug 15 2007 Adam Williamson <awilliamson at mandriva.com> 1.1.21-2mdv2008.0
++ Revision: 63587
+- whoops, finish cleanup
+- okay, we really don't need to support 10.1 and earlier any more
+- drop explicit requires on libxml2 (it has an auto-generated one anyway)
+
+* Wed Aug 08 2007 Tomasz Pawel Gajc <tpg at mandriva.org> 1.1.21-1mdv2008.0
++ Revision: 60121
+- new version
+- new devel library policy
+
+
+* Thu Mar 15 2007 Olivier Blin <oblin at mandriva.com> 1.1.20-2mdv2007.1
++ Revision: 144593
+- move API doc in devel package
+
+  + Thierry Vignaud <tvignaud at mandriva.com>
+    - no need to package big ChangeLog when NEWS is already there
+
+* Wed Jan 24 2007 Götz Waschk <waschk at mandriva.org> 1.1.20-1mdv2007.1
++ Revision: 112886
+- new version
+
+* Thu Dec 14 2006 Nicolas Lécureuil <neoclust at mandriva.org> 1.1.19-2mdv2007.1
++ Revision: 97032
+- Rebuild
+
+  + David Walluck <walluck at mandriva.org>
+    - include source
+    - 1.1.19
+      rename python package to python-libxslt
+
+* Sat Oct 28 2006 Götz Waschk <waschk at mandriva.org> 1.1.18-1mdv2007.1
++ Revision: 73542
+- Import libxslt
+
+* Sat Oct 28 2006 Götz Waschk <waschk at mandriva.org> 1.1.18-1mdv2007.1
+- move test to the right stage
+- bump deps
+- fix source URL
+- new version
+
+* Wed Jun 07 2006 Götz Waschk <waschk at mandriva.org> 1.1.17-1mdv2007.0
+- bump deps
+- source URL
+- New release 1.1.17
+
+* Wed May 03 2006 Götz Waschk <waschk at mandriva.org> 1.1.16-1mdk
+- New release 1.1.16
+
+* Wed Feb 22 2006 Frederic Crozat <fcrozat at mandriva.com> 1.1.15-2mdk
+- use mkrel
+
+* Tue Sep 06 2005 Frederic Crozat <fcrozat at mandriva.com> 1.1.15-1mdk 
+- Release 1.1.15
+
+* Tue Apr 19 2005 Frederic Crozat <fcrozat at mandriva.com> 1.1.14-1mdk 
+- Release 1.1.14
+
+* Wed Mar 16 2005 Oden Eriksson <oeriksson at mandrakesoft.com> 1.1.12-3mdk
+- fix deps and conditional %%multiarch
+
+* Sun Dec 05 2004 Michael Scherer <misc at mandrake.org> 1.1.12-2mdk
+- Rebuild for new python
+
+* Thu Nov 11 2004 Götz Waschk <waschk at linux-mandrake.com> 1.1.12-1mdk
+- requires new libxml2
+- New release 1.1.12
+
+* Tue Oct 19 2004 Frederic Crozat <fcrozat at mandrakesoft.com> 1.1.11-1mdk
+- New release 1.1.11
+
+* Wed Sep 01 2004 Frederic Crozat <fcrozat at mandrakesoft.com> 1.1.10-1mdk
+- New release 1.1.10
+
+* Tue Aug 24 2004 Goetz Waschk <waschk at linux-mandrake.com> 1.1.9-1mdk
+- New release 1.1.9
+
+* Thu Jul 08 2004 Götz Waschk <waschk at linux-mandrake.com> 1.1.8-2mdk
+- fix buildrequires
+
+* Wed Jul 07 2004 Götz Waschk <waschk at linux-mandrake.com> 1.1.8-1mdk
+- reenable libtoolize for cooker
+- New release 1.1.8
+
+* Tue Apr 20 2004 Götz Waschk <waschk at linux-mandrake.com> 1.1.6-1mdk
+- new version
+
+* Sat Apr 03 2004 Frederic Crozat <fcrozat at mandrakesoft.com> 1.1.5-1mdk
+- Release 1.1.5
+




More information about the Erp5-report mailing list