expat/expat.spec

71 lines
1.5 KiB
RPMSpec
Raw Normal View History

Summary: A library for parsing XML.
Name: expat
Version: 1.95.1
Release: 7
Group: System Environment/Libraries
Source: http://download.sourceforge.net/expat/expat-%{version}.tar.gz
URL: http://sourceforge.net/projects/expat
License: MIT/X Consortium
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-root
%description
This is expat, the C library for parsing XML, written by James Clark. Expat
is a stream oriented XML parser. This means that you register handlers with
the parser prior to starting the parse. These handlers are called when the
parser discovers the associated structures in the document being parsed. A
start tag is an example of the kind of structures for which you may
register handlers.
%package devel
Summary: Libraries and include files to develop XML applications with expat.
Group: Development/Libraries
PreReq: expat = %{version}
%description devel
The expat-devel package contains the libraries, include files and documentation
to develop XML applications with expat.
%prep
%setup -q
%build
%configure
make
%install
rm -rf ${RPM_BUILD_ROOT}
%makeinstall
%clean
rm -rf ${RPM_BUILD_ROOT}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc README
%{_libdir}/lib*.so.*
%files devel
%defattr(-,root,root)
%doc doc examples
%{_libdir}/lib*.a
%{_libdir}/lib*.la
%{_libdir}/lib*.so
%{_includedir}/*.h
%changelog
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
- Bump release + rebuild.
* Tue Oct 24 2000 Jeff Johnson <jbj@redhat.com>
- update to 1.95.1
* Sun Oct 8 2000 Jeff Johnson <jbj@redhat.com>
- Create.