Autobuild autoformatter for 60306

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libyaml?expand=0&rev=2
This commit is contained in:
Marcus Rückert 2011-02-15 17:14:34 +00:00 committed by Git OBS Bridge
parent 952a8c271b
commit 689579ddd5

View File

@ -1,8 +1,26 @@
#
# spec file for package libyaml
#
# Copyright (c) 2011 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/
#
# norootforbuild # norootforbuild
Name: libyaml Name: libyaml
Version: 0.1.3 Version: 0.1.3
Release: 0 Release: 1
# #
License: MIT License: MIT
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
@ -13,24 +31,31 @@ Url: http://pyyaml.org/wiki/LibYAML
Source: http://pyyaml.org/download/libyaml/yaml-0.1.3.tar.gz Source: http://pyyaml.org/download/libyaml/yaml-0.1.3.tar.gz
# #
Summary: A YAML 1.1 parser and emitter written in C Summary: A YAML 1.1 parser and emitter written in C
%description %description
A YAML 1.1 parser and emitter written in C A YAML 1.1 parser and emitter written in C
%define lib_name libyaml-0-2 %define lib_name libyaml-0-2
%package -n %{lib_name} %package -n %{lib_name}
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
# #
Summary: Shared library from libyaml Summary: Shared library from libyaml
%description -n %{lib_name} %description -n %{lib_name}
A YAML 1.1 parser and emitter written in C A YAML 1.1 parser and emitter written in C
This package holds the shared library of libyaml. This package holds the shared library of libyaml.
%package devel %package devel
License: MIT
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %{lib_name} = %{version} Requires: %{lib_name} = %{version}
# #
Summary: Development files for libyaml Summary: Development files for libyaml
%description devel %description devel
A YAML 1.1 parser and emitter written in C A YAML 1.1 parser and emitter written in C
@ -54,6 +79,7 @@ make check
rm -rf %{buildroot} rm -rf %{buildroot}
%post -n %{lib_name} -p /sbin/ldconfig %post -n %{lib_name} -p /sbin/ldconfig
%postun -n %{lib_name} -p /sbin/ldconfig %postun -n %{lib_name} -p /sbin/ldconfig
%files -n %{lib_name} %files -n %{lib_name}