2007-01-16 00:26:05 +01:00
|
|
|
#
|
2011-06-07 09:14:36 +02:00
|
|
|
# spec file for package mxml
|
2007-01-16 00:26:05 +01:00
|
|
|
#
|
2014-09-12 10:27:48 +02:00
|
|
|
# Copyright (c) 2014 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: mxml
|
2008-06-23 23:36:07 +02:00
|
|
|
Url: http://www.easysw.com/~mike/mxml
|
2011-06-07 09:14:27 +02:00
|
|
|
Version: 2.6
|
2014-09-12 10:27:48 +02:00
|
|
|
Release: 0
|
2007-01-16 00:26:05 +01:00
|
|
|
Summary: Small XML Parsing Library
|
2014-09-12 10:27:48 +02:00
|
|
|
License: LGPL-2.1+
|
|
|
|
Group: Development/Libraries/Other
|
2007-01-16 00:26:05 +01:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
2014-09-12 10:27:48 +02:00
|
|
|
Source1: baselibs.conf
|
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
|
2011-06-07 09:14:27 +02:00
|
|
|
BuildRequires: pkgconfig
|
2011-06-07 09:14:36 +02:00
|
|
|
|
2007-01-16 00:26:05 +01:00
|
|
|
%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
|
|
|
|
|
2012-01-29 20:56:13 +01:00
|
|
|
%package -n %library_name
|
2008-09-13 05:52:09 +02:00
|
|
|
#
|
2011-08-12 21:18:44 +02:00
|
|
|
Summary: Shared library for mxml
|
2014-09-12 10:27:48 +02:00
|
|
|
License: LGPL-2.1+
|
|
|
|
Group: Development/Libraries/Other
|
2011-06-07 09:14:36 +02:00
|
|
|
|
2012-01-29 20:56:13 +01:00
|
|
|
%description -n %library_name
|
2008-09-13 05:52:09 +02:00
|
|
|
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.
|
|
|
|
|
2011-08-12 21:18:44 +02:00
|
|
|
This package holds the shared library for mxml.
|
2008-09-13 05:52:09 +02:00
|
|
|
|
2007-01-16 00:26:05 +01:00
|
|
|
|
|
|
|
|
2007-04-26 01:16:24 +02:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Michael Sweet
|
|
|
|
|
|
|
|
%package devel
|
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
|
2014-09-12 10:27:48 +02:00
|
|
|
License: GPL-2.0+
|
|
|
|
Group: Development/Libraries/Other
|
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}
|
2012-01-29 20:56:13 +01:00
|
|
|
make %{?_smp_mflags}
|
2007-01-16 00:26:05 +01:00
|
|
|
|
|
|
|
%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
|
|
|
|
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
|