forked from pool/tinyxml
Accepting request 104969 from devel:libraries:c_c++
patch license to follow spdx.org standard (forwarded request 104560 from coolo) OBS-URL: https://build.opensuse.org/request/show/104969 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tinyxml?expand=0&rev=8
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 13 10:56:54 UTC 2012 - coolo@suse.com
|
||||
|
||||
- patch license to follow spdx.org standard
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 25 13:21:06 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
- Remove redundant/unwanted tags/section (cf. specfile guidelines)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 25 12:34:56 UTC 2011 - coolo@suse.com
|
||||
|
||||
|
||||
22
tinyxml.spec
22
tinyxml.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package tinyxml
|
||||
#
|
||||
# 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
|
||||
@@ -20,12 +20,12 @@
|
||||
|
||||
Name: tinyxml
|
||||
Version: 2.6.1
|
||||
Release: 2
|
||||
Release: 0
|
||||
%define file_version 2_6_1
|
||||
%define lib_package lib%{name}%{so_version}
|
||||
Group: System/Libraries
|
||||
Summary: A simple, small, C++ XML parser
|
||||
License: Zlib License
|
||||
License: Zlib
|
||||
Group: System/Libraries
|
||||
Source: %{name}_%{file_version}.tar.lzma
|
||||
Source1: configure.ac
|
||||
Source2: Makefile.am
|
||||
@@ -36,7 +36,9 @@ Patch0: tinyxml-c_headers.patch
|
||||
Patch1: tinyxml-entity.patch
|
||||
Url: http://sourceforge.net/projects/tinyxml
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: gcc-c++ libtool lzma
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libtool
|
||||
BuildRequires: lzma
|
||||
|
||||
%description
|
||||
TinyXML is a simple, small, C++ XML parser that can be easily integrating
|
||||
@@ -46,8 +48,9 @@ TinyXML solves the text I/O file once and for all.
|
||||
(Or, as a friend said, ends the Just Another Text File Parser problem.)
|
||||
|
||||
%package -n %{lib_package}
|
||||
Group: System/Libraries
|
||||
Summary: A simple, small, C++ XML parser
|
||||
License: Zlib
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %{lib_package}
|
||||
TinyXML is a simple, small, C++ XML parser that can be easily integrating
|
||||
@@ -57,8 +60,8 @@ TinyXML solves the text I/O file once and for all.
|
||||
(Or, as a friend said, ends the Just Another Text File Parser problem.)
|
||||
|
||||
%package devel
|
||||
License: GPLv2+
|
||||
Summary: Development files for libtinyxml
|
||||
License: GPL-2.0+
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{lib_package} = %{version}
|
||||
Provides: libtinyxml-devel = %{version}
|
||||
@@ -70,8 +73,8 @@ The libtinyxml-devel package contains libraries and header files for
|
||||
developing applications that use libtinyxml.
|
||||
|
||||
%package docs
|
||||
License: GPLv2+
|
||||
Summary: Documentaqtion for libtinyxml
|
||||
License: GPL-2.0+
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{lib_package} = %{version}
|
||||
|
||||
@@ -98,9 +101,6 @@ make %{?_smp_mflags}
|
||||
%makeinstall
|
||||
rm -f %{buildroot}%{_libdir}/*.la
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%post -n %{lib_package} -p /sbin/ldconfig
|
||||
|
||||
%postun -n %{lib_package} -p /sbin/ldconfig
|
||||
|
||||
Reference in New Issue
Block a user