From 7bbb46b8bfcfb0135527033242a543cc6701e9992d9fe7ffd1cf7cf2e4620027 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Sat, 13 Sep 2008 03:52:09 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mxml?expand=0&rev=5 --- mxml.changes | 5 +++++ mxml.spec | 54 ++++++++++++++++++++++++++++++++++++++++++++-------- 2 files changed, 51 insertions(+), 8 deletions(-) diff --git a/mxml.changes b/mxml.changes index 48df27b..876f438 100644 --- a/mxml.changes +++ b/mxml.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Sep 11 21:56:59 CEST 2008 - mrueckert@suse.de + +- use shared library package policy + ------------------------------------------------------------------- Mon May 19 17:27:50 CEST 2008 - mrueckert@suse.de diff --git a/mxml.spec b/mxml.spec index f764ad9..8d77599 100644 --- a/mxml.spec +++ b/mxml.spec @@ -2,9 +2,16 @@ # spec file for package mxml (Version 2.5) # # Copyright (c) 2008 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. # +# 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. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -16,7 +23,7 @@ Url: http://www.easysw.com/~mike/mxml License: LGPL v2.1 or later Group: Development/Libraries/Other Version: 2.5 -Release: 1 +Release: 23 Summary: Small XML Parsing Library Source: %{name}-%{version}.tar.bz2 Patch: mxml-2.3-nobinstrip.patch @@ -27,6 +34,30 @@ 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 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. + Authors: @@ -36,15 +67,17 @@ Authors: %package devel License: GPL v2 or later Group: Development/Libraries/Other -Requires: %{name} = %{version} +Requires: %{library_name} = %{version} # -Summary: Small XML Parsing Library +Summary: Development files for mxml %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. +This package holds the development files for mxml. + Authors: @@ -67,19 +100,22 @@ Authors: %clean %{__rm} -rf %{buildroot} -%post -p /sbin/ldconfig +%post -n %{library_name} -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%postun -n %{library_name} -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/mxmldoc -%{_libdir}/libmxml.so.1* %{_mandir}/man1/mxmldoc.1* %doc %{_docdir}/%{name} %exclude %{_docdir}/%{name}/mxml.html %exclude %{_docdir}/%{name}/*gif +%files -n %{library_name} +%defattr(-,root,root) +%{_libdir}/libmxml.so.1* + %files devel %defattr(-,root,root) %{_includedir}/mxml.h @@ -90,6 +126,8 @@ Authors: %doc %{_docdir}/%{name}/*gif %changelog +* Thu Sep 11 2008 mrueckert@suse.de +- use shared library package policy * Mon May 19 2008 mrueckert@suse.de - update to version 2.5 The new release fixes some XML parsing problems and adds many