Run osc service localrun format_spec_file

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cmocka?expand=0&rev=2
This commit is contained in:
Ismail Dönmez 2013-01-14 10:50:31 +00:00 committed by Git OBS Bridge
parent f2d7749ae0
commit 85ca97420c

View File

@ -1,16 +1,31 @@
# #
# spec file for package cmocka (version 0.2.0) # spec file for package cmocka
#
# Copyright (c) 2013 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/
# #
BuildRequires: cmake glibc-devel
BuildRequires: cmake
BuildRequires: glibc-devel
Name: cmocka Name: cmocka
Version: 0.2.0 Version: 0.2.0
Release: 1 Release: 0
# #
Summary: Lightweight library to simplify and generalize unit tests for C
License: Apache-2.0 License: Apache-2.0
Group: Productivity/Networking/Other Group: Productivity/Networking/Other
Summary: Lightweight library to simplify and generalize unit tests for C
Url: http://open.cryptomilk.org/cmocka Url: http://open.cryptomilk.org/cmocka
# #
Source0: %{name}-%{version}.tar.gz Source0: %{name}-%{version}.tar.gz
@ -39,9 +54,8 @@ preferable.
This is the successor of Google's Cmockery. This is the successor of Google's Cmockery.
%package -n libcmocka0 %package -n libcmocka0
License: Apache License 2.0
Group: System/Libraries
Summary: Lightweight library to simplify and generalize unit tests for C Summary: Lightweight library to simplify and generalize unit tests for C
Group: System/Libraries
%description -n libcmocka0 %description -n libcmocka0
There are a variety of C unit testing frameworks available however many of them There are a variety of C unit testing frameworks available however many of them
@ -66,9 +80,8 @@ preferable.
This is the successor of Google's Cmockery. This is the successor of Google's Cmockery.
%package -n libcmocka-devel %package -n libcmocka-devel
License: Apache-2.0
Group: Development/Libraries/C and C++
Summary: Development headers for the cmocka library Summary: Development headers for the cmocka library
Group: Development/Libraries/C and C++
Requires: libcmocka0 = %{version} Requires: libcmocka0 = %{version}
%description -n libcmocka-devel %description -n libcmocka-devel