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