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:
parent
87a7170ee1
commit
aece8ca23e
@ -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
|
Fri Aug 12 19:05:21 UTC 2011 - andrea.turrini@gmail.com
|
||||||
|
|
||||||
|
19
mxml.spec
19
mxml.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package mxml
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -15,15 +15,14 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: mxml
|
Name: mxml
|
||||||
Url: http://www.easysw.com/~mike/mxml
|
Url: http://www.easysw.com/~mike/mxml
|
||||||
License: LGPL v2.1 or later
|
License: LGPL-2.1+
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
Version: 2.6
|
Version: 2.6
|
||||||
Release: 1
|
Release: 25
|
||||||
Summary: Small XML Parsing Library
|
Summary: Small XML Parsing Library
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Patch: mxml-2.3-nobinstrip.patch
|
Patch: mxml-2.3-nobinstrip.patch
|
||||||
@ -45,13 +44,12 @@ Authors:
|
|||||||
|
|
||||||
%define library_name libmxml1
|
%define library_name libmxml1
|
||||||
|
|
||||||
%package -n libmxml1
|
%package -n %library_name
|
||||||
License: LGPL v2.1 or later
|
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
#
|
#
|
||||||
Summary: Shared library for mxml
|
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
|
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
|
and XML-like data files in your application without requiring large
|
||||||
nonstandard libraries.
|
nonstandard libraries.
|
||||||
@ -65,7 +63,7 @@ Authors:
|
|||||||
Michael Sweet
|
Michael Sweet
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
License: GPL v2 or later
|
License: GPL-2.0+
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
Requires: %{library_name} = %{version}
|
Requires: %{library_name} = %{version}
|
||||||
#
|
#
|
||||||
@ -90,16 +88,13 @@ Authors:
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --enable-shared --with-docdir=%{_docdir}/%{name}
|
%configure --enable-shared --with-docdir=%{_docdir}/%{name}
|
||||||
%{__make}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall DSTROOT=%{buildroot}
|
%makeinstall DSTROOT=%{buildroot}
|
||||||
# we dont want the static lib
|
# we dont want the static lib
|
||||||
%{__rm} -rv %{buildroot}%{_libdir}/libmxml.a
|
%{__rm} -rv %{buildroot}%{_libdir}/libmxml.a
|
||||||
|
|
||||||
%clean
|
|
||||||
%{__rm} -rf %{buildroot}
|
|
||||||
|
|
||||||
%post -n %{library_name} -p /sbin/ldconfig
|
%post -n %{library_name} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n %{library_name} -p /sbin/ldconfig
|
%postun -n %{library_name} -p /sbin/ldconfig
|
||||||
|
Loading…
x
Reference in New Issue
Block a user