mxml/mxml.spec

119 lines
3.1 KiB
RPMSpec
Raw Normal View History

#
# spec file for package mxml (Version 2.3)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: mxml
URL: http://www.easysw.com/~mike/mxml
License: GPL v2 or later
Group: Development/Libraries/Other
Version: 2.3
Release: 1
Summary: Small XML Parsing Library
Source: %{name}-%{version}.tar.bz2
Patch: mxml-2.3-nobinstrip.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Mini-XML is a small XML parsing library that you can use to read XML
and XML-like data files in your application without requiring large
nonstandard libraries.
Authors:
--------
Michael Sweet
%package devel
Group: Development/Libraries/Other
Requires: %{name} = %{version}
#
Summary: Small XML Parsing Library
%description devel
Mini-XML is a small XML parsing library that you can use to read XML
and XML-like data files in your application without requiring large
nonstandard libraries.
Authors:
--------
Michael Sweet
%prep
%setup
%patch
%build
%configure --enable-shared --with-docdir=%{_docdir}/%{name}
%{__make}
%install
%makeinstall DSTROOT=%{buildroot}
# we dont want the static lib
%{__rm} -rv %{buildroot}%{_libdir}/libmxml.a
%clean
%{__rm} -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/mxmldoc
%{_libdir}/libmxml.so.1
%{_libdir}/libmxml.so.1.3
%{_mandir}/man1/mxmldoc.1*
%doc %{_docdir}/%{name}
%exclude %{_docdir}/%{name}/mxml.html
%exclude %{_docdir}/%{name}/*gif
%files devel
%defattr(-,root,root)
%{_includedir}/mxml.h
%{_libdir}/libmxml.so
%{_libdir}/pkgconfig/mxml.pc
%{_mandir}/man3/mxml.3*
%doc %{_docdir}/%{name}/mxml.html
%doc %{_docdir}/%{name}/*gif
%changelog
* Fri Jul 13 2007 - mrueckert@suse.de
- update to version 2.3
- adds several new features and fixes all known bugs.
- adds a SAX API, more convenience functions, a user data pointer
to the mxml_node_t structure, and improved HTML and new man
page output from mxmldoc. The new release now also offers
relaxed LGPL licensing that allows static linking.
- reordered the configure args, so --enable-shared works again.
- updated nostrip patch. old name mxml-2.2.2.diff
new name mxml-2.3-nobinstrip.patch
- do not include the static library
- move the html docs to the devel package
* Wed Apr 25 2007 - mrueckert@suse.de
- removed valgrind and g++ from the buildrequires.
- splitted out a devel package.
- enabled building of the shared library. (#255916)
* Wed May 17 2006 - schwab@suse.de
- Don't strip binaries.
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jan 16 2006 - mrueckert@suse.de
- update to version 2.2.2
* Tue Feb 15 2005 - kssingvo@suse.de
- updated to version 2.1
- rewrote many parts of the spec file to get it more SUSE like
* Wed Aug 25 2004 - mana@suse.de
- initial package for mxml-2.0