forked from pool/tinyxml
prepare_spec
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/tinyxml?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
531717725c
commit
864ba2cf95
24
tinyxml.spec
24
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}
|
||||
|
||||
Reference in New Issue
Block a user