SHA256
1
0
forked from pool/mxml

Remove redundant tags/sections; smp_mflags

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/mxml?expand=0&rev=7
This commit is contained in:
Jan Engelhardt 2012-01-29 19:56:13 +00:00 committed by Git OBS Bridge
parent 87a7170ee1
commit aece8ca23e
2 changed files with 13 additions and 12 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Jan 29 19:52:20 UTC 2012 - jengelh@medozas.de
- Remove redundant tags/sections per specfile guideline suggestions
- Parallel building using %_smp_mflags
-------------------------------------------------------------------
Fri Aug 12 19:05:21 UTC 2011 - andrea.turrini@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package mxml
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -15,15 +15,14 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: mxml
Url: http://www.easysw.com/~mike/mxml
License: LGPL v2.1 or later
License: LGPL-2.1+
Group: Development/Libraries/Other
Version: 2.6
Release: 1
Release: 25
Summary: Small XML Parsing Library
Source: %{name}-%{version}.tar.bz2
Patch: mxml-2.3-nobinstrip.patch
@ -45,13 +44,12 @@ Authors:
%define library_name libmxml1
%package -n libmxml1
License: LGPL v2.1 or later
%package -n %library_name
Group: Development/Libraries/Other
#
Summary: Shared library for mxml
%description -n libmxml1
%description -n %library_name
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.
@ -65,7 +63,7 @@ Authors:
Michael Sweet
%package devel
License: GPL v2 or later
License: GPL-2.0+
Group: Development/Libraries/Other
Requires: %{library_name} = %{version}
#
@ -90,16 +88,13 @@ Authors:
%build
%configure --enable-shared --with-docdir=%{_docdir}/%{name}
%{__make}
make %{?_smp_mflags}
%install
%makeinstall DSTROOT=%{buildroot}
# we dont want the static lib
%{__rm} -rv %{buildroot}%{_libdir}/libmxml.a
%clean
%{__rm} -rf %{buildroot}
%post -n %{library_name} -p /sbin/ldconfig
%postun -n %{library_name} -p /sbin/ldconfig