Re-introducing the old "indef..endif" logic, but using "?=", as ifndef is only
[mirror-ossqm-expat.git] / expat.spec
blob8c4ae0616f01e580d6a5094a357c8c094b8ed02d
1 %define version 2.0.1
2 %define release 1
4 Summary: Expat is an XML 1.0 parser written in C.
5 Name: expat
6 Version: %{version}
7 Release: %{release}
8 Copyright: MIT/X
9 Group: Utilities/parsers
10 URL: http://www.libexpat.org/
11 Source: http://download.sourceforge.net/expat/expat-%{version}.tar.gz
12 BuildRoot: /var/tmp/%{name}-buildroot
14 %description
15 Expat is an XML 1.0 parser written in C by James Clark. It aims to be
16 fully conforming. It is not a validating XML parser.
18 %prep
19 %setup
21 %build
22 ./configure
23 make lib xmlwf
25 %install
26 rm -rf $RPM_BUILD_ROOT
27 mkdir -p $RPM_BUILD_ROOT/usr/bin
28 mkdir -p $RPM_BUILD_ROOT/usr/lib
29 mkdir -p $RPM_BUILD_ROOT/usr/include
30 make install prefix=$RPM_BUILD_ROOT/usr
31 install -D xmlwf/xmlwf $RPM_BUILD_ROOT/usr/bin/xmlwf
33 %files
34 %doc COPYING Changes MANIFEST README doc/reference.html doc/style.css doc/*.png
35 /usr/bin/xmlwf
36 /usr/lib
37 /usr/include/expat.h
38 /usr/include/expat_external.h
39 /usr/man/man1/xmlwf.1.gz
41 %changelog
42 * Sun Nov 26 2006 Karl Waclawek <karl@waclawek.net>
43 [Release 2.0.1-1]
44 - Update for the 2.0.1 release.
46 * Fri Jul 16 2004 Fred L. Drake, Jr. <fdrake@acm.org>
47 [Release 1.95.8-1]
48 - Update for the 1.95.8 release.
49 - Add the expat_external.h header to the installed files.
51 * Tue Oct 21 2003 Fred L. Drake, Jr. <fdrake@acm.org>
52 - Update list of documentation files; we missed a .png file in the
53 previous release.
55 * Mon Oct 20 2003 Fred L. Drake, Jr. <fdrake@acm.org>
56 [Release 1.95.7-1]
57 - Updated for the 1.95.7 release.
59 * Sat Jan 25 2003 Fred L. Drake, Jr. <fdrake@acm.org>
60 [Release 1.95.6-1]
61 - Updated for the 1.95.6 release.
63 * Wed Sep 4 2002 Fred L. Drake, Jr. <fdrake@acm.org>
64 [Release 1.95.5-1]
65 - Updated for the 1.95.5 release.
66 - Updated URL for Expat home page to point to www.libexpat.org.
67 - Added "Valid XHTML 1.0" icon to the installed documentation.
69 * Sat Jun 29 2002 Fred L. Drake, Jr. <fdrake@acm.org>
70 [Release 1.95.4-1]
71 - Updated for the 1.95.4 release.
73 * Fri May 17 2002 Fred L. Drake, Jr. <fdrake@acm.org>
74 [Release 1.95.3-1]
75 - Updated for the 1.95.3 release.
76 - Added xmlwf man page to the list of files.
78 * Wed Jul 25 2001 Fred L. Drake, Jr. <fdrake@acm.org>
79 [Release 1.95.2-1]
80 - Updated for the 1.95.2 release.
82 * Sun Feb 18 2001 Sean Reifschneider <jafo-rpms@tummy.com>
83 [Release 1.95.1-1tummy]
84 - Updated to 1.95.1 release.
85 - Removed the "/usr/include/expat" directory for headers, as it now uses
86 "expat.h" instead of "xmlparser.h".
88 * Thu Jan 25 2001 Sean Reifschneider <jafo-rpms@tummy.com>
89 [Release 1.1-3tummy]
90 - Moved xmlparse.h into "/usr/include/expat" directory to prevent conflict
91 with w3c-libwww-devel package.
93 * Wed Sep 6 2000 Sean Reifschneider <jafo-rpms@tummy.com>
94 - Modified to install into /usr.
95 - Modified to use RPM_BUILD_ROOT instead of writing directly to install
96 location.