SHA256
1
0
forked from pool/expat
OBS User unknown 2007-04-27 14:43:19 +00:00 committed by Git OBS Bridge
parent 436fb5c765
commit 0ff36117dc
2 changed files with 91 additions and 15 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Apr 17 18:49:10 CEST 2007 - prusnak@suse.cz
- split libexpat1 and libexpat-devel subpackages [#260214]
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 19 12:37:07 CEST 2006 - dmueller@suse.de Thu Oct 19 12:37:07 CEST 2006 - dmueller@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package expat (Version 2.0.0) # spec file for package expat (Version 2.0.0)
# #
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine # This file and all modifications and additions to the pristine
# package are under the same license as the package itself. # package are under the same license as the package itself.
# #
@ -12,7 +12,7 @@
Name: expat Name: expat
Version: 2.0.0 Version: 2.0.0
Release: 22 Release: 47
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
License: MOZILLA PUBLIC LICENSE (MPL/NPL) License: MOZILLA PUBLIC LICENSE (MPL/NPL)
URL: http://expat.sourceforge.net/ URL: http://expat.sourceforge.net/
@ -47,6 +47,73 @@ declaration).
Authors:
--------
James Clark <jjc@jclark.com>
%package -n libexpat1
Summary: XML Parser Toolkit
Group: Development/Libraries/C and C++
%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
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).
Authors: Authors:
-------- --------
James Clark <jjc@jclark.com> James Clark <jjc@jclark.com>
@ -56,14 +123,7 @@ Authors:
cp %{S:1} . cp %{S:1} .
%build %build
CFLAGS="$RPM_OPT_FLAGS" \ %configure
./configure \
--prefix=%{_prefix} \
--libdir=%{_libdir} \
--mandir=%{_mandir} \
--infodir=%{_infodir} \
--sysconfdir=%{_sysconfdir} \
--target=%{_target_cpu}-suse-linux-gnu
make make
%install %install
@ -76,13 +136,24 @@ rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-, root, root) %defattr(-, root, root)
%doc COPYING Changes README examples expatfaq.html doc/* %doc COPYING Changes README examples expatfaq.html
%doc doc/expat.png doc/reference.html doc/style.css doc/valid-xhtml10.png
%doc %{_mandir}/man?/* %doc %{_mandir}/man?/*
%{_bindir}/* %{_bindir}/xmlwf
%{_libdir}/lib*
%{_includedir}/*
%changelog -n expat %files -n libexpat1
%defattr(-, root, root)
%{_libdir}/libexpat.so.*
%files -n libexpat-devel
%defattr(-, root, root)
%{_includedir}/*
%{_libdir}/libexpat.a
%{_libdir}/libexpat.so
%changelog
* Tue Apr 17 2007 - prusnak@suse.cz
- split libexpat1 and libexpat-devel subpackages [#260214]
* Thu Oct 19 2006 - dmueller@suse.de * Thu Oct 19 2006 - dmueller@suse.de
- strip .la file - strip .la file
* Wed Jan 25 2006 - mls@suse.de * Wed Jan 25 2006 - mls@suse.de