Daniel Veillard | 1a12361 | 2001-09-19 08:06:23 +0000 | [diff] [blame] | 1 | Summary: Library providing XML and HTML support |
| 2 | Name: libxml2 |
Daniel Veillard | ea89828 | 2001-11-04 22:13:45 +0000 | [diff] [blame] | 3 | Version: @VERSION@ |
Daniel Veillard | 1a12361 | 2001-09-19 08:06:23 +0000 | [diff] [blame] | 4 | Release: 1 |
Daniel Veillard | ea89828 | 2001-11-04 22:13:45 +0000 | [diff] [blame] | 5 | License: LGPL |
Daniel Veillard | 1a12361 | 2001-09-19 08:06:23 +0000 | [diff] [blame] | 6 | Group: Development/Libraries |
Daniel Veillard | ea89828 | 2001-11-04 22:13:45 +0000 | [diff] [blame] | 7 | Source: ftp://xmlsoft.org/libxml2-%{version}.tar.gz |
| 8 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
Daniel Veillard | 1a12361 | 2001-09-19 08:06:23 +0000 | [diff] [blame] | 9 | URL: http://xmlsoft.org/ |
Daniel Veillard | ea89828 | 2001-11-04 22:13:45 +0000 | [diff] [blame] | 10 | Prefix: %{_prefix} |
| 11 | Docdir: %{_docdir} |
Michael Fulbright | 62e8e80 | 1998-09-25 16:58:38 +0000 | [diff] [blame] | 12 | |
| 13 | %description |
Daniel Veillard | 6db5819 | 2000-10-30 09:27:53 +0000 | [diff] [blame] | 14 | This library allows to manipulate XML files. It includes support |
| 15 | to read, modify and write XML and HTML files. There is DTDs support |
| 16 | this includes parsing and validation even with complex DtDs, either |
| 17 | at parse time or later once the document has been modified. The output |
| 18 | can be a simple SAX stream or and in-memory DOM like representations. |
| 19 | In this case one can use the built-in XPath and XPointer implementation |
| 20 | to select subnodes or ranges. A flexible Input/Output mechanism is |
| 21 | available, with existing HTTP and FTP modules and combined to an |
| 22 | URI library. |
Michael Fulbright | 62e8e80 | 1998-09-25 16:58:38 +0000 | [diff] [blame] | 23 | |
| 24 | %package devel |
Daniel Veillard | 1a12361 | 2001-09-19 08:06:23 +0000 | [diff] [blame] | 25 | Summary: Libraries, includes, etc. to develop XML and HTML applications |
| 26 | Group: Development/Libraries |
| 27 | Requires: libxml2 = %{version} |
Michael Fulbright | 62e8e80 | 1998-09-25 16:58:38 +0000 | [diff] [blame] | 28 | |
| 29 | %description devel |
Daniel Veillard | 6db5819 | 2000-10-30 09:27:53 +0000 | [diff] [blame] | 30 | Libraries, include files, etc you can use to develop XML applications. |
| 31 | This library allows to manipulate XML files. It includes support |
| 32 | to read, modify and write XML and HTML files. There is DTDs support |
| 33 | this includes parsing and validation even with complex DtDs, either |
| 34 | at parse time or later once the document has been modified. The output |
| 35 | can be a simple SAX stream or and in-memory DOM like representations. |
| 36 | In this case one can use the built-in XPath and XPointer implementation |
| 37 | to select subnodes or ranges. A flexible Input/Output mechanism is |
| 38 | available, with existing HTTP and FTP modules and combined to an |
| 39 | URI library. |
Michael Fulbright | 62e8e80 | 1998-09-25 16:58:38 +0000 | [diff] [blame] | 40 | |
Daniel Veillard | ea89828 | 2001-11-04 22:13:45 +0000 | [diff] [blame] | 41 | %prep |
| 42 | %setup -q |
| 43 | |
| 44 | %build |
| 45 | # Needed for snapshot releases. |
| 46 | if [ ! -f configure ]; then |
| 47 | %ifarch alpha |
| 48 | CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --host=alpha-redhat-linux --prefix=%prefix --sysconfdir="/etc" --mandir=%{_mandir} |
| 49 | %else |
| 50 | CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%prefix --sysconfdir="/etc" --mandir=%{_mandir} |
| 51 | %endif |
| 52 | else |
| 53 | %ifarch alpha |
| 54 | CFLAGS="$RPM_OPT_FLAGS" ./configure --host=alpha-redhat-linux --prefix=%prefix --sysconfdir="/etc" --mandir=%{_mandir} |
| 55 | %else |
| 56 | CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix --sysconfdir="/etc" --mandir=%{_mandir} |
| 57 | %endif |
| 58 | fi |
| 59 | |
| 60 | if [ "$SMP" != "" ]; then |
| 61 | (make "MAKE=make -k -j $SMP"; exit 0) |
| 62 | make |
| 63 | else |
| 64 | make |
| 65 | fi |
| 66 | |
| 67 | %install |
| 68 | rm -rf $RPM_BUILD_ROOT |
| 69 | |
| 70 | install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
| 71 | install -d $RPM_BUILD_ROOT%{_mandir}/man4 |
| 72 | make prefix=$RPM_BUILD_ROOT%{prefix} mandir=$RPM_BUILD_ROOT%{_mandir} install |
| 73 | |
| 74 | %clean |
| 75 | rm -rf $RPM_BUILD_ROOT |
| 76 | |
| 77 | %post -p /sbin/ldconfig |
| 78 | |
| 79 | %postun -p /sbin/ldconfig |
| 80 | |
| 81 | %files |
| 82 | %defattr(-, root, root) |
| 83 | |
| 84 | %doc AUTHORS ChangeLog NEWS README COPYING COPYING.LIB TODO |
| 85 | %doc %{_mandir}/man1/xmllint.1* |
| 86 | %doc %{_mandir}/man1/xmlcatalog.1* |
| 87 | %doc %{_mandir}/man4/libxml.4* |
| 88 | |
| 89 | %{prefix}/lib/lib*.so.* |
| 90 | %{prefix}/bin/xmllint |
| 91 | %{prefix}/bin/xmlcatalog |
| 92 | |
| 93 | %files devel |
| 94 | %defattr(-, root, root) |
| 95 | |
| 96 | %doc %{_mandir}/man1/xml2-config.1* |
| 97 | %doc doc/*.html doc/html |
| 98 | |
| 99 | %{prefix}/lib/lib*.so |
| 100 | %{prefix}/lib/*a |
| 101 | %{prefix}/lib/*.sh |
| 102 | %{prefix}/include/* |
| 103 | %{prefix}/bin/xml2-config |
| 104 | %{prefix}/share/aclocal/libxml.m4 |
| 105 | %{prefix}/lib/pkgconfig/libxml-2.0.pc |
Michael Fulbright | 62e8e80 | 1998-09-25 16:58:38 +0000 | [diff] [blame] | 106 | |
| 107 | %changelog |
| 108 | |
Daniel Veillard | cd21dc7 | 2001-11-04 20:03:38 +0000 | [diff] [blame] | 109 | * Sun Nov 4 2001 Daniel Veillard <veillard@redhat.com> |
| 110 | |
Daniel Veillard | ea89828 | 2001-11-04 22:13:45 +0000 | [diff] [blame] | 111 | - cleaned up the specfile |
Daniel Veillard | cd21dc7 | 2001-11-04 20:03:38 +0000 | [diff] [blame] | 112 | - 2.4.7 broke SGML catalogs badly. this fixes it. |
| 113 | |
Daniel Veillard | 2913e4c | 2001-04-26 19:29:02 +0000 | [diff] [blame] | 114 | * Thu Apr 26 2001 Toshio Kuratomi <badger@prtr-13.ucsc.edu> |
Daniel Veillard | 1a12361 | 2001-09-19 08:06:23 +0000 | [diff] [blame] | 115 | |
| 116 | [2.3.7] |
Daniel Veillard | 2913e4c | 2001-04-26 19:29:02 +0000 | [diff] [blame] | 117 | - Added libxml.m4 to the distribution file list |
| 118 | - Moved the man pages from /usr/man to /usr/share/man to conform to FHS2.0 |
| 119 | - Moved programmer documentation into the devel package |
| 120 | |
Daniel Veillard | c5d6434 | 2001-06-24 12:13:24 +0000 | [diff] [blame] | 121 | * Thu Sep 23 1999 Daniel Veillard <daniel@veillard.com> |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 122 | |
| 123 | - corrected the spec file alpha stuff |
| 124 | - switched to version 1.7.1 |
| 125 | - Added validation, XPath, nanohttp, removed memory leaks |
| 126 | - Renamed CHAR to xmlChar |
| 127 | |
Daniel Veillard | c5d6434 | 2001-06-24 12:13:24 +0000 | [diff] [blame] | 128 | * Wed Jun 2 1999 Daniel Veillard <daniel@veillard.com> |
Daniel Veillard | 011b63c | 1999-06-02 17:44:04 +0000 | [diff] [blame] | 129 | |
| 130 | - Switched to version 1.1: SAX extensions, better entities support, lots of |
| 131 | bug fixes. |
| 132 | |
Daniel Veillard | c5d6434 | 2001-06-24 12:13:24 +0000 | [diff] [blame] | 133 | * Sun Oct 4 1998 Daniel Veillard <daniel@veillard.com> |
Daniel Veillard | 8631b78 | 1998-10-04 14:50:58 +0000 | [diff] [blame] | 134 | |
| 135 | - Added xml-config to the package |
| 136 | |
Michael Fulbright | 62e8e80 | 1998-09-25 16:58:38 +0000 | [diff] [blame] | 137 | * Thu Sep 24 1998 Michael Fulbright <msf@redhat.com> |
| 138 | |
| 139 | - Built release 0.30 |
Daniel Veillard | 1a12361 | 2001-09-19 08:06:23 +0000 | [diff] [blame] | 140 | |