# # spec file for package expat (Version 2.0.0) # # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: expat Version: 2.0.0 Release: 22 Group: Development/Libraries/C and C++ License: MOZILLA PUBLIC LICENSE (MPL/NPL) URL: http://expat.sourceforge.net/ Summary: XML Parser Toolkit Source0: %{name}-%{version}.tar.bz2 Source1: %{name}faq.html BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Expat is an XML 1.0 parser written in C. It aims to be fully conformant. It is currently not a validating XML processor. The current production version of expat can be downloaded from ftp://ftp.jclark.com/pub/xml/expat.zip. The directory xmltok contains a low-level library for tokenizing XML. The interface is documented in xmltok/xmltok.h. The directory xmlparse contains an XML parser library that is built on top of the xmltok library. The interface is documented in xmlparse/xmlparse.h. The directory sample contains a simple example program using this interface. The directory sample/build.bat is a batch file to build the example using Visual C++. The directory xmlwf contains the xmlwf application, which uses the xmlparse library. The arguments to xmlwf are one or more files to check for well-formedness. An option -d dir can be specified. For each well-formed input file, the corresponding canonical XML is written to dir/f, where f is the filename (without any path) of the input file. A -x option causes references to external general entities to be processed. A -s option makes documents that are not stand-alone cause an error (a document is considered stand-alone if it is intrinsically stand-alone because it has no external subset and no references to parameter entities in the internal subset or it is declared as stand-alone in the XML declaration). Authors: -------- James Clark %prep %setup -q cp %{S:1} . %build CFLAGS="$RPM_OPT_FLAGS" \ ./configure \ --prefix=%{_prefix} \ --libdir=%{_libdir} \ --mandir=%{_mandir} \ --infodir=%{_infodir} \ --sysconfdir=%{_sysconfdir} \ --target=%{_target_cpu}-suse-linux-gnu make %install make DESTDIR=$RPM_BUILD_ROOT install rm doc/xmlwf.1 rm $RPM_BUILD_ROOT/%{_libdir}/libexpat.la %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %doc COPYING Changes README examples expatfaq.html doc/* %doc %{_mandir}/man?/* %{_bindir}/* %{_libdir}/lib* %{_includedir}/* %changelog -n expat * Thu Oct 19 2006 - dmueller@suse.de - strip .la file * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Fri Jan 13 2006 - ro@suse.de - fixed file list for debuginfo package (do not pack all of libdir) * Wed Jan 11 2006 - mjancar@suse.cz - update to 2.0.0 * Mon Jan 09 2006 - mjancar@suse.cz - update to 2.0 pre release * Wed Nov 10 2004 - ro@suse.de - fixed filelist * Mon Aug 09 2004 - tcrhak@suse.cz - update to 1.95.8 * Thu Feb 05 2004 - kukuk@suse.de - Build as user * Thu Feb 05 2004 - tcrhak@suse.cz - update to version 1.95.7 * Tue Feb 18 2003 - tcrhak@suse.cz - in expat.h, declare enum XML_Status before using it; put into patch "...-header.diff" [bug #23742] * Mon Feb 17 2003 - tcrhak@suse.cz - updated to version 1.95.6 * Sun Dec 22 2002 - tcrhak@suse.cz - update to version 1.95.5 * Sat Jul 13 2002 - tcrhak@suse.cz - update to version 1.95.4 * Thu Mar 28 2002 - tcrhak@suse.cz - added parameter --target to configure * Mon Jan 14 2002 - rvasice@suse.cz - use %%{_libdir} and %%{_lib} * Tue Nov 20 2001 - rvasice@suse.cz - fix URL in spec file * Wed Aug 15 2001 - rvasice@suse.cz - update to version 1.95.2 - spec file cleanup - added DESTDIR * Mon May 14 2001 - pblaha@suse.cz - fixed links for soname of libexpat.so* * Fri May 11 2001 - cihlar@suse.cz - fixed soname of libexpat.so.1.2 * Fri Jan 05 2001 - pblaha@suse.cz - back on stable version 1.2 added build shared libexpat.so * Thu Jan 04 2001 - pblaha@suse.cz - update on 1.95.1 on sourgeforge needed for midgard - new description * Thu Mar 09 2000 - ke@suse.de - Don't "install" symlinks; use "cp"; reported by bs; proposed fix by ro. - Cleanup the spec file: better Group tag; more accurate files list. * Tue Nov 23 1999 - ke@suse.de - first SuSE package: version 1.1. - apply Debian patch to build shared libs. - build libexpat.a.