|
|
452b9a |
# Build -python2 subpackage
|
|
|
452b9a |
%bcond_with python2
|
|
|
452b9a |
# Build -python3 subpackage
|
|
|
452b9a |
%bcond_without python3
|
|
|
452b9a |
# Build -java subpackage
|
|
|
452b9a |
%bcond_with java
|
|
|
452b9a |
|
|
|
452b9a |
%global emacs_version %(pkg-config emacs --modversion)
|
|
|
452b9a |
%global emacs_lispdir %(pkg-config emacs --variable sitepkglispdir)
|
|
|
452b9a |
%global emacs_startdir %(pkg-config emacs --variable sitestartdir)
|
|
|
452b9a |
|
|
|
452b9a |
#global rcver rc2
|
|
|
452b9a |
|
|
|
452b9a |
Summary: Protocol Buffers - Google's data interchange format
|
|
|
452b9a |
Name: protobuf
|
|
|
452b9a |
Version: 3.5.0
|
|
|
b48353 |
Release: 15%{?dist}
|
|
|
452b9a |
License: BSD
|
|
|
452b9a |
URL: https://github.com/google/protobuf
|
|
|
452b9a |
Source: https://github.com/google/protobuf/archive/v%{version}%{?rcver}/%{name}-%{version}%{?rcver}.tar.gz
|
|
|
452b9a |
Source1: ftdetect-proto.vim
|
|
|
452b9a |
Source2: protobuf-init.el
|
|
|
452b9a |
# For tests
|
|
|
452b9a |
Source3: https://github.com/google/googlemock/archive/release-1.7.0.tar.gz#/googlemock-1.7.0.tar.gz
|
|
|
452b9a |
Source4: https://github.com/google/googletest/archive/release-1.7.0.tar.gz#/googletest-1.7.0.tar.gz
|
|
|
452b9a |
# Might be upstreamable, but for now temporary workaround
|
|
|
452b9a |
Patch0: 0001-fix-build-on-s390x.patch
|
|
|
b48353 |
Patch1: CVE-2021-22570.rhel-8.patch
|
|
|
452b9a |
|
|
|
452b9a |
BuildRequires: autoconf
|
|
|
452b9a |
BuildRequires: automake
|
|
|
452b9a |
BuildRequires: emacs(bin)
|
|
|
452b9a |
BuildRequires: emacs-el >= 24.1
|
|
|
452b9a |
BuildRequires: gcc-c++
|
|
|
452b9a |
BuildRequires: libtool
|
|
|
452b9a |
BuildRequires: pkgconfig
|
|
|
452b9a |
BuildRequires: zlib-devel
|
|
|
452b9a |
|
|
|
452b9a |
%description
|
|
|
452b9a |
Protocol Buffers are a way of encoding structured data in an efficient
|
|
|
452b9a |
yet extensible format. Google uses Protocol Buffers for almost all of
|
|
|
452b9a |
its internal RPC protocols and file formats.
|
|
|
452b9a |
|
|
|
452b9a |
Protocol buffers are a flexible, efficient, automated mechanism for
|
|
|
452b9a |
serializing structured data – think XML, but smaller, faster, and
|
|
|
452b9a |
simpler. You define how you want your data to be structured once, then
|
|
|
452b9a |
you can use special generated source code to easily write and read
|
|
|
452b9a |
your structured data to and from a variety of data streams and using a
|
|
|
452b9a |
variety of languages. You can even update your data structure without
|
|
|
452b9a |
breaking deployed programs that are compiled against the "old" format.
|
|
|
452b9a |
|
|
|
452b9a |
%package compiler
|
|
|
452b9a |
Summary: Protocol Buffers compiler
|
|
|
452b9a |
Requires: %{name} = %{version}-%{release}
|
|
|
452b9a |
|
|
|
452b9a |
%description compiler
|
|
|
452b9a |
This package contains Protocol Buffers compiler for all programming
|
|
|
452b9a |
languages
|
|
|
452b9a |
|
|
|
452b9a |
%package devel
|
|
|
452b9a |
Summary: Protocol Buffers C++ headers and libraries
|
|
|
452b9a |
Requires: %{name} = %{version}-%{release}
|
|
|
452b9a |
Requires: %{name}-compiler = %{version}-%{release}
|
|
|
452b9a |
Requires: zlib-devel
|
|
|
452b9a |
Requires: pkgconfig
|
|
|
452b9a |
|
|
|
452b9a |
%description devel
|
|
|
452b9a |
This package contains Protocol Buffers compiler for all languages and
|
|
|
452b9a |
C++ headers and libraries
|
|
|
452b9a |
|
|
|
452b9a |
%package static
|
|
|
452b9a |
Summary: Static development files for %{name}
|
|
|
452b9a |
Requires: %{name}-devel = %{version}-%{release}
|
|
|
452b9a |
|
|
|
452b9a |
%description static
|
|
|
452b9a |
Static libraries for Protocol Buffers
|
|
|
452b9a |
|
|
|
452b9a |
%package lite
|
|
|
452b9a |
Summary: Protocol Buffers LITE_RUNTIME libraries
|
|
|
452b9a |
|
|
|
452b9a |
%description lite
|
|
|
452b9a |
Protocol Buffers built with optimize_for = LITE_RUNTIME.
|
|
|
452b9a |
|
|
|
452b9a |
The "optimize_for = LITE_RUNTIME" option causes the compiler to generate code
|
|
|
452b9a |
which only depends libprotobuf-lite, which is much smaller than libprotobuf but
|
|
|
452b9a |
lacks descriptors, reflection, and some other features.
|
|
|
452b9a |
|
|
|
452b9a |
%package lite-devel
|
|
|
452b9a |
Summary: Protocol Buffers LITE_RUNTIME development libraries
|
|
|
452b9a |
Requires: %{name}-devel = %{version}-%{release}
|
|
|
452b9a |
Requires: %{name}-lite = %{version}-%{release}
|
|
|
452b9a |
|
|
|
452b9a |
%description lite-devel
|
|
|
452b9a |
This package contains development libraries built with
|
|
|
452b9a |
optimize_for = LITE_RUNTIME.
|
|
|
452b9a |
|
|
|
452b9a |
The "optimize_for = LITE_RUNTIME" option causes the compiler to generate code
|
|
|
452b9a |
which only depends libprotobuf-lite, which is much smaller than libprotobuf but
|
|
|
452b9a |
lacks descriptors, reflection, and some other features.
|
|
|
452b9a |
|
|
|
452b9a |
%package lite-static
|
|
|
452b9a |
Summary: Static development files for %{name}-lite
|
|
|
452b9a |
Requires: %{name}-devel = %{version}-%{release}
|
|
|
452b9a |
|
|
|
452b9a |
%description lite-static
|
|
|
452b9a |
This package contains static development libraries built with
|
|
|
452b9a |
optimize_for = LITE_RUNTIME.
|
|
|
452b9a |
|
|
|
452b9a |
The "optimize_for = LITE_RUNTIME" option causes the compiler to generate code
|
|
|
452b9a |
which only depends libprotobuf-lite, which is much smaller than libprotobuf but
|
|
|
452b9a |
lacks descriptors, reflection, and some other features.
|
|
|
452b9a |
|
|
|
452b9a |
%if %{with python2}
|
|
|
452b9a |
%package -n python2-%{name}
|
|
|
452b9a |
Summary: Python 2 bindings for Google Protocol Buffers
|
|
|
452b9a |
BuildArch: noarch
|
|
|
452b9a |
BuildRequires: python2-devel
|
|
|
452b9a |
BuildRequires: python-setuptools
|
|
|
452b9a |
%if 0%{?fedora}
|
|
|
452b9a |
# For tests
|
|
|
452b9a |
BuildRequires: python-google-apputils
|
|
|
452b9a |
%endif
|
|
|
452b9a |
Requires: python-six >= 1.9
|
|
|
452b9a |
Conflicts: %{name}-compiler > %{version}
|
|
|
452b9a |
Conflicts: %{name}-compiler < %{version}
|
|
|
452b9a |
Obsoletes: %{name}-python < 3.1.0-4
|
|
|
452b9a |
Provides: %{name}-python = %{version}-%{release}
|
|
|
452b9a |
%{?python_provide:%python_provide python2-%{name}}
|
|
|
452b9a |
|
|
|
452b9a |
%description -n python2-%{name}
|
|
|
452b9a |
This package contains Python 2 libraries for Google Protocol Buffers
|
|
|
452b9a |
%endif
|
|
|
452b9a |
|
|
|
452b9a |
%if %{with python3}
|
|
|
452b9a |
%package -n python%{python3_pkgversion}-%{name}
|
|
|
452b9a |
Summary: Python 3 bindings for Google Protocol Buffers
|
|
|
452b9a |
BuildArch: noarch
|
|
|
452b9a |
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
452b9a |
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
|
452b9a |
%if 0%{?fedora}
|
|
|
452b9a |
# For tests
|
|
|
452b9a |
BuildRequires: python%{python3_pkgversion}-google-apputils
|
|
|
452b9a |
%endif
|
|
|
452b9a |
Requires: python%{python3_pkgversion}-six >= 1.9
|
|
|
452b9a |
Conflicts: %{name}-compiler > %{version}
|
|
|
452b9a |
Conflicts: %{name}-compiler < %{version}
|
|
|
452b9a |
Provides: %{name}-python3 = %{version}-%{release}
|
|
|
452b9a |
%{?python_provide:%python_provide python%{python3_pkgversion}-%{name}}
|
|
|
452b9a |
|
|
|
452b9a |
%description -n python%{python3_pkgversion}-%{name}
|
|
|
452b9a |
This package contains Python 3 libraries for Google Protocol Buffers
|
|
|
452b9a |
%endif
|
|
|
452b9a |
|
|
|
452b9a |
%package vim
|
|
|
452b9a |
Summary: Vim syntax highlighting for Google Protocol Buffers descriptions
|
|
|
452b9a |
BuildArch: noarch
|
|
|
452b9a |
Requires: vim-enhanced
|
|
|
452b9a |
|
|
|
452b9a |
%description vim
|
|
|
452b9a |
This package contains syntax highlighting for Google Protocol Buffers
|
|
|
452b9a |
descriptions in Vim editor
|
|
|
452b9a |
|
|
|
452b9a |
%package emacs
|
|
|
452b9a |
Summary: Emacs mode for Google Protocol Buffers descriptions
|
|
|
452b9a |
BuildArch: noarch
|
|
|
452b9a |
Requires: emacs(bin) >= 0%{emacs_version}
|
|
|
452b9a |
|
|
|
452b9a |
%description emacs
|
|
|
452b9a |
This package contains syntax highlighting for Google Protocol Buffers
|
|
|
452b9a |
descriptions in the Emacs editor.
|
|
|
452b9a |
|
|
|
452b9a |
%package emacs-el
|
|
|
452b9a |
Summary: Elisp source files for Google protobuf Emacs mode
|
|
|
452b9a |
BuildArch: noarch
|
|
|
452b9a |
Requires: protobuf-emacs = %{version}
|
|
|
452b9a |
|
|
|
452b9a |
%description emacs-el
|
|
|
452b9a |
This package contains the elisp source files for %{name}-emacs
|
|
|
452b9a |
under GNU Emacs. You do not need to install this package to use
|
|
|
452b9a |
%{name}-emacs.
|
|
|
452b9a |
|
|
|
452b9a |
|
|
|
452b9a |
%if %{with java}
|
|
|
452b9a |
%package java
|
|
|
452b9a |
Summary: Java Protocol Buffers runtime library
|
|
|
452b9a |
BuildArch: noarch
|
|
|
452b9a |
BuildRequires: maven-local
|
|
|
452b9a |
BuildRequires: mvn(com.google.code.gson:gson)
|
|
|
452b9a |
BuildRequires: mvn(com.google.guava:guava)
|
|
|
452b9a |
BuildRequires: mvn(junit:junit)
|
|
|
452b9a |
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
|
|
452b9a |
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
|
|
|
452b9a |
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
|
|
|
452b9a |
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
|
|
452b9a |
BuildRequires: mvn(org.easymock:easymock)
|
|
|
452b9a |
Conflicts: %{name}-compiler > %{version}
|
|
|
452b9a |
Conflicts: %{name}-compiler < %{version}
|
|
|
452b9a |
|
|
|
452b9a |
%description java
|
|
|
452b9a |
This package contains Java Protocol Buffers runtime library.
|
|
|
452b9a |
|
|
|
452b9a |
%package java-util
|
|
|
452b9a |
Summary: Utilities for Protocol Buffers
|
|
|
452b9a |
BuildArch: noarch
|
|
|
452b9a |
|
|
|
452b9a |
%description java-util
|
|
|
452b9a |
Utilities to work with protos. It contains JSON support
|
|
|
452b9a |
as well as utilities to work with proto3 well-known types.
|
|
|
452b9a |
|
|
|
452b9a |
%package javadoc
|
|
|
452b9a |
Summary: Javadoc for %{name}-java
|
|
|
452b9a |
BuildArch: noarch
|
|
|
452b9a |
|
|
|
452b9a |
%description javadoc
|
|
|
452b9a |
This package contains the API documentation for %{name}-java.
|
|
|
452b9a |
|
|
|
452b9a |
%package javanano
|
|
|
452b9a |
Summary: Protocol Buffer JavaNano API
|
|
|
452b9a |
BuildArch: noarch
|
|
|
452b9a |
|
|
|
452b9a |
%description javanano
|
|
|
452b9a |
JavaNano is a special code generator and runtime
|
|
|
452b9a |
library designed specially for resource-restricted
|
|
|
452b9a |
systems, like Android.
|
|
|
452b9a |
|
|
|
452b9a |
%package parent
|
|
|
452b9a |
Summary: Protocol Buffer Parent POM
|
|
|
452b9a |
BuildArch: noarch
|
|
|
452b9a |
|
|
|
452b9a |
%description parent
|
|
|
452b9a |
Protocol Buffer Parent POM.
|
|
|
452b9a |
|
|
|
452b9a |
%endif
|
|
|
452b9a |
|
|
|
452b9a |
%prep
|
|
|
452b9a |
%setup -q -n %{name}-%{version}%{?rcver} -a 3 -a 4
|
|
|
452b9a |
%autopatch -p1
|
|
|
452b9a |
mv googlemock-release-1.7.0 gmock
|
|
|
452b9a |
mv googletest-release-1.7.0 gmock/gtest
|
|
|
452b9a |
find -name \*.cc -o -name \*.h | xargs chmod -x
|
|
|
452b9a |
chmod 644 examples/*
|
|
|
452b9a |
%if %{with java}
|
|
|
452b9a |
%pom_remove_parent java/pom.xml
|
|
|
452b9a |
%pom_remove_dep org.easymock:easymockclassextension java/pom.xml java/*/pom.xml
|
|
|
452b9a |
# These use easymockclassextension
|
|
|
452b9a |
rm java/core/src/test/java/com/google/protobuf/ServiceTest.java
|
|
|
452b9a |
#rm -r java/core/src/test
|
|
|
452b9a |
|
|
|
452b9a |
# used by https://github.com/googlei18n/libphonenumber
|
|
|
452b9a |
%pom_xpath_inject "pom:project/pom:modules" "<module>../javanano</module>" java
|
|
|
452b9a |
%pom_remove_parent javanano
|
|
|
452b9a |
%pom_remove_dep org.easymock:easymockclassextension javanano
|
|
|
452b9a |
|
|
|
452b9a |
# Make OSGi dependency on sun.misc package optional
|
|
|
452b9a |
%pom_xpath_inject "pom:configuration/pom:instructions" "<Import-Package>sun.misc;resolution:=optional,*</Import-Package>" java/core
|
|
|
452b9a |
|
|
|
452b9a |
# Backward compatibility symlink
|
|
|
452b9a |
%mvn_file :protobuf-java:jar: %{name}/%{name}-java %{name}
|
|
|
452b9a |
|
|
|
452b9a |
# This test is incredibly slow on arm
|
|
|
452b9a |
# https://github.com/google/protobuf/issues/2389
|
|
|
452b9a |
%ifarch %{arm}
|
|
|
452b9a |
mv java/core/src/test/java/com/google/protobuf/IsValidUtf8Test.java \
|
|
|
452b9a |
java/core/src/test/java/com/google/protobuf/IsValidUtf8Test.java.slow
|
|
|
452b9a |
%endif
|
|
|
452b9a |
%endif
|
|
|
452b9a |
|
|
|
452b9a |
rm -f src/solaris/libstdc++.la
|
|
|
452b9a |
|
|
|
452b9a |
%build
|
|
|
452b9a |
iconv -f iso8859-1 -t utf-8 CONTRIBUTORS.txt > CONTRIBUTORS.txt.utf8
|
|
|
452b9a |
mv CONTRIBUTORS.txt.utf8 CONTRIBUTORS.txt
|
|
|
452b9a |
export PTHREAD_LIBS="-lpthread"
|
|
|
452b9a |
./autogen.sh
|
|
|
452b9a |
%configure
|
|
|
452b9a |
|
|
|
452b9a |
make %{?_smp_mflags}
|
|
|
452b9a |
|
|
|
452b9a |
%if %{with python2}
|
|
|
452b9a |
pushd python
|
|
|
452b9a |
%py2_build
|
|
|
452b9a |
popd
|
|
|
452b9a |
%endif
|
|
|
452b9a |
|
|
|
452b9a |
%if %{with python3}
|
|
|
452b9a |
pushd python
|
|
|
452b9a |
%py3_build
|
|
|
452b9a |
popd
|
|
|
452b9a |
%endif
|
|
|
452b9a |
|
|
|
452b9a |
%if %{with java}
|
|
|
452b9a |
%mvn_build -s -- -f java/pom.xml
|
|
|
452b9a |
%endif
|
|
|
452b9a |
|
|
|
452b9a |
emacs -batch -f batch-byte-compile editors/protobuf-mode.el
|
|
|
452b9a |
|
|
|
452b9a |
%check
|
|
|
452b9a |
# TODO: failures; get them fixed and remove || :
|
|
|
452b9a |
# https://github.com/google/protobuf/issues/631
|
|
|
452b9a |
make %{?_smp_mflags} check || :
|
|
|
452b9a |
|
|
|
452b9a |
%install
|
|
|
452b9a |
make %{?_smp_mflags} install DESTDIR=%{buildroot} STRIPBINARIES=no INSTALL="%{__install} -p" CPPROG="cp -p"
|
|
|
452b9a |
find %{buildroot} -type f -name "*.la" -exec rm -f {} \;
|
|
|
452b9a |
|
|
|
452b9a |
%if %{with python2}
|
|
|
452b9a |
pushd python
|
|
|
452b9a |
#python ./setup.py install --root=%{buildroot} --single-version-externally-managed --record=INSTALLED_FILES --optimize=1
|
|
|
452b9a |
%py2_install
|
|
|
452b9a |
find %{buildroot}%{python2_sitelib} -name \*.py |
|
|
|
452b9a |
xargs sed -i -e '1{\@^#!@d}'
|
|
|
452b9a |
popd
|
|
|
452b9a |
%endif
|
|
|
452b9a |
|
|
|
452b9a |
%if %{with python3}
|
|
|
452b9a |
pushd python
|
|
|
452b9a |
#python ./setup.py install --root=%{buildroot} --single-version-externally-managed --record=INSTALLED_FILES --optimize=1
|
|
|
452b9a |
%py3_install
|
|
|
452b9a |
find %{buildroot}%{python3_sitelib} -name \*.py |
|
|
|
452b9a |
xargs sed -i -e '1{\@^#!@d}'
|
|
|
452b9a |
popd
|
|
|
452b9a |
%endif
|
|
|
452b9a |
|
|
|
452b9a |
install -p -m 644 -D %{SOURCE1} %{buildroot}%{_datadir}/vim/vimfiles/ftdetect/proto.vim
|
|
|
452b9a |
install -p -m 644 -D editors/proto.vim %{buildroot}%{_datadir}/vim/vimfiles/syntax/proto.vim
|
|
|
452b9a |
|
|
|
452b9a |
%if %{with java}
|
|
|
452b9a |
%mvn_install
|
|
|
452b9a |
%endif
|
|
|
452b9a |
|
|
|
452b9a |
mkdir -p $RPM_BUILD_ROOT%{emacs_lispdir}
|
|
|
452b9a |
mkdir -p $RPM_BUILD_ROOT%{emacs_startdir}
|
|
|
452b9a |
install -p -m 0644 editors/protobuf-mode.el $RPM_BUILD_ROOT%{emacs_lispdir}
|
|
|
452b9a |
install -p -m 0644 editors/protobuf-mode.elc $RPM_BUILD_ROOT%{emacs_lispdir}
|
|
|
452b9a |
install -p -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{emacs_startdir}
|
|
|
452b9a |
|
|
|
452b9a |
%ldconfig_scriptlets
|
|
|
452b9a |
%ldconfig_scriptlets lite
|
|
|
452b9a |
%ldconfig_scriptlets compiler
|
|
|
452b9a |
|
|
|
452b9a |
%files
|
|
|
452b9a |
%{_libdir}/libprotobuf.so.15*
|
|
|
452b9a |
%doc CHANGES.txt CONTRIBUTORS.txt README.md
|
|
|
452b9a |
%license LICENSE
|
|
|
452b9a |
|
|
|
452b9a |
%files compiler
|
|
|
452b9a |
%{_bindir}/protoc
|
|
|
452b9a |
%{_libdir}/libprotoc.so.15*
|
|
|
452b9a |
%doc README.md
|
|
|
452b9a |
%license LICENSE
|
|
|
452b9a |
|
|
|
452b9a |
%files devel
|
|
|
452b9a |
%dir %{_includedir}/google
|
|
|
452b9a |
%{_includedir}/google/protobuf/
|
|
|
452b9a |
%{_libdir}/libprotobuf.so
|
|
|
452b9a |
%{_libdir}/libprotoc.so
|
|
|
452b9a |
%{_libdir}/pkgconfig/protobuf.pc
|
|
|
452b9a |
%doc examples/add_person.cc examples/addressbook.proto examples/list_people.cc examples/Makefile examples/README.md
|
|
|
452b9a |
|
|
|
452b9a |
%files static
|
|
|
452b9a |
%{_libdir}/libprotobuf.a
|
|
|
452b9a |
%{_libdir}/libprotoc.a
|
|
|
452b9a |
|
|
|
452b9a |
%files lite
|
|
|
452b9a |
%{_libdir}/libprotobuf-lite.so.15*
|
|
|
452b9a |
|
|
|
452b9a |
%files lite-devel
|
|
|
452b9a |
%{_libdir}/libprotobuf-lite.so
|
|
|
452b9a |
%{_libdir}/pkgconfig/protobuf-lite.pc
|
|
|
452b9a |
|
|
|
452b9a |
%files lite-static
|
|
|
452b9a |
%{_libdir}/libprotobuf-lite.a
|
|
|
452b9a |
|
|
|
452b9a |
%if %{with python2}
|
|
|
452b9a |
%files -n python2-protobuf
|
|
|
452b9a |
%dir %{python2_sitelib}/google
|
|
|
452b9a |
%{python2_sitelib}/google/protobuf/
|
|
|
452b9a |
%{python2_sitelib}/protobuf-%{version}%{?rcver}-py2.?.egg-info/
|
|
|
452b9a |
%{python2_sitelib}/protobuf-%{version}%{?rcver}-py2.?-nspkg.pth
|
|
|
452b9a |
%doc python/README.md
|
|
|
452b9a |
%doc examples/add_person.py examples/list_people.py examples/addressbook.proto
|
|
|
452b9a |
%endif
|
|
|
452b9a |
|
|
|
452b9a |
%if %{with python3}
|
|
|
452b9a |
%files -n python%{python3_pkgversion}-protobuf
|
|
|
452b9a |
%dir %{python3_sitelib}/google
|
|
|
452b9a |
%{python3_sitelib}/google/protobuf/
|
|
|
452b9a |
%{python3_sitelib}/protobuf-%{version}%{?rcver}-py3.?.egg-info/
|
|
|
452b9a |
%{python3_sitelib}/protobuf-%{version}%{?rcver}-py3.?-nspkg.pth
|
|
|
452b9a |
%doc python/README.md
|
|
|
452b9a |
%doc examples/add_person.py examples/list_people.py examples/addressbook.proto
|
|
|
452b9a |
%endif
|
|
|
452b9a |
|
|
|
452b9a |
%files vim
|
|
|
452b9a |
%{_datadir}/vim/vimfiles/ftdetect/proto.vim
|
|
|
452b9a |
%{_datadir}/vim/vimfiles/syntax/proto.vim
|
|
|
452b9a |
|
|
|
452b9a |
%files emacs
|
|
|
452b9a |
%{emacs_startdir}/protobuf-init.el
|
|
|
452b9a |
%{emacs_lispdir}/protobuf-mode.elc
|
|
|
452b9a |
|
|
|
452b9a |
%files emacs-el
|
|
|
452b9a |
%{emacs_lispdir}/protobuf-mode.el
|
|
|
452b9a |
|
|
|
452b9a |
%if %{with java}
|
|
|
452b9a |
%files java -f .mfiles-protobuf-java
|
|
|
452b9a |
%doc examples/AddPerson.java examples/ListPeople.java
|
|
|
452b9a |
%doc java/README.md
|
|
|
452b9a |
%license LICENSE
|
|
|
452b9a |
|
|
|
452b9a |
%files java-util -f .mfiles-protobuf-java-util
|
|
|
452b9a |
|
|
|
452b9a |
%files javadoc -f .mfiles-javadoc
|
|
|
452b9a |
%license LICENSE
|
|
|
452b9a |
|
|
|
452b9a |
%files javanano -f .mfiles-protobuf-javanano
|
|
|
452b9a |
%doc javanano/README.md
|
|
|
452b9a |
%license LICENSE
|
|
|
452b9a |
|
|
|
452b9a |
%files parent -f .mfiles-protobuf-parent
|
|
|
452b9a |
%license LICENSE
|
|
|
452b9a |
%endif
|
|
|
452b9a |
|
|
|
452b9a |
%changelog
|
|
|
b48353 |
* Mon Mar 21 2022 Adrian Reber <areber@redhat.com> - 3.5.0-15
|
|
|
b48353 |
- Applied patch for for CVE-2021-22570 (#2050494)
|
|
|
b48353 |
|
|
|
1cc859 |
* Thu May 28 2020 Adrian Reber <areber@redhat.com> - 3.5.0-13
|
|
|
1cc859 |
- Rebuild
|
|
|
1cc859 |
|
|
|
1cc859 |
* Tue May 26 2020 Adrian Reber <areber@redhat.com> - 3.5.0-10
|
|
|
1cc859 |
- Rebuild
|
|
|
1cc859 |
|
|
|
1cc859 |
* Thu Apr 09 2020 Adrian Reber <areber@redhat.com> - 3.5.0-8
|
|
|
1cc859 |
- Rebuild
|
|
|
1cc859 |
|
|
|
452b9a |
* Thu Jul 12 2018 Adrian Reber <areber@redhat.com> - 3.5.0-7
|
|
|
452b9a |
- Build without python2 subpackage
|
|
|
452b9a |
|
|
|
452b9a |
* Wed Jun 20 2018 Adrian Reber <areber@redhat.com> - 3.5.0-6
|
|
|
452b9a |
- Only BR python-google-apputils on Fedora
|
|
|
452b9a |
|
|
|
452b9a |
* Wed May 30 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.5.0-5
|
|
|
452b9a |
- Build without -java supbackage
|
|
|
452b9a |
|
|
|
452b9a |
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.5.0-4
|
|
|
452b9a |
- Escape macros in %%changelog
|
|
|
452b9a |
|
|
|
452b9a |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-3
|
|
|
452b9a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
452b9a |
|
|
|
452b9a |
* Fri Feb 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.5.0-2
|
|
|
452b9a |
- Switch to %%ldconfig_scriptlets
|
|
|
452b9a |
|
|
|
452b9a |
* Thu Nov 23 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.5.0-1
|
|
|
452b9a |
- Update to 3.5.0
|
|
|
452b9a |
|
|
|
452b9a |
* Mon Nov 13 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.4.1-1
|
|
|
452b9a |
- Update to 3.4.1
|
|
|
452b9a |
|
|
|
452b9a |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.1-4
|
|
|
452b9a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
452b9a |
|
|
|
452b9a |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.1-3
|
|
|
452b9a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
452b9a |
|
|
|
452b9a |
* Tue Jun 27 2017 Mat Booth <mat.booth@redhat.com> - 3.3.1-2
|
|
|
452b9a |
- Make OSGi dependency on sun.misc package optional. This package is not
|
|
|
452b9a |
available in all execution environments and will not be available in Java 9.
|
|
|
452b9a |
|
|
|
452b9a |
* Mon Jun 12 2017 Orion Poplawski <orion@cora.nwra.com> - 3.3.1-1
|
|
|
452b9a |
- Update to 3.3.1
|
|
|
452b9a |
|
|
|
452b9a |
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-3
|
|
|
452b9a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
|
|
|
452b9a |
|
|
|
452b9a |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-2
|
|
|
452b9a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
452b9a |
|
|
|
452b9a |
* Fri Jan 27 2017 Orion Poplawski <orion@cora.nwra.com> - 3.2.0-1
|
|
|
452b9a |
- Update to 3.2.0 final
|
|
|
452b9a |
|
|
|
452b9a |
* Mon Jan 23 2017 Orion Poplawski <orion@cora.nwra.com> - 3.2.0-0.1.rc2
|
|
|
452b9a |
- Update to 3.2.0rc2
|
|
|
452b9a |
|
|
|
452b9a |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 3.1.0-6
|
|
|
452b9a |
- Rebuild for Python 3.6
|
|
|
452b9a |
|
|
|
452b9a |
* Sat Nov 19 2016 Orion Poplawski <orion@cora.nwra.com> - 3.1.0-5
|
|
|
452b9a |
- Disable slow test on arm
|
|
|
452b9a |
|
|
|
452b9a |
* Fri Nov 18 2016 Orion Poplawski <orion@cora.nwra.com> - 3.1.0-4
|
|
|
452b9a |
- Ship python 3 module
|
|
|
452b9a |
|
|
|
452b9a |
* Fri Nov 18 2016 Orion Poplawski <orion@cora.nwra.com> - 3.1.0-3
|
|
|
452b9a |
- Fix jar file compat symlink
|
|
|
452b9a |
|
|
|
452b9a |
* Fri Nov 18 2016 Orion Poplawski <orion@cora.nwra.com> - 3.1.0-2
|
|
|
452b9a |
- Add needed python requirement
|
|
|
452b9a |
|
|
|
452b9a |
* Fri Nov 04 2016 Orion Poplawski <orion@cora.nwra.com> - 3.1.0-2
|
|
|
452b9a |
- Make various sub-packages noarch
|
|
|
452b9a |
|
|
|
452b9a |
* Fri Nov 04 2016 gil cattaneo <puntogil@libero.it> 3.1.0-2
|
|
|
452b9a |
- enable javanano
|
|
|
452b9a |
- minor changes to adapt to current guidelines
|
|
|
452b9a |
|
|
|
452b9a |
* Fri Nov 04 2016 Orion Poplawski <orion@cora.nwra.com> - 3.1.0-1
|
|
|
452b9a |
- Update to 3.1.0
|
|
|
452b9a |
|
|
|
452b9a |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.1-5
|
|
|
452b9a |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
452b9a |
|
|
|
452b9a |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.1-4
|
|
|
452b9a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
452b9a |
|
|
|
452b9a |
* Wed Jan 20 2016 Orion Poplawski <orion@cora.nwra.com> - 2.6.1-3
|
|
|
452b9a |
- Tests no longer segfaulting on arm
|
|
|
452b9a |
|
|
|
452b9a |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.1-2
|
|
|
452b9a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
452b9a |
|
|
|
452b9a |
* Mon Apr 6 2015 Orion Poplawski <orion@cora.nwra.com> - 2.6.1-1
|
|
|
452b9a |
- Update to 2.6.1
|
|
|
452b9a |
- New URL
|
|
|
452b9a |
- Cleanup spec
|
|
|
452b9a |
- Add patch to fix emacs compilation with emacs 24.4
|
|
|
452b9a |
- Drop java-fixes patch, use pom macros instead
|
|
|
452b9a |
- Add BR on python-google-apputils and mvn(org.easymock:easymock)
|
|
|
452b9a |
- Run make check
|
|
|
452b9a |
- Make -static require -devel (bug #1067475)
|
|
|
452b9a |
|
|
|
452b9a |
* Thu Mar 26 2015 Kalev Lember <kalevlember@gmail.com> - 2.6.0-4
|
|
|
452b9a |
- Rebuilt for GCC 5 ABI change
|
|
|
452b9a |
|
|
|
452b9a |
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 2.6.0-3
|
|
|
452b9a |
- Rebuilt for Fedora 23 Change
|
|
|
452b9a |
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
|
|
|
452b9a |
|
|
|
452b9a |
* Wed Dec 17 2014 Peter Lemenkov <lemenkov@gmail.com> - 2.6.0-2
|
|
|
452b9a |
- Added missing Requires zlib-devel to protobuf-devel (see rhbz #1173343). See
|
|
|
452b9a |
also rhbz #732087.
|
|
|
452b9a |
|
|
|
452b9a |
* Sun Oct 19 2014 Conrad Meyer <cemeyer@uw.edu> - 2.6.0-1
|
|
|
452b9a |
- Bump to upstream release 2.6.0 (rh# 1154474).
|
|
|
452b9a |
- Rebase 'java fixes' patch on 2.6.0 pom.xml.
|
|
|
452b9a |
- Drop patch #3 (fall back to generic GCC atomics if no specialized atomics
|
|
|
452b9a |
exist, e.g. AArch64 GCC); this has been upstreamed.
|
|
|
452b9a |
|
|
|
452b9a |
* Sun Oct 19 2014 Conrad Meyer <cemeyer@uw.edu> - 2.5.0-11
|
|
|
452b9a |
- protobuf-emacs requires emacs(bin), not emacs (rh# 1154456)
|
|
|
452b9a |
|
|
|
452b9a |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.0-10
|
|
|
452b9a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
452b9a |
|
|
|
452b9a |
* Mon Jun 16 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.5.0-9
|
|
|
452b9a |
- Update to current Java packaging guidelines
|
|
|
452b9a |
|
|
|
452b9a |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.0-8
|
|
|
452b9a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
452b9a |
|
|
|
452b9a |
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.5.0-7
|
|
|
452b9a |
- Use Requires: java-headless rebuild (#1067528)
|
|
|
452b9a |
|
|
|
452b9a |
* Thu Dec 12 2013 Conrad Meyer <cemeyer@uw.edu> - 2.5.0-6
|
|
|
452b9a |
- BR python-setuptools-devel -> python-setuptools
|
|
|
452b9a |
|
|
|
452b9a |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.0-5
|
|
|
452b9a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
452b9a |
|
|
|
452b9a |
* Thu May 16 2013 Dan Horák <dan[at]danny.cz> - 2.5.0-4
|
|
|
452b9a |
- export the new generic atomics header (rh #926374)
|
|
|
452b9a |
|
|
|
452b9a |
* Mon May 6 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.5.0-3
|
|
|
452b9a |
- Add support for generic gcc atomic operations (rh #926374)
|
|
|
452b9a |
|
|
|
452b9a |
* Sat Apr 27 2013 Conrad Meyer <cemeyer@uw.edu> - 2.5.0-2
|
|
|
452b9a |
- Remove changelog history from before 2010
|
|
|
452b9a |
- This spec already runs autoreconf -fi during %%build, but bump build for
|
|
|
452b9a |
rhbz #926374
|
|
|
452b9a |
|
|
|
452b9a |
* Sat Mar 9 2013 Conrad Meyer <cemeyer@uw.edu> - 2.5.0-1
|
|
|
452b9a |
- Bump to latest upstream (#883822)
|
|
|
452b9a |
- Rebase gtest, maven patches on 2.5.0
|
|
|
452b9a |
|
|
|
452b9a |
* Tue Feb 26 2013 Conrad Meyer <cemeyer@uw.edu> - 2.4.1-12
|
|
|
452b9a |
- Nuke BR on maven-doxia, maven-doxia-sitetools (#915620)
|
|
|
452b9a |
|
|
|
452b9a |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.1-11
|
|
|
452b9a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
452b9a |
|
|
|
452b9a |
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 2.4.1-10
|
|
|
452b9a |
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
|
452b9a |
- Replace maven BuildRequires with maven-local
|
|
|
452b9a |
|
|
|
452b9a |
* Sun Jan 20 2013 Conrad Meyer <konrad@tylerc.org> - 2.4.1-9
|
|
|
452b9a |
- Fix packaging bug, -emacs-el subpackage should depend on -emacs subpackage of
|
|
|
452b9a |
the same version (%%version), not the emacs version number...
|
|
|
452b9a |
|
|
|
452b9a |
* Thu Jan 17 2013 Tim Niemueller <tim@niemueller.de> - 2.4.1-8
|
|
|
452b9a |
- Added sub-package for Emacs editing mode
|
|
|
452b9a |
|
|
|
452b9a |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.1-7
|
|
|
452b9a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
452b9a |
|
|
|
452b9a |
* Mon Mar 19 2012 Dan Horák <dan[at]danny.cz> - 2.4.1-6
|
|
|
452b9a |
- disable test-suite until g++ 4.7 issues are resolved
|
|
|
452b9a |
|
|
|
452b9a |
* Mon Mar 19 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.4.1-5
|
|
|
452b9a |
- Update to latest java packaging guidelines
|
|
|
452b9a |
|
|
|
452b9a |
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.1-4
|
|
|
452b9a |
- Rebuilt for c++ ABI breakage
|
|
|
452b9a |
|
|
|
452b9a |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.1-3
|
|
|
452b9a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
452b9a |
|
|
|
452b9a |
* Tue Sep 27 2011 Pierre-Yves Chibon <pingou@pingoured.fr> - 2.4.1-2
|
|
|
452b9a |
- Adding zlib-devel as BR (rhbz: #732087)
|
|
|
452b9a |
|
|
|
452b9a |
* Thu Jun 09 2011 BJ Dierkes <wdierkes@rackspace.com> - 2.4.1-1
|
|
|
452b9a |
- Latest sources from upstream.
|
|
|
452b9a |
- Rewrote Patch2 as protobuf-2.4.1-java-fixes.patch
|
|
|
452b9a |
|
|
|
452b9a |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.0-7
|
|
|
452b9a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
452b9a |
|
|
|
452b9a |
* Thu Jan 13 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.3.0-6
|
|
|
452b9a |
- Fix java subpackage bugs #669345 and #669346
|
|
|
452b9a |
- Use new maven plugin names
|
|
|
452b9a |
- Use mavenpomdir macro for pom installation
|
|
|
452b9a |
|
|
|
452b9a |
* Mon Jul 26 2010 David Malcolm <dmalcolm@redhat.com> - 2.3.0-5
|
|
|
452b9a |
- generalize hardcoded reference to 2.6 in python subpackage %%files manifest
|
|
|
452b9a |
|
|
|
452b9a |
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 2.3.0-4
|
|
|
452b9a |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
452b9a |
|
|
|
452b9a |
* Thu Jul 15 2010 James Laska <jlaska@redhat.com> - 2.3.0-3
|
|
|
452b9a |
- Correct use of %%bcond macros
|
|
|
452b9a |
|
|
|
452b9a |
* Wed Jul 14 2010 James Laska <jlaska@redhat.com> - 2.3.0-2
|
|
|
452b9a |
- Enable python and java sub-packages
|
|
|
452b9a |
|
|
|
452b9a |
* Tue May 4 2010 Conrad Meyer <konrad@tylerc.org> - 2.3.0-1
|
|
|
452b9a |
- bump to 2.3.0
|