Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
tdom
tdom.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tdom.spec of Package tdom
# # spec file for package tdom (Version 0.8.2) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: tdom %if 0%{!?tclscriptdir:1} %define tclscriptdir %_libdir %endif Summary: A XML/DOM/XPath/XSLT Implementation for Tcl Version: 0.8.2 Release: 78 License: MOZILLA PUBLIC LICENSE (MPL/NPL) Group: Development/Libraries/Tcl Url: http://www.tdom.org BuildRequires: libexpat-devel tcl-devel tcllib Source0: tDOM-%{version}.tar.bz2 Patch0: tdom.patch Patch1: tdom-expat.patch Patch2: tdom-tnc.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description tDOM combines high performance XML data processing with easy and powerful Tcl scripting functionality. tDOM should be one of the fastest ways to manipulate XML with a scripting language and uses very few memory: for example, the DOM tree of the XML recommendation in XML (160K) needs only about 450K of memory. Authors: -------- Jochen Loewer <loewerj@hotmail.com> Rolf Ade <rolf@pointsman.de> Zoran Vasiljevic <zoran@archiware.com> %prep %setup -q -n tDOM-%version %patch0 %patch1 %patch2 %build autoreconf --force mkdir build cd build CFLAGS="%optflags" ../configure \ --prefix=%_prefix \ --libdir=%_libdir \ --mandir=%_mandir \ --with-tcl=%_libdir \ --disable-tdomalloc \ --with-expat make cd ../extensions/tnc autoreconf --force CFLAGS="%optflags" ./configure \ --prefix=%_prefix \ --libdir=%_libdir \ --mandir=%_mandir \ --with-tcl=%_libdir \ --with-tdom=../../build make %check cd build make test cd ../extensions/tnc make test TCLLIBPATH=../../build EXTRA_PATH=../../build %install cd build make DESTDIR=%buildroot pkglibdir=%tclscriptdir/%name%version install chmod 644 %buildroot/%_libdir/*.a cd ../extensions/tnc make DESTDIR=%buildroot pkglibdir=%tclscriptdir/tnc0.3.0 install %clean rm -rf %buildroot %files %defattr(-,root,root,-) %doc ChangeLog CHANGES README NPL-1_1Final.html LICENSE %doc %_mandir/man*/* %tclscriptdir/* %_libdir/*.so %_libdir/*.a %_includedir/* %_libdir/tdomConfig.sh %changelog * Wed Aug 15 2007 max@suse.de - Update to the final 0.8.2 release * Correct a licensing issue * Some cosmetical fixes * Wed Aug 08 2007 max@suse.de - New version: 0.8.2rc3 * Update to expat 2.0.1. * Improve 64bit support * Added the '-namespaces' option to the selectNodes method. * Added the methods 'transform' and 'delete' to xsltCmds. * Added the 'selectNodesNamespace' to documents. * Normalize case of attribute also (not only elements). * Added method deleteXPathCache: basic control over the xpath expression cache. * Variable references in XPath queries will now be resoved as Tcl variables. - Added tcllib to BuildRequires (needed for 'make test'). - Added the tnc extension to the package * Fri Apr 27 2007 aj@suse.de - Add libexpat-devel to BuildRequires. * Mon Oct 09 2006 max@suse.de - New package: tdom - A XML/DOM/XPath/XSLT Implementation for Tcl, based on expat. - Patched to use the libexpat instead of included copy.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor