%define pkgname Sablot Name: sablotron Version: 1.0.3 Release: 3.n0i.5%{?dist} Summary: XSLT, XPath and DOM processor Group: Development/Languages License: GPL+ URL: http://www.gingerall.org/sablotron.html Source0: http:/download-1.gingerall.cz/download/sablot/%{pkgname}-%{version}.tar.gz BuildRequires: js-devel >= 1.5 BuildRequires: expat-devel >= 1.95.2 BuildRequires: libstdc++-devel BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description Sablotron is an XML (XSLT 1.0, XPath 1.0, DOM Level2) processor. It is written in C++ by Ginger Alliance. %package devel Summary: Development libraries and header files for Sablotron Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel These are the development libraries and header files for %{name}. %prep %setup -q -n %{pkgname}-%{version} %build export CPLUS_INCLUDE_PATH=%{_includedir}/js export CXXFLAGS="$RPM_OPT_FLAGS" export SABLOT_GPL=1 %configure \ --disable-dependency-tracking \ --disable-adding-meta \ --disable-static \ --enable-javascript \ --enable-js-threads \ --enable-perlconnect \ --with-pic \ --with-js \ --with-expat \ --with-iconv \ --enable-debugger # this gives creeps to perl bindings :( # --with-readline \ # make %{?_smp_mflags} %{__make} %install %{__rm} -rf $RPM_BUILD_ROOT %makeinstall %clean %{__rm} -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc README RELEASE doc/misc/NOTES doc/misc/DEBUGGER %{_bindir}/sabcmd %{_libdir}/*.so.* %exclude %{_libdir}/lib*.la %{_mandir}/man1/sabcmd.1.gz %files devel %defattr(-,root,root,-) %doc doc/apidoc/sablot doc/apidoc/jsdom-ref doc/apidoc/sxp %{_includedir}/* %{_bindir}/sablot-config %{_libdir}/lib*.so %changelog * Thu Sep 20 2007 Marius FERARU - 1.0.3-3.n0i.5 - rebuild * Mon Feb 05 2007 Marius FERARU - 1.0.3-2.n0i.4 - spec cleanup - dropped lib patch * Mon Aug 21 2006 Marius FERARU - 1.0.3-1.n0i.3 - version 1.0.3 * Wed Jan 19 2005 Marius FERARU 1.0.2-1.n0i.2 - version 1.0.2 * Sun Feb 01 2004 Marius FERARU 1.0.1-0.n0i.1 - spec clean up (Fedora style) * Mon Nov 24 2003 Petr Cimpricg - sablotron 1.0.1 RPM release 1 * Fri Aug 8 2003 Petr Cimprich - sablotron 1.0 RPM release 1 - Add optional support for JS thru defines - all defines can be set from command line - patch for src/engine/Makefile.in updated * Mon May 19 2003 Chris Chabot - Replace tabs w/ spaces in header - Add optional GPL licence compile support and Add optional support for readline thru defines and changes package licence field appropiatly - Package man page in man1 instead putting it in the doc dir - Add sablot-config to package - Add conflicts tag for non-supported expat release - Changed buildroot to use temp path macro - Removed .la file, new-redhat style - Add check for rm -rf's that build root is not / - Made setup quiet - Add NOTES & DEBUGGER to the main package and apidoc's to devel package - Set file mode for README to 0644 - Expanded Requires & BuildRequires tags * Tue Apr 8 2003 Petr Cimprich - sablotron 0.98 RPM release 1 - Expat 1.95.2 or higher required * Mon Dec 30 2002 Petr Cimprich - sablotron 0.97 RPM release 1 * Thu Sep 5 2002 Petr Cimprich - sablotron 0.96 RPM release 1 - added switches to %configure and JS environment * Wed Jul 31 2002 Alkis Evlogimenos - Removed unnecessary %builddir definition - Changed configure target to take configure options of the system - Changed install to use the %makeinstall macro * Tue Jun 25 2002 Petr Cimprich - sablotron 0.95 RPM release 1 - added manpage for sabcmd * Mon Mar 11 2002 Petr Cimprich - sablotron 0.90 RPM release 1 * Wed Jan 30 2002 Petr Cimprich - sablotron 0.82 RPM release 1 * Fri Jan 18 2002 Petr Cimprich - sablotron 0.81 RPM release 2 - added CPLUS_INCLUDE_PATH=/usr/include/js * Wed Jan 16 2002 Petr Cimprich - sablotron 0.81 RPM release 1 * Thu Jan 10 2002 Petr Cimprich - sablotron 0.80 RPM release 2 - removed --enable-perlconnect * Wed Jan 9 2002 Petr Cimprich - sablotron 0.80 RPM release 1 - requires JavaScript now - build under RedHat 7.2 with rpm 4.0.3 * Tue Nov 6 2001 Petr Cimprich - sablotron 0.71 RPM release 1 - adapted to new project layout * Tue Sep 18 2001 Petr Cimprich - sablotron 0.70 RPM release 1 * Wed Aug 15 2001 Petr Cimprich - sablotron 0.65 RPM release 1 * Thu Jun 14 2001 Petr Cimprich - sablotron 0.60 RPM release 1 - build under RedHat 7.1 with rpm 4.0.2 * Wed Apr 22 2001 Petr Cimprich - sablotron 0.52 RPM release 1 - based on 0.51-5 spec by Henri Gomez * Thu Feb 22 2001 Henri Gomez - sablotron 0.51 RPM release 5 - apply patch to add -lexpat and -lstdc++ in libsablot.so REQUIRED for use with PHP4 * Thu Feb 22 2001 Henri Gomez - sablotron 0.51 RPM release 4 - follow Redhat way to dispatch between pack and pack-devel * Tue Feb 20 2001 Henri Gomez - sablotron 0.51 RPM release 3 - added ldconfig is post/preun and cleanup stuff - build under Redhat 6.2 + updates with rpm 3.0.5 * Mon Feb 19 2001 Henri Gomez - sablotron 0.51 RPM release 2 - added Requires expat >= 1.95.1 * Mon Feb 19 2001 Henri Gomez - sablotron 0.51 RPM release 1 - updated spec file