This commit is contained in:
parent
51be604f97
commit
7bbb46b8bf
@ -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
|
||||
|
||||
|
54
mxml.spec
54
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user