2007-01-16 00:26:05 +01:00
|
|
|
#
|
2008-06-23 23:36:07 +02:00
|
|
|
# spec file for package mxml (Version 2.5)
|
2007-01-16 00:26:05 +01:00
|
|
|
#
|
2008-06-23 23:36:07 +02:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:26:05 +01:00
|
|
|
#
|
2008-09-13 05:52:09 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-16 00:26:05 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-06-23 23:36:07 +02:00
|
|
|
|
2007-01-16 00:26:05 +01:00
|
|
|
Name: mxml
|
2008-06-23 23:36:07 +02:00
|
|
|
Url: http://www.easysw.com/~mike/mxml
|
|
|
|
License: LGPL v2.1 or later
|
2007-01-16 00:26:05 +01:00
|
|
|
Group: Development/Libraries/Other
|
2008-06-23 23:36:07 +02:00
|
|
|
Version: 2.5
|
2008-09-13 05:52:09 +02:00
|
|
|
Release: 23
|
2007-01-16 00:26:05 +01:00
|
|
|
Summary: Small XML Parsing Library
|
|
|
|
Source: %{name}-%{version}.tar.bz2
|
2007-07-13 01:38:10 +02:00
|
|
|
Patch: mxml-2.3-nobinstrip.patch
|
2007-01-16 00:26:05 +01:00
|
|
|
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.
|
|
|
|
|
2008-09-13 05:52:09 +02:00
|
|
|
This package holds the commandline tools for mxml.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Michael Sweet
|
|
|
|
|
|
|
|
%define library_name libmxml1
|
|
|
|
|
|
|
|
%package -n libmxml1
|
|
|
|
License: LGPL v2.1 or later
|
|
|
|
Group: Development/Libraries/Other
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
#
|
|
|
|
Summary: Shared libary for mxml
|
|
|
|
|
|
|
|
%description -n libmxml1
|
|
|
|
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.
|
|
|
|
|
|
|
|
This package holds the shared libary for mxml.
|
|
|
|
|
2007-01-16 00:26:05 +01:00
|
|
|
|
|
|
|
|
2007-04-26 01:16:24 +02:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Michael Sweet
|
|
|
|
|
|
|
|
%package devel
|
2008-06-23 23:36:07 +02:00
|
|
|
License: GPL v2 or later
|
2007-04-26 01:16:24 +02:00
|
|
|
Group: Development/Libraries/Other
|
2008-09-13 05:52:09 +02:00
|
|
|
Requires: %{library_name} = %{version}
|
2007-04-26 01:16:24 +02:00
|
|
|
#
|
2008-09-13 05:52:09 +02:00
|
|
|
Summary: Development files for mxml
|
2007-04-26 01:16:24 +02:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2008-09-13 05:52:09 +02:00
|
|
|
This package holds the development files for mxml.
|
|
|
|
|
2007-04-26 01:16:24 +02:00
|
|
|
|
|
|
|
|
2007-01-16 00:26:05 +01:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Michael Sweet
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup
|
|
|
|
%patch
|
|
|
|
|
|
|
|
%build
|
2007-07-13 01:38:10 +02:00
|
|
|
%configure --enable-shared --with-docdir=%{_docdir}/%{name}
|
2007-01-16 00:26:05 +01:00
|
|
|
%{__make}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall DSTROOT=%{buildroot}
|
2007-07-13 01:38:10 +02:00
|
|
|
# we dont want the static lib
|
|
|
|
%{__rm} -rv %{buildroot}%{_libdir}/libmxml.a
|
2007-01-16 00:26:05 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
|
2008-09-13 05:52:09 +02:00
|
|
|
%post -n %{library_name} -p /sbin/ldconfig
|
2007-01-16 00:26:05 +01:00
|
|
|
|
2008-09-13 05:52:09 +02:00
|
|
|
%postun -n %{library_name} -p /sbin/ldconfig
|
2007-01-16 00:26:05 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2007-04-26 01:16:24 +02:00
|
|
|
%{_bindir}/mxmldoc
|
|
|
|
%{_mandir}/man1/mxmldoc.1*
|
2007-07-13 01:38:10 +02:00
|
|
|
%doc %{_docdir}/%{name}
|
|
|
|
%exclude %{_docdir}/%{name}/mxml.html
|
|
|
|
%exclude %{_docdir}/%{name}/*gif
|
2007-01-16 00:26:05 +01:00
|
|
|
|
2008-09-13 05:52:09 +02:00
|
|
|
%files -n %{library_name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libmxml.so.1*
|
|
|
|
|
2007-04-26 01:16:24 +02:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/mxml.h
|
|
|
|
%{_libdir}/libmxml.so
|
|
|
|
%{_libdir}/pkgconfig/mxml.pc
|
|
|
|
%{_mandir}/man3/mxml.3*
|
2007-07-13 01:38:10 +02:00
|
|
|
%doc %{_docdir}/%{name}/mxml.html
|
|
|
|
%doc %{_docdir}/%{name}/*gif
|
2007-04-26 01:16:24 +02:00
|
|
|
|
|
|
|
%changelog
|
2008-09-13 05:52:09 +02:00
|
|
|
* Thu Sep 11 2008 mrueckert@suse.de
|
|
|
|
- use shared library package policy
|
2008-06-23 23:36:07 +02:00
|
|
|
* Mon May 19 2008 mrueckert@suse.de
|
|
|
|
- update to version 2.5
|
|
|
|
The new release fixes some XML parsing problems and adds many
|
|
|
|
new mxmldoc features.
|
|
|
|
- additional changes from 2.4
|
|
|
|
fixes some build and XML parsing bugs, adds support for the apos
|
|
|
|
character entity, and adds per-thread global settings.
|
|
|
|
* Fri Jul 13 2007 mrueckert@suse.de
|
2007-07-13 01:38:10 +02:00
|
|
|
- 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
|
2008-06-23 23:36:07 +02:00
|
|
|
* Wed Apr 25 2007 mrueckert@suse.de
|
2007-04-26 01:16:24 +02:00
|
|
|
- removed valgrind and g++ from the buildrequires.
|
|
|
|
- splitted out a devel package.
|
|
|
|
- enabled building of the shared library. (#255916)
|
2008-06-23 23:36:07 +02:00
|
|
|
* Wed May 17 2006 schwab@suse.de
|
2007-01-16 00:26:05 +01:00
|
|
|
- Don't strip binaries.
|
2008-06-23 23:36:07 +02:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-16 00:26:05 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-06-23 23:36:07 +02:00
|
|
|
* Tue Jan 17 2006 mrueckert@suse.de
|
2007-01-16 00:26:05 +01:00
|
|
|
- update to version 2.2.2
|
2008-06-23 23:36:07 +02:00
|
|
|
* Tue Feb 15 2005 kssingvo@suse.de
|
2007-01-16 00:26:05 +01:00
|
|
|
- updated to version 2.1
|
|
|
|
- rewrote many parts of the spec file to get it more SUSE like
|
2008-06-23 23:36:07 +02:00
|
|
|
* Thu Aug 26 2004 mana@suse.de
|
2007-01-16 00:26:05 +01:00
|
|
|
- initial package for mxml-2.0
|