This commit is contained in:
parent
3da5443940
commit
9c22e72e15
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 25 16:32:58 CEST 2007 - mrueckert@suse.de
|
||||||
|
|
||||||
|
- removed valgrind and g++ from the buildrequires.
|
||||||
|
- splitted out a devel package.
|
||||||
|
- enabled building of the shared library. (#255916)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 17 14:48:22 CEST 2006 - schwab@suse.de
|
Wed May 17 14:48:22 CEST 2006 - schwab@suse.de
|
||||||
|
|
||||||
|
59
mxml.spec
59
mxml.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package mxml (Version 2.2.2)
|
# spec file for package mxml (Version 2.2.2)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
# This file and all modifications and additions to the pristine
|
||||||
# package are under the same license as the package itself.
|
# package are under the same license as the package itself.
|
||||||
#
|
#
|
||||||
@ -11,15 +11,11 @@
|
|||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
Name: mxml
|
Name: mxml
|
||||||
BuildRequires: gcc-c++
|
|
||||||
%ifarch %ix86 ppc x86_64
|
|
||||||
BuildRequires: valgrind
|
|
||||||
%endif
|
|
||||||
URL: http://www.easysw.com/~mike/mxml
|
URL: http://www.easysw.com/~mike/mxml
|
||||||
License: GPL
|
License: GNU General Public License (GPL)
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
Version: 2.2.2
|
Version: 2.2.2
|
||||||
Release: 12
|
Release: 54
|
||||||
Summary: Small XML Parsing Library
|
Summary: Small XML Parsing Library
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Patch: %{name}-%{version}.diff
|
Patch: %{name}-%{version}.diff
|
||||||
@ -32,6 +28,23 @@ nonstandard libraries.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
--------
|
||||||
Michael Sweet
|
Michael Sweet
|
||||||
@ -41,34 +54,42 @@ Authors:
|
|||||||
%patch
|
%patch
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --with-docdir=%{_docdir}/%{name}
|
%configure --with-docdir=%{_docdir}/%{name} --enable-shared
|
||||||
%{__make}
|
%{__make}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
|
||||||
%makeinstall DSTROOT=%{buildroot}
|
%makeinstall DSTROOT=%{buildroot}
|
||||||
%{__rm} -rf %{buildroot}%{_mandir}/cat*
|
%{__rm} -rf %{buildroot}%{_mandir}/cat*
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
%{__rm} -rf %{buildroot}
|
%{__rm} -rf %{buildroot}
|
||||||
|
|
||||||
%post
|
%post -p /sbin/ldconfig
|
||||||
%run_ldconfig
|
|
||||||
|
|
||||||
%postun
|
%postun -p /sbin/ldconfig
|
||||||
%run_ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libmxml*
|
%{_bindir}/mxmldoc
|
||||||
%{_libdir}/pkgconfig/mxml*
|
%{_libdir}/libmxml.so.1
|
||||||
%{_includedir}/*
|
%{_libdir}/libmxml.so.1.0
|
||||||
%{_mandir}/*/mxml*
|
%{_mandir}/man1/mxmldoc.1*
|
||||||
%{_bindir}/mxml*
|
|
||||||
%doc ANNOUNCEMENT CHANGES COPYING README
|
%doc ANNOUNCEMENT CHANGES COPYING README
|
||||||
%doc doc/*.html doc/*.png doc/*.xsd
|
%doc doc/*.html doc/*.png doc/*.xsd
|
||||||
|
|
||||||
%changelog -n mxml
|
%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)
|
||||||
* Wed May 17 2006 - schwab@suse.de
|
* Wed May 17 2006 - schwab@suse.de
|
||||||
- Don't strip binaries.
|
- Don't strip binaries.
|
||||||
* Wed Jan 25 2006 - mls@suse.de
|
* Wed Jan 25 2006 - mls@suse.de
|
||||||
|
Loading…
x
Reference in New Issue
Block a user