From 864ba2cf95c6024ac86689c52b66384fe866f2a4263d7461f0114c48bb743fd4 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 16 Nov 2010 10:03:36 +0000 Subject: [PATCH] prepare_spec OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/tinyxml?expand=0&rev=7 --- tinyxml.spec | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/tinyxml.spec b/tinyxml.spec index ad5dbe2..e4c70e8 100644 --- a/tinyxml.spec +++ b/tinyxml.spec @@ -1,14 +1,31 @@ +# +# spec file for package tinyxml (Version 2.6.1) +# +# Copyright (c) 2010 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + %define so_version 0 Name: tinyxml Version: 2.6.1 +Release: 2 %define file_version 2_6_1 %define lib_package lib%{name}%{so_version} Group: System/Libraries Summary: A simple, small, C++ XML parser -Release: 2 -License: Zlib License +License: GPLv2+ Source: %{name}_%{file_version}.tar.lzma Source1: configure.ac Source2: Makefile.am @@ -29,6 +46,7 @@ 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 @@ -40,6 +58,7 @@ 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 Group: Development/Libraries/C and C++ Requires: %{lib_package} = %{version} @@ -52,6 +71,7 @@ The libtinyxml-devel package contains libraries and header files for developing applications that use libtinyxml. %package docs +License: GPLv2+ Summary: Documentaqtion for libtinyxml Group: Development/Libraries/C and C++ Requires: %{name}%{so_version} = %{version}