83 lines
1.8 KiB
RPMSpec
83 lines
1.8 KiB
RPMSpec
|
#
|
||
|
# spec file for package mxml (Version 2.2.2)
|
||
|
#
|
||
|
# Copyright (c) 2006 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.
|
||
|
#
|
||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||
|
#
|
||
|
|
||
|
# norootforbuild
|
||
|
|
||
|
Name: mxml
|
||
|
BuildRequires: gcc-c++
|
||
|
%ifarch %ix86 ppc x86_64
|
||
|
BuildRequires: valgrind
|
||
|
%endif
|
||
|
URL: http://www.easysw.com/~mike/mxml
|
||
|
License: GPL
|
||
|
Group: Development/Libraries/Other
|
||
|
Version: 2.2.2
|
||
|
Release: 12
|
||
|
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.
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Michael Sweet
|
||
|
|
||
|
%prep
|
||
|
%setup
|
||
|
%patch
|
||
|
|
||
|
%build
|
||
|
%configure --with-docdir=%{_docdir}/%{name}
|
||
|
%{__make}
|
||
|
|
||
|
%install
|
||
|
|
||
|
%makeinstall DSTROOT=%{buildroot}
|
||
|
%{__rm} -rf %{buildroot}%{_mandir}/cat*
|
||
|
|
||
|
%clean
|
||
|
%{__rm} -rf %{buildroot}
|
||
|
|
||
|
%post
|
||
|
%run_ldconfig
|
||
|
|
||
|
%postun
|
||
|
%run_ldconfig
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/libmxml*
|
||
|
%{_libdir}/pkgconfig/mxml*
|
||
|
%{_includedir}/*
|
||
|
%{_mandir}/*/mxml*
|
||
|
%{_bindir}/mxml*
|
||
|
%doc ANNOUNCEMENT CHANGES COPYING README
|
||
|
%doc doc/*.html doc/*.png doc/*.xsd
|
||
|
|
||
|
%changelog -n mxml
|
||
|
* 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
|