2007-01-15 23:26:05 +00:00
|
|
|
#
|
|
|
|
# spec file for package mxml (Version 2.2.2)
|
|
|
|
#
|
2007-04-25 23:16:24 +00:00
|
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:26:05 +00:00
|
|
|
# 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
|
2007-04-25 23:16:24 +00:00
|
|
|
License: GNU General Public License (GPL)
|
2007-01-15 23:26:05 +00:00
|
|
|
Group: Development/Libraries/Other
|
|
|
|
Version: 2.2.2
|
2007-04-25 23:16:24 +00:00
|
|
|
Release: 54
|
2007-01-15 23:26:05 +00:00
|
|
|
Summary: Small XML Parsing Library
|
|
|
|
Source: %{name}-%{version}.tar.bz2
|
|
|
|
Patch: %{name}-%{version}.diff
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-04-25 23:16:24 +00:00
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-01-15 23:26:05 +00:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Michael Sweet
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup
|
|
|
|
%patch
|
|
|
|
|
|
|
|
%build
|
2007-04-25 23:16:24 +00:00
|
|
|
%configure --with-docdir=%{_docdir}/%{name} --enable-shared
|
2007-01-15 23:26:05 +00:00
|
|
|
%{__make}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall DSTROOT=%{buildroot}
|
|
|
|
%{__rm} -rf %{buildroot}%{_mandir}/cat*
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
|
2007-04-25 23:16:24 +00:00
|
|
|
%post -p /sbin/ldconfig
|
2007-01-15 23:26:05 +00:00
|
|
|
|
2007-04-25 23:16:24 +00:00
|
|
|
%postun -p /sbin/ldconfig
|
2007-01-15 23:26:05 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2007-04-25 23:16:24 +00:00
|
|
|
%{_bindir}/mxmldoc
|
|
|
|
%{_libdir}/libmxml.so.1
|
|
|
|
%{_libdir}/libmxml.so.1.0
|
|
|
|
%{_mandir}/man1/mxmldoc.1*
|
2007-01-15 23:26:05 +00:00
|
|
|
%doc ANNOUNCEMENT CHANGES COPYING README
|
|
|
|
%doc doc/*.html doc/*.png doc/*.xsd
|
|
|
|
|
2007-04-25 23:16:24 +00:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/mxml.h
|
|
|
|
%{_libdir}/libmxml.a
|
|
|
|
%{_libdir}/libmxml.so
|
|
|
|
%{_libdir}/pkgconfig/mxml.pc
|
|
|
|
%{_mandir}/man3/mxml.3*
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* 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)
|
2007-01-15 23:26:05 +00:00
|
|
|
* 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
|