2006-12-19 00:15:51 +01:00
|
|
|
#
|
2007-06-08 00:13:26 +02:00
|
|
|
# spec file for package expat (Version 2.0.1)
|
2006-12-19 00:15:51 +01:00
|
|
|
#
|
2008-04-10 14:11:39 +02:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2006-12-19 00:15:51 +01:00
|
|
|
#
|
2008-11-02 15:39:25 +01:00
|
|
|
# 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.
|
|
|
|
|
2006-12-19 00:15:51 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-10 14:11:39 +02:00
|
|
|
|
2006-12-19 00:15:51 +01:00
|
|
|
Name: expat
|
2007-06-08 00:13:26 +02:00
|
|
|
Version: 2.0.1
|
2008-11-02 15:39:25 +01:00
|
|
|
Release: 87
|
2006-12-19 00:15:51 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2007-06-08 00:13:26 +02:00
|
|
|
License: X11/MIT
|
2008-04-10 14:11:39 +02:00
|
|
|
Url: http://expat.sourceforge.net/
|
2008-11-02 15:39:25 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: expat-64bit
|
|
|
|
%endif
|
|
|
|
%ifarch %ix86 ppc
|
|
|
|
Obsoletes: expat-32bit
|
|
|
|
%endif
|
|
|
|
#
|
2006-12-19 00:15:51 +01:00
|
|
|
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).
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-04-27 16:43:19 +02:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
James Clark <jjc@jclark.com>
|
|
|
|
|
|
|
|
%package -n libexpat1
|
2008-04-10 14:11:39 +02:00
|
|
|
License: MOZILLA PUBLIC LICENSE (MPL/NPL)
|
2007-04-27 16:43:19 +02:00
|
|
|
Summary: XML Parser Toolkit
|
|
|
|
Group: Development/Libraries/C and C++
|
2008-11-02 15:39:25 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: expat-64bit
|
|
|
|
%endif
|
|
|
|
%ifarch %ix86 ppc
|
|
|
|
Obsoletes: expat-32bit
|
|
|
|
%endif
|
|
|
|
#
|
2007-04-27 16:43:19 +02:00
|
|
|
|
|
|
|
%description -n libexpat1
|
|
|
|
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 <jjc@jclark.com>
|
|
|
|
|
|
|
|
%package -n libexpat-devel
|
2008-04-10 14:11:39 +02:00
|
|
|
License: MOZILLA PUBLIC LICENSE (MPL/NPL)
|
2007-04-27 16:43:19 +02:00
|
|
|
Summary: XML Parser Toolkit
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libexpat1 = %{version}
|
|
|
|
|
|
|
|
%description -n libexpat-devel
|
|
|
|
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).
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-12-19 00:15:51 +01:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
James Clark <jjc@jclark.com>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
cp %{S:1} .
|
2007-06-08 00:13:26 +02:00
|
|
|
rm -f examples/*.dsp
|
2006-12-19 00:15:51 +01:00
|
|
|
|
|
|
|
%build
|
2007-07-27 15:34:45 +02:00
|
|
|
%configure \
|
|
|
|
--libdir=/%{_lib}
|
2006-12-19 00:15:51 +01:00
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
rm doc/xmlwf.1
|
2007-07-27 15:34:45 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_libdir}
|
|
|
|
# move .a file to /usr
|
|
|
|
mv $RPM_BUILD_ROOT/%{_lib}/libexpat.a $RPM_BUILD_ROOT%{_libdir}/libexpat.a
|
|
|
|
# move .so symlink to /usr
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{_lib}/libexpat.so
|
2007-07-29 10:44:47 +02:00
|
|
|
ln -sf /%{_lib}/libexpat.so.1 $RPM_BUILD_ROOT%{_libdir}/libexpat.so
|
2007-07-27 15:34:45 +02:00
|
|
|
# remove .la file
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{_lib}/libexpat.la
|
2006-12-19 00:15:51 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2007-06-08 00:13:26 +02:00
|
|
|
%post -n libexpat1
|
2007-07-27 15:34:45 +02:00
|
|
|
/sbin/ldconfig
|
2007-06-08 00:13:26 +02:00
|
|
|
|
|
|
|
%postun -n libexpat1
|
2007-07-27 15:34:45 +02:00
|
|
|
/sbin/ldconfig
|
2007-06-08 00:13:26 +02:00
|
|
|
|
2006-12-19 00:15:51 +01:00
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
2007-04-27 16:43:19 +02:00
|
|
|
%doc COPYING Changes README examples expatfaq.html
|
|
|
|
%doc doc/expat.png doc/reference.html doc/style.css doc/valid-xhtml10.png
|
2006-12-19 00:15:51 +01:00
|
|
|
%doc %{_mandir}/man?/*
|
2007-04-27 16:43:19 +02:00
|
|
|
%{_bindir}/xmlwf
|
|
|
|
|
|
|
|
%files -n libexpat1
|
|
|
|
%defattr(-, root, root)
|
2007-07-27 15:34:45 +02:00
|
|
|
/%{_lib}/libexpat.so.*
|
2007-04-27 16:43:19 +02:00
|
|
|
|
|
|
|
%files -n libexpat-devel
|
|
|
|
%defattr(-, root, root)
|
2006-12-19 00:15:51 +01:00
|
|
|
%{_includedir}/*
|
2007-04-27 16:43:19 +02:00
|
|
|
%{_libdir}/libexpat.a
|
|
|
|
%{_libdir}/libexpat.so
|
2006-12-19 00:15:51 +01:00
|
|
|
|
2007-04-27 16:43:19 +02:00
|
|
|
%changelog
|
2008-11-02 15:39:25 +01:00
|
|
|
* Thu Oct 30 2008 olh@suse.de
|
|
|
|
- obsolete old -XXbit packages (bnc#437293)
|
2008-04-10 14:11:39 +02:00
|
|
|
* Thu Apr 10 2008 ro@suse.de
|
|
|
|
- added baselibs.conf file to build xxbit packages
|
|
|
|
for multilib support
|
|
|
|
* Sat Jul 28 2007 coolo@suse.de
|
2007-07-29 10:44:47 +02:00
|
|
|
- fix devel symlink
|
2008-04-10 14:11:39 +02:00
|
|
|
* Wed Jul 25 2007 prusnak@suse.cz
|
2007-07-27 15:34:45 +02:00
|
|
|
- move libraries from /usr/lib to /lib [#285472]
|
|
|
|
- replace deprecated %%run_ldconfig with /sbin/ldconfig
|
2008-04-10 14:11:39 +02:00
|
|
|
* Thu Jun 07 2007 prusnak@suse.cz
|
2007-06-08 00:13:26 +02:00
|
|
|
- update to 2.0.1:
|
|
|
|
( from Changes )
|
|
|
|
* Fixed bugs #1515266, 1515600: The character data handler's calling
|
|
|
|
of XML_StopParser() was not handled properly; if the parser was
|
|
|
|
stopped and the handler set to NULL, the parser would segfault.
|
|
|
|
* Fixed bug #1690883: Expat failed on EBCDIC systems as it assumed
|
|
|
|
some character constants to be ASCII encoded.
|
|
|
|
* Minor cleanups of the test harness.
|
|
|
|
* Fixed xmlwf bug #1513566: "out of memory" error on file size zero.
|
|
|
|
* Fixed outline.c bug #1543233: missing a final XML_ParserFree() call.
|
|
|
|
* Fixes and improvements for Windows platform:
|
|
|
|
bugs #1409451, #1476160, 1548182, 1602769, 1717322.
|
|
|
|
* Build fixes for various platforms:
|
|
|
|
HP-UX, Tru64, Solaris 9: patch #1437840, bug #1196180.
|
|
|
|
All Unix: #1554618 (refreshed config.sub/config.guess).
|
|
|
|
[#1490371], #1613457: support both, DESTDIR and INSTALL_ROOT,
|
|
|
|
without relying on GNU-Make specific features.
|
|
|
|
[#1647805]: Patched configure.in to work better with Intel compiler.
|
|
|
|
* Fixes to Makefile.in to have make check work correctly:
|
|
|
|
bugs #1408143, #1535603, #1536684.
|
|
|
|
* Added Open Watcom support: patch #1523242.
|
2008-04-10 14:11:39 +02:00
|
|
|
* Tue Apr 17 2007 prusnak@suse.cz
|
2007-04-27 16:43:19 +02:00
|
|
|
- split libexpat1 and libexpat-devel subpackages [#260214]
|
2008-04-10 14:11:39 +02:00
|
|
|
* Thu Oct 19 2006 dmueller@suse.de
|
2006-12-19 00:15:51 +01:00
|
|
|
- strip .la file
|
2008-04-10 14:11:39 +02:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2006-12-19 00:15:51 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-04-10 14:11:39 +02:00
|
|
|
* Fri Jan 13 2006 ro@suse.de
|
2006-12-19 00:15:51 +01:00
|
|
|
- fixed file list for debuginfo package (do not pack all of libdir)
|
2008-04-10 14:11:39 +02:00
|
|
|
* Wed Jan 11 2006 mjancar@suse.cz
|
2006-12-19 00:15:51 +01:00
|
|
|
- update to 2.0.0
|
2008-04-10 14:11:39 +02:00
|
|
|
* Mon Jan 09 2006 mjancar@suse.cz
|
2006-12-19 00:15:51 +01:00
|
|
|
- update to 2.0 pre release
|
2008-04-10 14:11:39 +02:00
|
|
|
* Wed Nov 10 2004 ro@suse.de
|
2006-12-19 00:15:51 +01:00
|
|
|
- fixed filelist
|
2008-04-10 14:11:39 +02:00
|
|
|
* Mon Aug 09 2004 tcrhak@suse.cz
|
2006-12-19 00:15:51 +01:00
|
|
|
- update to 1.95.8
|
2008-04-10 14:11:39 +02:00
|
|
|
* Thu Feb 05 2004 kukuk@suse.de
|
2006-12-19 00:15:51 +01:00
|
|
|
- Build as user
|
2008-04-10 14:11:39 +02:00
|
|
|
* Thu Feb 05 2004 tcrhak@suse.cz
|
2006-12-19 00:15:51 +01:00
|
|
|
- update to version 1.95.7
|
2008-04-10 14:11:39 +02:00
|
|
|
* Tue Feb 18 2003 tcrhak@suse.cz
|
2006-12-19 00:15:51 +01:00
|
|
|
- in expat.h, declare enum XML_Status before using it;
|
|
|
|
put into patch "...-header.diff" [bug #23742]
|
2008-04-10 14:11:39 +02:00
|
|
|
* Mon Feb 17 2003 tcrhak@suse.cz
|
2006-12-19 00:15:51 +01:00
|
|
|
- updated to version 1.95.6
|
2008-04-10 14:11:39 +02:00
|
|
|
* Sun Dec 22 2002 tcrhak@suse.cz
|
2006-12-19 00:15:51 +01:00
|
|
|
- update to version 1.95.5
|
2008-04-10 14:11:39 +02:00
|
|
|
* Sat Jul 13 2002 tcrhak@suse.cz
|
2006-12-19 00:15:51 +01:00
|
|
|
- update to version 1.95.4
|
2008-04-10 14:11:39 +02:00
|
|
|
* Thu Mar 28 2002 tcrhak@suse.cz
|
2006-12-19 00:15:51 +01:00
|
|
|
- added parameter --target to configure
|
2008-04-10 14:11:39 +02:00
|
|
|
* Mon Jan 14 2002 rvasice@suse.cz
|
2006-12-19 00:15:51 +01:00
|
|
|
- use %%{_libdir} and %%{_lib}
|
2008-04-10 14:11:39 +02:00
|
|
|
* Tue Nov 20 2001 rvasice@suse.cz
|
2006-12-19 00:15:51 +01:00
|
|
|
- fix URL in spec file
|
2008-04-10 14:11:39 +02:00
|
|
|
* Wed Aug 15 2001 rvasice@suse.cz
|
2006-12-19 00:15:51 +01:00
|
|
|
- update to version 1.95.2
|
|
|
|
- spec file cleanup
|
|
|
|
- added DESTDIR
|
2008-04-10 14:11:39 +02:00
|
|
|
* Mon May 14 2001 pblaha@suse.cz
|
2006-12-19 00:15:51 +01:00
|
|
|
- fixed links for soname of libexpat.so*
|
2008-04-10 14:11:39 +02:00
|
|
|
* Fri May 11 2001 cihlar@suse.cz
|
2006-12-19 00:15:51 +01:00
|
|
|
- fixed soname of libexpat.so.1.2
|
2008-04-10 14:11:39 +02:00
|
|
|
* Fri Jan 05 2001 pblaha@suse.cz
|
2006-12-19 00:15:51 +01:00
|
|
|
- back on stable version 1.2 added build shared libexpat.so
|
2008-04-10 14:11:39 +02:00
|
|
|
* Thu Jan 04 2001 pblaha@suse.cz
|
2006-12-19 00:15:51 +01:00
|
|
|
- update on 1.95.1 on sourgeforge needed for midgard
|
|
|
|
- new description
|
2008-04-10 14:11:39 +02:00
|
|
|
* Thu Mar 09 2000 ke@suse.de
|
2006-12-19 00:15:51 +01:00
|
|
|
- Don't "install" symlinks; use "cp"; reported by bs; proposed fix
|
|
|
|
by ro.
|
|
|
|
- Cleanup the spec file: better Group tag; more accurate files list.
|
2008-04-10 14:11:39 +02:00
|
|
|
* Tue Nov 23 1999 ke@suse.de
|
2006-12-19 00:15:51 +01:00
|
|
|
- first SuSE package: version 1.1.
|
|
|
|
- apply Debian patch to build shared libs.
|
|
|
|
- build libexpat.a.
|