1998-09-25 16:58:38 +00:00
# Note that this is NOT a relocatable package
1999-02-21 21:20:12 +00:00
%define ver @VERSION@
1998-09-25 16:58:38 +00:00
%define prefix /usr
2000-10-30 09:27:53 +00:00
Summary : Library providing XML and HTML support
2000-03-14 18:30:20 +00:00
Name : libxml2
1998-09-25 16:58:38 +00:00
Version : %ver
2000-01-25 18:31:22 +00:00
Release : 1
1998-09-25 16:58:38 +00:00
Copyright: LGPL
2000-07-10 10:27:46 +00:00
Group : Development/Libraries
Source : ftp://xmlsoft.org/libxml2-%{ver} .tar.gz
2000-03-14 19:59:05 +00:00
BuildRoot : /var/tmp/libxml2-%{PACKAGE_VERSION} -root
1999-02-21 21:20:12 +00:00
2000-03-14 19:59:05 +00:00
URL : http://xmlsoft.org/
1998-09-25 16:58:38 +00:00
Docdir: %{prefix} /doc
%description
2000-10-30 09:27:53 +00:00
This library allows to manipulate XML files. It includes support
to read, modify and write XML and HTML files. There is DTDs support
this includes parsing and validation even with complex DtDs, either
at parse time or later once the document has been modified. The output
can be a simple SAX stream or and in-memory DOM like representations.
In this case one can use the built-in XPath and XPointer implementation
to select subnodes or ranges. A flexible Input/Output mechanism is
available, with existing HTTP and FTP modules and combined to an
URI library.
1998-09-25 16:58:38 +00:00
%package devel
2000-10-30 09:27:53 +00:00
Summary : Libraries, includes, etc. to develop XML and HTML applications
2000-07-10 10:27:46 +00:00
Group : Development/Libraries
Requires : libxml2 = %{version}
1998-09-25 16:58:38 +00:00
%description devel
2000-10-30 09:27:53 +00:00
Libraries, include files, etc you can use to develop XML applications.
This library allows to manipulate XML files. It includes support
to read, modify and write XML and HTML files. There is DTDs support
this includes parsing and validation even with complex DtDs, either
at parse time or later once the document has been modified. The output
can be a simple SAX stream or and in-memory DOM like representations.
In this case one can use the built-in XPath and XPointer implementation
to select subnodes or ranges. A flexible Input/Output mechanism is
available, with existing HTTP and FTP modules and combined to an
URI library.
1998-09-25 16:58:38 +00:00
%changelog
1999-09-23 22:19:22 +00:00
* Thu Sep 23 1999 Daniel Veillard <Daniel.Veillard@w3.org>
- corrected the spec file alpha stuff
- switched to version 1.7.1
- Added validation, XPath, nanohttp, removed memory leaks
- Renamed CHAR to xmlChar
1999-06-02 17:44:04 +00:00
* Wed Jun 2 1999 Daniel Veillard <Daniel.Veillard@w3.org>
- Switched to version 1.1: SAX extensions, better entities support, lots of
bug fixes.
1999-01-16 19:15:56 +00:00
* Sun Oct 4 1998 Daniel Veillard <Daniel.Veillard@w3.org>
1998-10-04 14:50:58 +00:00
- Added xml-config to the package
1998-09-25 16:58:38 +00:00
* Thu Sep 24 1998 Michael Fulbright <msf@redhat.com>
- Built release 0.30
%prep
%setup
%build
# Needed for snapshot releases.
if [ ! -f configure ]; then
1999-02-28 02:38:48 +00:00
%ifarch alpha
1999-09-23 22:19:22 +00:00
CFLAGS=" $RPM_OPT_FLAGS " ./autogen.sh --host=alpha-redhat-linux --prefix=%prefix --sysconfdir=" / e t c "
1999-02-28 02:38:48 +00:00
%else
CFLAGS=" $RPM_OPT_FLAGS " ./autogen.sh --prefix=%prefix --sysconfdir=" / e t c "
%endif
1998-09-25 16:58:38 +00:00
else
1999-02-28 02:38:48 +00:00
%ifarch alpha
1999-09-23 22:19:22 +00:00
CFLAGS=" $RPM_OPT_FLAGS " ./configure --host=alpha-redhat-linux --prefix=%prefix --sysconfdir=" / e t c "
1999-02-28 02:38:48 +00:00
%else
CFLAGS=" $RPM_OPT_FLAGS " ./configure --prefix=%prefix --sysconfdir=" / e t c "
%endif
1998-09-25 16:58:38 +00:00
fi
if [ " $ S M P " != " " ]; then
(make " M A K E = m a k e - k - j $ S M P " ; exit 0)
make
else
make
fi
%install
rm -rf $RPM_BUILD_ROOT
2000-08-19 16:48:54 +00:00
install -d $RPM_BUILD_ROOT /usr/man/man1
install -d $RPM_BUILD_ROOT /usr/man/man4
1998-09-25 16:58:38 +00:00
make prefix=$RPM_BUILD_ROOT %{prefix} install
%clean
1999-02-21 21:20:12 +00:00
rm -rf $RPM_BUILD_ROOT
1998-09-25 16:58:38 +00:00
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr (-, root, root)
%doc AUTHORS ChangeLog NEWS README COPYING COPYING.LIB TODO
2000-09-17 16:00:22 +00:00
%doc /usr/man/man1/xmllint.1*
2000-10-11 13:04:36 +00:00
%doc /usr/man/man1/xml-config.1*
2000-09-17 16:00:22 +00:00
%doc /usr/man/man4/libxml.4*
2000-08-19 16:48:54 +00:00
1998-09-25 16:58:38 +00:00
%{prefix} /lib/lib*.so.*
2000-04-03 19:48:13 +00:00
%{prefix} /bin/xmllint
1998-09-25 16:58:38 +00:00
%files devel
%defattr (-, root, root)
%{prefix} /lib/lib*.so
%{prefix} /lib/*a
1999-08-15 17:19:50 +00:00
%{prefix} /lib/*.sh
1998-09-25 16:58:38 +00:00
%{prefix} /include/*
2000-04-03 19:48:13 +00:00
%{prefix} /bin/xml-config