Accepting request 66555 from devel:libraries:c_c++
Accepted submit request 66555 from user coolo OBS-URL: https://build.opensuse.org/request/show/66555 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libyajl?expand=0&rev=3
This commit is contained in:
parent
39fc828b2f
commit
5d8a6a99f6
1
baselibs.conf
Normal file
1
baselibs.conf
Normal file
@ -0,0 +1 @@
|
|||||||
|
libyajl1
|
@ -1,3 +1,20 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 8 20:43:36 UTC 2011 - coolo@novell.com
|
||||||
|
|
||||||
|
- add baselibs.conf for 32bit library support
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 9 19:03:53 UTC 2011 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
- revert last change, it is BSD3c indeed, and totally unrelated to
|
||||||
|
bnc#670525
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 9 18:57:38 UTC 2011 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
- fix license, changed from erroneous BSD3c to MIT, as stated on
|
||||||
|
http://pyyaml.org/wiki/LibYAML, sort of fixes bnc#670525
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 21 23:02:41 UTC 2010 - pascal.bleser@opensuse.org
|
Tue Dec 21 23:02:41 UTC 2010 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
81
libyajl.spec
81
libyajl.spec
@ -1,60 +1,42 @@
|
|||||||
#
|
# vim: set sw=4 ts=4 et nu:
|
||||||
# spec file for package libyajl
|
|
||||||
#
|
|
||||||
# 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/
|
Name: libyajl
|
||||||
#
|
Version: 1.0.11
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: libyajl
|
|
||||||
Version: 1.0.11
|
|
||||||
Release: 1
|
|
||||||
%define soname 1
|
%define soname 1
|
||||||
%define tag f4baae0
|
%define tag f4baae0
|
||||||
Summary: Yet Another JSON Library
|
Release: 0
|
||||||
|
Summary: Yet Another JSON Library
|
||||||
# http://download.github.com/lloyd-yajl-%{version}-0-g%{tag}.tar.gz
|
# http://download.github.com/lloyd-yajl-%{version}-0-g%{tag}.tar.gz
|
||||||
Source: lloyd-yajl-%{version}-0-g%{tag}.tar.bz2
|
Source: lloyd-yajl-%{version}-0-g%{tag}.tar.bz2
|
||||||
Patch1: libyajl-optflags.patch
|
Source1: baselibs.conf
|
||||||
Patch2: libyajl-lib_suffix.patch
|
Patch1: libyajl-optflags.patch
|
||||||
Source99: %{name}-rpmlintrc
|
Patch2: libyajl-lib_suffix.patch
|
||||||
Url: http://lloyd.github.com/yajl/
|
Source99: %{name}-rpmlintrc
|
||||||
Group: System/Libraries
|
URL: http://lloyd.github.com/yajl/
|
||||||
License: BSD3c
|
Group: System/Libraries
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
License: BSD3c
|
||||||
BuildRequires: bison flex
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||||
BuildRequires: cmake
|
BuildRequires: bison flex
|
||||||
BuildRequires: gcc-c++ libstdc++-devel
|
BuildRequires: cmake
|
||||||
BuildRequires: glibc-devel make
|
BuildRequires: gcc-c++ libstdc++-devel
|
||||||
|
BuildRequires: make glibc-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
YAJL is a small event-driven (SAX-style) JSON parser written in ANSI C, and a
|
YAJL is a small event-driven (SAX-style) JSON parser written in ANSI C, and a
|
||||||
small validating JSON generator.
|
small validating JSON generator.
|
||||||
|
|
||||||
%package -n %{name}%{soname}
|
%package -n %{name}%{soname}
|
||||||
|
Summary: Yet Another JSON Library
|
||||||
Summary: Yet Another JSON Library
|
Group: System/Libraries
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n %{name}%{soname}
|
%description -n %{name}%{soname}
|
||||||
YAJL is a small event-driven (SAX-style) JSON parser written in ANSI C, and a
|
YAJL is a small event-driven (SAX-style) JSON parser written in ANSI C, and a
|
||||||
small validating JSON generator.
|
small validating JSON generator.
|
||||||
|
|
||||||
%package -n %{name}-devel
|
%package -n %{name}-devel
|
||||||
|
Summary: Yet Another JSON Library (Development Environment)
|
||||||
Summary: Yet Another JSON Library (Development Environment)
|
Group: Development/Libraries/C and C++
|
||||||
Group: Development/Libraries/C and C++
|
Requires: %{name}%{soname} = %{version}
|
||||||
Requires: %{name}%{soname} = %{version}
|
|
||||||
|
|
||||||
%description -n %{name}-devel
|
%description -n %{name}-devel
|
||||||
YAJL is a small event-driven (SAX-style) JSON parser written in ANSI C, and a
|
YAJL is a small event-driven (SAX-style) JSON parser written in ANSI C, and a
|
||||||
@ -64,10 +46,9 @@ This package provides the necessary environment for compiling and linking
|
|||||||
against %{name}.
|
against %{name}.
|
||||||
|
|
||||||
%package -n %{name}-devel-static
|
%package -n %{name}-devel-static
|
||||||
|
Summary: Yet Another JSON Library (Static Library)
|
||||||
Summary: Yet Another JSON Library (Static Library)
|
Group: Development/Libraries/C and C++
|
||||||
Group: Development/Libraries/C and C++
|
Requires: %{name}-devel = %{version}
|
||||||
Requires: %{name}-devel = %{version}
|
|
||||||
|
|
||||||
%description -n %{name}-devel-static
|
%description -n %{name}-devel-static
|
||||||
YAJL is a small event-driven (SAX-style) JSON parser written in ANSI C, and a
|
YAJL is a small event-driven (SAX-style) JSON parser written in ANSI C, and a
|
||||||
@ -77,10 +58,9 @@ This package provides the necessary environment for linking statically
|
|||||||
against %{name}.
|
against %{name}.
|
||||||
|
|
||||||
%package -n yajl
|
%package -n yajl
|
||||||
License: BSD3c
|
Summary: Yet Another JSON Library Tools
|
||||||
Summary: Yet Another JSON Library Tools
|
Group: Productivity/Text/Utilities
|
||||||
Group: Productivity/Text/Utilities
|
Requires: %{name}%{soname} = %{version}
|
||||||
Requires: %{name}%{soname} = %{version}
|
|
||||||
|
|
||||||
%description -n yajl
|
%description -n yajl
|
||||||
YAJL is a small event-driven (SAX-style) JSON parser written in ANSI C, and a
|
YAJL is a small event-driven (SAX-style) JSON parser written in ANSI C, and a
|
||||||
@ -122,7 +102,6 @@ popd build
|
|||||||
%__make test
|
%__make test
|
||||||
|
|
||||||
%post -n %{name}%{soname} -p /sbin/ldconfig
|
%post -n %{name}%{soname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n %{name}%{soname} -p /sbin/ldconfig
|
%postun -n %{name}%{soname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -147,4 +126,4 @@ popd build
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/json_reformat
|
%{_bindir}/json_reformat
|
||||||
%{_bindir}/json_verify
|
%{_bindir}/json_verify
|
||||||
%changelog
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user