forked from pool/protobuf
adopt baselibs
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=14
This commit is contained in:
parent
d4edcd45e4
commit
1e5cb0d6b3
@ -1,3 +1,3 @@
|
||||
libprotobuf6
|
||||
libprotobuf-lite6
|
||||
libprotoc6
|
||||
libprotobuf7
|
||||
libprotobuf-lite7
|
||||
libprotoc7
|
||||
|
@ -15,8 +15,6 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%define soname 7
|
||||
|
||||
%bcond_without check
|
||||
@ -35,10 +33,10 @@
|
||||
|
||||
Name: protobuf
|
||||
Summary: Protocol Buffers - Google's data interchange format
|
||||
Version: 2.4.1
|
||||
Release: 1
|
||||
License: New BSD License
|
||||
Group: Development/Libraries/C and C++
|
||||
Version: 2.4.1
|
||||
Release: 0
|
||||
Url: http://code.google.com/p/protobuf/
|
||||
Source0: http://protobuf.googlecode.com/files/%{name}-%{version}.tar.bz2
|
||||
Source1: manifest.txt.in
|
||||
@ -52,7 +50,9 @@ BuildRequires: fdupes
|
||||
BuildRequires: java-devel >= 1.6.0
|
||||
%endif
|
||||
%if %{with protobuf_python}
|
||||
BuildRequires: python python-devel python-setuptools
|
||||
BuildRequires: python
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
%endif
|
||||
|
||||
%description
|
||||
@ -91,7 +91,6 @@ extensible format. Google uses Protocol Buffers for almost all of its internal
|
||||
RPC protocols and file formats.
|
||||
|
||||
%package devel
|
||||
License: New BSD License
|
||||
|
||||
Summary: Header files, libraries and development documentation for %{name}
|
||||
Group: Development/Libraries/C and C++
|
||||
@ -106,9 +105,9 @@ Development files for Google Protocol Buffers
|
||||
|
||||
%package -n %{name}-java
|
||||
|
||||
Group: Development/Libraries/Java
|
||||
Requires: java >= 1.6.0
|
||||
Summary: Java Bindings for Google Protocol Buffers
|
||||
Group: Development/Libraries/Java
|
||||
|
||||
%description -n %{name}-java
|
||||
This package contains the Java bindings for Google Protocol Buffers.
|
||||
@ -118,13 +117,13 @@ This package contains the Java bindings for Google Protocol Buffers.
|
||||
|
||||
%package -n python-%{name}
|
||||
|
||||
Group: Development/Libraries/Python
|
||||
%if 0%{?suse_version}
|
||||
%py_requires
|
||||
%else
|
||||
Requires: python
|
||||
%endif
|
||||
Summary: Python Bindings for Google Protocol Buffers
|
||||
Group: Development/Libraries/Python
|
||||
|
||||
%description -n python-%{name}
|
||||
This package contains the Python bindings for Google Protocol Buffers.
|
||||
|
Loading…
x
Reference in New Issue
Block a user