|
|
efa197 |
%global php_extdir %(php-config --extension-dir 2>/dev/null || echo "undefined")
|
|
|
efa197 |
|
|
|
efa197 |
%{?perl_default_filter}
|
|
|
efa197 |
%global __provides_exclude_from ^(%{python3_sitearch}/.*\\.so|%{php_extdir}/.*\\.so)$
|
|
|
efa197 |
|
|
|
efa197 |
%global have_mongrel 0
|
|
|
efa197 |
|
|
|
efa197 |
# erlang-jsx is available in F19 but orphaned in F22
|
|
|
efa197 |
%global have_jsx 0
|
|
|
efa197 |
|
|
|
efa197 |
# We should be able to enable this in the future
|
|
|
efa197 |
%global want_d 0
|
|
|
efa197 |
|
|
|
efa197 |
# Can't do anything with java with all the build deps in modules
|
|
|
efa197 |
%global want_java 0
|
|
|
efa197 |
|
|
|
efa197 |
%if 0%{?want_java} == 0
|
|
|
efa197 |
%global java_configure --without-java
|
|
|
efa197 |
%else
|
|
|
efa197 |
%global java_configure --with-java
|
|
|
efa197 |
%endif
|
|
|
efa197 |
|
|
|
efa197 |
# Thrift's Ruby support depends on Mongrel. Since Mongrel is
|
|
|
efa197 |
# deprecated in Fedora, we can't support Ruby bindings for Thrift
|
|
|
efa197 |
# unless and until Thrift is patched to use a different HTTP server.
|
|
|
efa197 |
%if 0%{?have_mongrel} == 0
|
|
|
efa197 |
%global ruby_configure --without-ruby
|
|
|
efa197 |
%global with_ruby 0
|
|
|
efa197 |
%else
|
|
|
efa197 |
%global ruby_configure --with-ruby
|
|
|
efa197 |
%global want_ruby 1
|
|
|
efa197 |
%endif
|
|
|
efa197 |
|
|
|
efa197 |
# Thrift's Erlang support depends on the JSX library, which is not
|
|
|
efa197 |
# currently available in Fedora.
|
|
|
efa197 |
|
|
|
efa197 |
%if 0%{?have_jsx} == 0
|
|
|
efa197 |
%global erlang_configure --without-erlang
|
|
|
efa197 |
%global want_erlang 0
|
|
|
efa197 |
%else
|
|
|
efa197 |
%global erlang_configure --with-erlang
|
|
|
efa197 |
%global want_erlang 1
|
|
|
efa197 |
%endif
|
|
|
efa197 |
|
|
|
efa197 |
# PHP appears broken in Thrift 0.9.1
|
|
|
efa197 |
%global want_php 0
|
|
|
efa197 |
|
|
|
efa197 |
%if 0%{?want_php} == 0
|
|
|
efa197 |
%global php_langname %{nil}
|
|
|
efa197 |
%global php_configure --without-php
|
|
|
efa197 |
%else
|
|
|
efa197 |
%global php_langname PHP,\
|
|
|
efa197 |
%global php_configure --with-php
|
|
|
efa197 |
%endif
|
|
|
efa197 |
|
|
|
efa197 |
# Thrift's GO support doesn't build under Fedora
|
|
|
efa197 |
%global want_golang 0
|
|
|
efa197 |
%global golang_configure --without-go
|
|
|
efa197 |
|
|
|
efa197 |
# Thrift's Lua support has not yet been worked on
|
|
|
efa197 |
%global want_lua 0
|
|
|
efa197 |
%global lua_configure --without-lua
|
|
|
efa197 |
|
|
|
efa197 |
# NOTE: thrift versions their libraries by package version, so each version
|
|
|
efa197 |
# change is a SONAME change and dependencies need to be rebuilt
|
|
|
efa197 |
Name: thrift
|
|
|
efa197 |
Version: 0.14.0
|
|
|
efa197 |
Release: 7%{?dist}
|
|
|
efa197 |
Summary: Software framework for cross-language services development
|
|
|
efa197 |
|
|
|
efa197 |
# Parts of the source are used under the BSD and zlib licenses, but
|
|
|
efa197 |
# these are OK for inclusion in an Apache 2.0-licensed whole:
|
|
|
efa197 |
# https://www.apache.org/legal/3party.html
|
|
|
efa197 |
|
|
|
efa197 |
# Here's the breakdown:
|
|
|
efa197 |
# ./lib/py/compat/win32/stdint.h is 2-clause BSD
|
|
|
efa197 |
# ./compiler/cpp/src/md5.[ch] are zlib
|
|
|
efa197 |
License: ASL 2.0 and BSD and zlib
|
|
|
efa197 |
URL: https://thrift.apache.org/
|
|
|
efa197 |
|
|
|
efa197 |
Source0: https://archive.apache.org/dist/%{name}/%{version}/%{name}-%{version}.tar.gz
|
|
|
efa197 |
|
|
|
efa197 |
Source1: https://repo1.maven.org/maven2/org/apache/thrift/lib%{name}/%{version}/lib%{name}-%{version}.pom
|
|
|
efa197 |
Source2: https://raw.github.com/apache/%{name}/%{version}/bootstrap.sh
|
|
|
efa197 |
|
|
|
efa197 |
# Fix char warning
|
|
|
efa197 |
# https://issues.apache.org/jira/browse/THRIFT-5350
|
|
|
efa197 |
Patch0: thrift-char.patch
|
|
|
efa197 |
# fix configure.ac insistence on using /usr/local/lib for JAVA_PREFIX
|
|
|
efa197 |
Patch2: configure-java-prefix.patch
|
|
|
efa197 |
|
|
|
efa197 |
|
|
|
efa197 |
# BuildRequires for language-specific bindings are listed under these
|
|
|
efa197 |
# subpackages, to facilitate enabling or disabling individual language
|
|
|
efa197 |
# bindings in the future
|
|
|
efa197 |
|
|
|
efa197 |
%if 0%{?want_java} > 0
|
|
|
efa197 |
BuildRequires: ant >= 1.7
|
|
|
efa197 |
%endif
|
|
|
efa197 |
BuildRequires: make
|
|
|
efa197 |
BuildRequires: autoconf
|
|
|
efa197 |
BuildRequires: automake
|
|
|
efa197 |
BuildRequires: bison
|
|
|
efa197 |
BuildRequires: boost-devel
|
|
|
efa197 |
BuildRequires: boost-static
|
|
|
efa197 |
BuildRequires: flex
|
|
|
efa197 |
BuildRequires: gcc-c++
|
|
|
efa197 |
BuildRequires: glib2-devel
|
|
|
efa197 |
BuildRequires: libevent-devel
|
|
|
efa197 |
BuildRequires: libstdc++-devel
|
|
|
efa197 |
BuildRequires: libtool
|
|
|
efa197 |
BuildRequires: openssl-devel
|
|
|
efa197 |
BuildRequires: qt5-qtbase-devel
|
|
|
efa197 |
BuildRequires: texlive
|
|
|
efa197 |
BuildRequires: zlib-devel
|
|
|
efa197 |
|
|
|
efa197 |
%if 0%{?want_golang} > 0
|
|
|
efa197 |
BuildRequires: golang
|
|
|
efa197 |
Requires: golang
|
|
|
efa197 |
%endif
|
|
|
efa197 |
|
|
|
efa197 |
%description
|
|
|
efa197 |
|
|
|
efa197 |
The Apache Thrift software framework for cross-language services
|
|
|
efa197 |
development combines a software stack with a code generation engine to
|
|
|
efa197 |
build services that work efficiently and seamlessly between C++, Java,
|
|
|
efa197 |
Python, %{?php_langname}and other languages.
|
|
|
efa197 |
|
|
|
efa197 |
%package devel
|
|
|
efa197 |
Summary: Development files for %{name}
|
|
|
efa197 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
efa197 |
Requires: pkgconfig
|
|
|
efa197 |
Requires: boost-devel
|
|
|
efa197 |
|
|
|
efa197 |
%description devel
|
|
|
efa197 |
The %{name}-devel package contains libraries and header files for
|
|
|
efa197 |
developing applications that use %{name}.
|
|
|
efa197 |
|
|
|
efa197 |
%package qt
|
|
|
efa197 |
Summary: Qt support for %{name}
|
|
|
efa197 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
efa197 |
|
|
|
efa197 |
%description qt
|
|
|
efa197 |
The %{name}-qt package contains Qt bindings for %{name}.
|
|
|
efa197 |
|
|
|
efa197 |
%package glib
|
|
|
efa197 |
Summary: GLib support for %{name}
|
|
|
efa197 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
efa197 |
|
|
|
efa197 |
%description glib
|
|
|
efa197 |
The %{name}-qt package contains GLib bindings for %{name}.
|
|
|
efa197 |
|
|
|
efa197 |
%package -n python3-%{name}
|
|
|
efa197 |
Summary: Python 3 support for %{name}
|
|
|
efa197 |
BuildRequires: python3-devel
|
|
|
efa197 |
BuildRequires: python3-setuptools
|
|
|
efa197 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
efa197 |
Requires: python3
|
|
|
efa197 |
Obsoletes: python-%{name} < 0.10.0-1%{?dist}
|
|
|
efa197 |
Obsoletes: python2-%{name} < 0.10.0-14%{?dist}
|
|
|
efa197 |
|
|
|
efa197 |
%description -n python3-%{name}
|
|
|
efa197 |
The python3-%{name} package contains Python bindings for %{name}.
|
|
|
efa197 |
|
|
|
efa197 |
%package -n perl-%{name}
|
|
|
efa197 |
Summary: Perl support for %{name}
|
|
|
efa197 |
Provides: perl(Thrift) = %{version}-%{release}
|
|
|
efa197 |
BuildRequires: perl(Bit::Vector)
|
|
|
efa197 |
BuildRequires: perl(Class::Accessor)
|
|
|
efa197 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
efa197 |
BuildRequires: perl-generators
|
|
|
efa197 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
efa197 |
Requires: perl(Bit::Vector)
|
|
|
efa197 |
Requires: perl(Encode)
|
|
|
efa197 |
Requires: perl(HTTP::Request)
|
|
|
efa197 |
Requires: perl(IO::Select)
|
|
|
efa197 |
Requires: perl(IO::Socket::INET)
|
|
|
efa197 |
Requires: perl(IO::String)
|
|
|
efa197 |
Requires: perl(LWP::UserAgent)
|
|
|
efa197 |
Requires: perl(POSIX)
|
|
|
efa197 |
Requires: perl(base)
|
|
|
efa197 |
Requires: perl(constant)
|
|
|
efa197 |
Requires: perl(strict)
|
|
|
efa197 |
Requires: perl(utf8)
|
|
|
efa197 |
Requires: perl(warnings)
|
|
|
efa197 |
# thrift improperly packages some components in files with names different
|
|
|
efa197 |
# than the package they contain
|
|
|
efa197 |
Provides: perl(Thrift::Exception)
|
|
|
efa197 |
Provides: perl(Thrift::MessageType)
|
|
|
efa197 |
Provides: perl(Thrift::Type)
|
|
|
efa197 |
BuildArch: noarch
|
|
|
efa197 |
|
|
|
efa197 |
%description -n perl-%{name}
|
|
|
efa197 |
The perl-%{name} package contains Perl bindings for %{name}.
|
|
|
efa197 |
|
|
|
efa197 |
%if %{?want_d}
|
|
|
efa197 |
%package -n d-%{name}
|
|
|
efa197 |
Summary: D support for %{name}
|
|
|
efa197 |
BuildRequires: ldc
|
|
|
efa197 |
|
|
|
efa197 |
%description -n d-%{name}
|
|
|
efa197 |
The d-%{name} package contains D bindings for %{name}.
|
|
|
efa197 |
%endif
|
|
|
efa197 |
|
|
|
efa197 |
%if 0%{?want_php} != 0
|
|
|
efa197 |
%package -n php-%{name}
|
|
|
efa197 |
Summary: PHP support for %{name}
|
|
|
efa197 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
efa197 |
Requires: php(zend-abi) = %{php_zend_api}
|
|
|
efa197 |
Requires: php(api) = %{php_core_api}
|
|
|
efa197 |
Requires: php(language) >= 5.3.0
|
|
|
efa197 |
Requires: php-date
|
|
|
efa197 |
Requires: php-json
|
|
|
efa197 |
BuildRequires: php-devel
|
|
|
efa197 |
|
|
|
efa197 |
%description -n php-%{name}
|
|
|
efa197 |
The php-%{name} package contains PHP bindings for %{name}.
|
|
|
efa197 |
%endif
|
|
|
efa197 |
|
|
|
efa197 |
%if 0%{?want_java} > 0
|
|
|
efa197 |
%package -n lib%{name}-javadoc
|
|
|
efa197 |
Summary: API documentation for java-%{name}
|
|
|
efa197 |
Requires: lib%{name}-java = %{version}-%{release}
|
|
|
efa197 |
BuildArch: noarch
|
|
|
efa197 |
|
|
|
efa197 |
%description -n lib%{name}-javadoc
|
|
|
efa197 |
The lib%{name}-javadoc package contains API documentation for the
|
|
|
efa197 |
Java bindings for %{name}.
|
|
|
efa197 |
|
|
|
efa197 |
%package -n lib%{name}-java
|
|
|
efa197 |
Summary: Java support for %{name}
|
|
|
efa197 |
|
|
|
efa197 |
BuildRequires: apache-commons-codec
|
|
|
efa197 |
BuildRequires: apache-commons-lang
|
|
|
efa197 |
BuildRequires: apache-commons-logging
|
|
|
efa197 |
BuildRequires: httpcomponents-client
|
|
|
efa197 |
BuildRequires: httpcomponents-core
|
|
|
efa197 |
BuildRequires: java-devel
|
|
|
efa197 |
BuildRequires: javapackages-tools
|
|
|
efa197 |
BuildRequires: javapackages-local
|
|
|
efa197 |
BuildRequires: junit
|
|
|
efa197 |
BuildRequires: log4j
|
|
|
efa197 |
BuildRequires: slf4j
|
|
|
efa197 |
# javax.servlet-api 3.1.0 is provided by glassfish-servlet-api
|
|
|
efa197 |
BuildRequires: mvn(javax.servlet:javax.servlet-api) = 3.1.0
|
|
|
efa197 |
|
|
|
efa197 |
Requires: java-headless >= 1:1.6.0
|
|
|
efa197 |
Requires: javapackages-tools
|
|
|
efa197 |
Requires: mvn(org.slf4j:slf4j-api)
|
|
|
efa197 |
Requires: mvn(commons-lang:commons-lang)
|
|
|
efa197 |
Requires: mvn(org.apache.httpcomponents:httpclient)
|
|
|
efa197 |
Requires: mvn(org.apache.httpcomponents:httpcore)
|
|
|
efa197 |
BuildArch: noarch
|
|
|
efa197 |
|
|
|
efa197 |
%description -n lib%{name}-java
|
|
|
efa197 |
The lib%{name}-java package contains Java bindings for %{name}.
|
|
|
efa197 |
%endif
|
|
|
efa197 |
|
|
|
efa197 |
%if 0%{?want_ruby} > 0
|
|
|
efa197 |
%package -n ruby-%{name}
|
|
|
efa197 |
Summary: Ruby support for %{name}
|
|
|
efa197 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
efa197 |
Requires: ruby(release)
|
|
|
efa197 |
BuildRequires: ruby-devel
|
|
|
efa197 |
|
|
|
efa197 |
%description -n ruby-%{name}
|
|
|
efa197 |
The ruby-%{name} package contains Ruby bindings for %{name}.
|
|
|
efa197 |
%endif
|
|
|
efa197 |
|
|
|
efa197 |
%if 0%{?want_erlang} > 0
|
|
|
efa197 |
%package -n erlang-%{name}
|
|
|
efa197 |
Summary: Erlang support for %{name}
|
|
|
efa197 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
efa197 |
Requires: erlang
|
|
|
efa197 |
Requires: erlang-jsx
|
|
|
efa197 |
BuildRequires: erlang
|
|
|
efa197 |
BuildRequires: erlang-rebar
|
|
|
efa197 |
|
|
|
efa197 |
%description -n erlang-%{name}
|
|
|
efa197 |
The erlang-%{name} package contains Erlang bindings for %{name}.
|
|
|
efa197 |
%endif
|
|
|
efa197 |
|
|
|
efa197 |
|
|
|
efa197 |
%prep
|
|
|
efa197 |
%autosetup -p1
|
|
|
efa197 |
|
|
|
efa197 |
%{?!el5:sed -i -e 's/^AC_PROG_LIBTOOL/LT_INIT/g' configure.ac}
|
|
|
efa197 |
|
|
|
efa197 |
# avoid spurious executable permissions in debuginfo package
|
|
|
efa197 |
find . -name \*.cpp -or -name \*.cc -or -name \*.h | xargs -r chmod 644
|
|
|
efa197 |
|
|
|
efa197 |
cp -p %{SOURCE2} bootstrap.sh
|
|
|
efa197 |
|
|
|
efa197 |
# work around linking issues
|
|
|
efa197 |
echo 'libthrift_c_glib_la_LIBADD = $(GLIB_LIBS) $(GOBJECT_LIBS) -L../cpp/.libs ' >> lib/c_glib/Makefile.am
|
|
|
efa197 |
echo 'libthriftqt5_la_LIBADD = $(QT_LIBS) -lthrift -L.libs' >> lib/cpp/Makefile.am
|
|
|
efa197 |
echo 'libthriftz_la_LIBADD = $(ZLIB_LIBS) -lthrift -L.libs' >> lib/cpp/Makefile.am
|
|
|
efa197 |
echo 'EXTRA_libthriftqt5_la_DEPENDENCIES = libthrift.la' >> lib/cpp/Makefile.am
|
|
|
efa197 |
echo 'EXTRA_libthriftz_la_DEPENDENCIES = libthrift.la' >> lib/cpp/Makefile.am
|
|
|
efa197 |
|
|
|
efa197 |
# fix broken upstream check for ant version; we enforce this with BuildRequires, so no need to check here
|
|
|
efa197 |
sed -i 's|ANT_VALID=.*|ANT_VALID=1|' aclocal/ax_javac_and_java.m4
|
|
|
efa197 |
|
|
|
efa197 |
# explicitly set python3
|
|
|
efa197 |
shopt -s globstar
|
|
|
efa197 |
sed -i -E 's@^(#!.*/env) *python *$@\1 python3@' **/*.py
|
|
|
efa197 |
|
|
|
efa197 |
%build
|
|
|
efa197 |
export PY_PREFIX=%{_prefix}
|
|
|
efa197 |
export PERL_PREFIX=%{_prefix}
|
|
|
efa197 |
export PHP_PREFIX=%{php_extdir}
|
|
|
efa197 |
export JAVA_PREFIX=%{_javadir}
|
|
|
efa197 |
export RUBY_PREFIX=%{_prefix}
|
|
|
efa197 |
export GLIB_LIBS=$(pkg-config --libs glib-2.0)
|
|
|
efa197 |
export GLIB_CFLAGS=$(pkg-config --cflags glib-2.0)
|
|
|
efa197 |
export GOBJECT_LIBS=$(pkg-config --libs gobject-2.0)
|
|
|
efa197 |
export GOBJECT_CFLAGS=$(pkg-config --cflags gobject-2.0)
|
|
|
efa197 |
|
|
|
efa197 |
find %{_builddir} -name rebar -exec rm -f '{}' \;
|
|
|
efa197 |
find . -name Makefile\* -exec sed -i -e 's/[.][/]rebar/rebar/g' {} \;
|
|
|
efa197 |
|
|
|
efa197 |
# install javadocs in proper places
|
|
|
efa197 |
sed -i 's|-Dinstall.javadoc.path=$(DESTDIR)$(docdir)/java|-Dinstall.javadoc.path=$(DESTDIR)%{_javadocdir}/%{name}|' lib/java/Makefile.*
|
|
|
efa197 |
|
|
|
efa197 |
# build a jar without a version number
|
|
|
efa197 |
#sed -i 's|${thrift.artifactid}-${version}|${thrift.artifactid}|' lib/java/build.xml
|
|
|
efa197 |
|
|
|
efa197 |
# Proper permissions for Erlang files
|
|
|
efa197 |
sed -i 's|$(INSTALL) $$p|$(INSTALL) --mode 644 $$p|g' lib/erl/Makefile.am
|
|
|
efa197 |
|
|
|
efa197 |
sh ./bootstrap.sh
|
|
|
efa197 |
|
|
|
efa197 |
# use unversioned doc dirs where appropriate (via _pkgdocdir macro)
|
|
|
efa197 |
export PYTHON=%{_bindir}/python3
|
|
|
efa197 |
%configure --disable-dependency-tracking --disable-static --with-boost=/usr \
|
|
|
efa197 |
--docdir=%{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}} \
|
|
|
efa197 |
%{java_configure} %{ruby_configure} %{erlang_configure} %{golang_configure} %{php_configure} %{lua_configure}
|
|
|
efa197 |
|
|
|
efa197 |
# eliminate unused direct shlib dependencies
|
|
|
efa197 |
sed -i -e 's/ -shared / -Wl,--as-needed\0/g' libtool
|
|
|
efa197 |
|
|
|
efa197 |
%make_build
|
|
|
efa197 |
|
|
|
efa197 |
|
|
|
efa197 |
%install
|
|
|
efa197 |
%make_install
|
|
|
efa197 |
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|
|
efa197 |
find %{buildroot} -name fastbinary.so | xargs -r chmod 755
|
|
|
efa197 |
find %{buildroot} -name \*.erl -or -name \*.hrl -or -name \*.app | xargs -r chmod 644
|
|
|
efa197 |
|
|
|
efa197 |
# Remove javadocs jar
|
|
|
efa197 |
%if 0%{?want_java} > 0
|
|
|
efa197 |
find %{buildroot}/%{_javadir} -name lib%{name}-javadoc.jar -exec rm -f '{}' \;
|
|
|
efa197 |
# Add POM file and depmap
|
|
|
efa197 |
mkdir -p %{buildroot}%{_mavenpomdir}
|
|
|
efa197 |
install -pm 644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/JPP-libthrift.pom
|
|
|
efa197 |
%add_maven_depmap JPP-libthrift.pom libthrift.jar
|
|
|
efa197 |
%endif
|
|
|
efa197 |
|
|
|
efa197 |
# Remove bundled jar files
|
|
|
efa197 |
find %{buildroot} -name \*.jar -a \! -name \*thrift\* -exec rm -f '{}' \;
|
|
|
efa197 |
|
|
|
efa197 |
# Move perl files into appropriate places
|
|
|
efa197 |
find %{buildroot} -name \*.pod -exec rm -f '{}' \;
|
|
|
efa197 |
find %{buildroot} -name .packlist -exec rm -f '{}' \;
|
|
|
efa197 |
find %{buildroot}/usr/lib/perl5 -type d -empty -delete
|
|
|
efa197 |
mkdir -p %{buildroot}/%{perl_vendorlib}/
|
|
|
efa197 |
mv %{buildroot}/usr/lib/perl5/* %{buildroot}/%{perl_vendorlib}
|
|
|
efa197 |
|
|
|
efa197 |
%if 0%{?want_php} != 0
|
|
|
efa197 |
|
|
|
efa197 |
# Move arch-independent php files into the appropriate place
|
|
|
efa197 |
mkdir -p %{buildroot}/%{_datadir}/php/
|
|
|
efa197 |
mv %{buildroot}/%{php_extdir}/Thrift %{buildroot}/%{_datadir}/php/
|
|
|
efa197 |
%endif # want_php
|
|
|
efa197 |
|
|
|
efa197 |
# Fix permissions on Thread.h
|
|
|
efa197 |
find %{buildroot} -name Thread.h -exec chmod a-x '{}' \;
|
|
|
efa197 |
|
|
|
efa197 |
# Ensure all python scripts are executable
|
|
|
efa197 |
find %{buildroot} -name \*.py -exec grep -q /usr/bin/env {} \; -print | xargs -r chmod 755
|
|
|
efa197 |
|
|
|
efa197 |
%ldconfig_scriptlets
|
|
|
efa197 |
|
|
|
efa197 |
%files
|
|
|
efa197 |
%doc LICENSE NOTICE
|
|
|
efa197 |
%{_bindir}/thrift
|
|
|
efa197 |
%{_libdir}/libthrift-%{version}.so
|
|
|
efa197 |
%{_libdir}/libthriftz-%{version}.so
|
|
|
efa197 |
%{_libdir}/libthriftnb-%{version}.so
|
|
|
efa197 |
|
|
|
efa197 |
%files glib
|
|
|
efa197 |
%{_libdir}/libthrift_c_glib.so
|
|
|
efa197 |
%{_libdir}/libthrift_c_glib.so.*
|
|
|
efa197 |
|
|
|
efa197 |
%files qt
|
|
|
efa197 |
%{_libdir}/libthriftqt5.so
|
|
|
efa197 |
%{_libdir}/libthriftqt5-%{version}.so
|
|
|
efa197 |
|
|
|
efa197 |
%files devel
|
|
|
efa197 |
%{_includedir}/thrift
|
|
|
efa197 |
%{_libdir}/*.so
|
|
|
efa197 |
%{_libdir}/*.so.0
|
|
|
efa197 |
%{_libdir}/*.so.0.0.0
|
|
|
efa197 |
%exclude %{_libdir}/lib*-%{version}.so
|
|
|
efa197 |
%{_libdir}/pkgconfig/thrift-z.pc
|
|
|
efa197 |
%{_libdir}/pkgconfig/thrift-qt5.pc
|
|
|
efa197 |
%{_libdir}/pkgconfig/thrift-nb.pc
|
|
|
efa197 |
%{_libdir}/pkgconfig/thrift.pc
|
|
|
efa197 |
%{_libdir}/pkgconfig/thrift_c_glib.pc
|
|
|
efa197 |
%doc LICENSE NOTICE
|
|
|
efa197 |
|
|
|
efa197 |
%files -n perl-%{name}
|
|
|
efa197 |
%{perl_vendorlib}/Thrift
|
|
|
efa197 |
%{perl_vendorlib}/Thrift.pm
|
|
|
efa197 |
%doc LICENSE NOTICE
|
|
|
efa197 |
|
|
|
efa197 |
%if 0%{?want_php} != 0
|
|
|
efa197 |
%files -n php-%{name}
|
|
|
efa197 |
%config(noreplace) /etc/php.d/thrift_protocol.ini
|
|
|
efa197 |
%{_datadir}/php/Thrift/
|
|
|
efa197 |
%{php_extdir}/thrift_protocol.so
|
|
|
efa197 |
%doc LICENSE NOTICE
|
|
|
efa197 |
%endif
|
|
|
efa197 |
|
|
|
efa197 |
%if %{?want_erlang} > 0
|
|
|
efa197 |
%files -n erlang-%{name}
|
|
|
efa197 |
%{_libdir}/erlang/lib/%{name}-%{version}/
|
|
|
efa197 |
%doc LICENSE NOTICE
|
|
|
efa197 |
%endif
|
|
|
efa197 |
|
|
|
efa197 |
%files -n python3-%{name}
|
|
|
efa197 |
%{python3_sitearch}/%{name}
|
|
|
efa197 |
%{python3_sitearch}/%{name}-%{version}-py%{python3_version}.egg-info
|
|
|
efa197 |
%doc LICENSE NOTICE
|
|
|
efa197 |
|
|
|
efa197 |
%if 0%{?want_java} > 0
|
|
|
efa197 |
%files -n lib%{name}-javadoc
|
|
|
efa197 |
%{_javadocdir}/%{name}
|
|
|
efa197 |
%doc LICENSE NOTICE
|
|
|
efa197 |
|
|
|
efa197 |
%files -n lib%{name}-java -f .mfiles
|
|
|
efa197 |
%doc LICENSE NOTICE
|
|
|
efa197 |
%endif
|
|
|
efa197 |
|
|
|
efa197 |
|
|
|
efa197 |
%changelog
|
|
|
efa197 |
* Thu Jan 14 2022 Kaleb S. KEITHLEY <kkeithle [at] redhat.com> - 0.14.0-7
|
|
|
efa197 |
- rebuild from lookaside
|
|
|
efa197 |
|
|
|
efa197 |
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 0.14.0-6
|
|
|
efa197 |
- Rebuilt with OpenSSL 3.0.0
|
|
|
efa197 |
|
|
|
efa197 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0-5
|
|
|
efa197 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
efa197 |
|
|
|
efa197 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.14.0-4
|
|
|
efa197 |
- Rebuilt for Python 3.10
|
|
|
efa197 |
|
|
|
efa197 |
* Sun May 23 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.14.0-3
|
|
|
efa197 |
- Perl 5.34 rebuild
|
|
|
efa197 |
|
|
|
efa197 |
* Thu Feb 18 2021 Orion Poplawski <orion@nwra.com> - 0.14.0-2
|
|
|
efa197 |
- Add patch to fix compilation on non-x86
|
|
|
efa197 |
|
|
|
efa197 |
* Mon Feb 15 2021 Orion Poplawski <orion@nwra.com> - 0.14.0-1
|
|
|
efa197 |
- Update to 0.14.0 (bz#1928172) CVE-2020-13949
|
|
|
efa197 |
|
|
|
efa197 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0-10
|
|
|
efa197 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
efa197 |
|
|
|
efa197 |
* Mon Oct 05 2020 Orion Poplawski <orion@nwra.com> - 0.13.0-9
|
|
|
efa197 |
- Add BR python3-setuptools
|
|
|
efa197 |
|
|
|
efa197 |
* Wed Sep 23 2020 Christopher Tubbs <ctubbsii@fedoraproject.org> - 0.13.0-8
|
|
|
efa197 |
- rebuilt for side tag f34-build-side-30069
|
|
|
efa197 |
|
|
|
efa197 |
* Thu Sep 17 2020 Orion Poplawski <orion@nwra.com> - 0.13.0-7
|
|
|
efa197 |
- Drop unneeded BR on flex-devel (bz#1871095)
|
|
|
efa197 |
|
|
|
efa197 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0-6
|
|
|
efa197 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
efa197 |
|
|
|
efa197 |
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.13.0-5
|
|
|
efa197 |
- Perl 5.32 rebuild
|
|
|
efa197 |
|
|
|
efa197 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.13.0-4
|
|
|
efa197 |
- Rebuilt for Python 3.9
|
|
|
efa197 |
|
|
|
efa197 |
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0-3
|
|
|
efa197 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
efa197 |
|
|
|
efa197 |
* Wed Dec 4 2019 Orion Poplawski <orion@nwra.com> - 0.13.0-2
|
|
|
efa197 |
- Fix perl dependencies
|
|
|
efa197 |
- Explicitly disable lua
|
|
|
efa197 |
|
|
|
efa197 |
* Sun Dec 1 2019 Orion Poplawski <orion@nwra.com> - 0.13.0-1
|
|
|
efa197 |
- Update to 0.13.0 (bz#1778343)
|
|
|
efa197 |
- Drops fb303 package
|
|
|
efa197 |
- Switch to Qt5
|
|
|
efa197 |
|
|
|
efa197 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.10.0-20
|
|
|
efa197 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
efa197 |
|
|
|
efa197 |
* Tue Aug 20 2019 Christopher Tubbs <ctubbsii@fedoraproject.org> - 0.10.0-19
|
|
|
efa197 |
- Fix FTBFS (by removing Java support) and fix Python3 issues (rhbz#1738810 and rhbz#1533306)
|
|
|
efa197 |
|
|
|
efa197 |
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-18
|
|
|
efa197 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
efa197 |
|
|
|
efa197 |
* Sat Jun 01 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.10.0-17
|
|
|
efa197 |
- Perl 5.30 rebuild
|
|
|
efa197 |
|
|
|
efa197 |
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-16
|
|
|
efa197 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
efa197 |
|
|
|
efa197 |
* Wed Jul 18 2018 Christopher Tubbs <ctubbsii@fedoraproject.org> - 0.10.0-15
|
|
|
efa197 |
- Rebuild to address transient error
|
|
|
efa197 |
|
|
|
efa197 |
* Wed Jul 18 2018 Christopher Tubbs <ctubbsii@fedoraproject.org> - 0.10.0-14
|
|
|
efa197 |
- Migrate to python3; rhbz#1533306
|
|
|
efa197 |
|
|
|
efa197 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-13
|
|
|
efa197 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
efa197 |
|
|
|
efa197 |
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.10.0-12
|
|
|
efa197 |
- Perl 5.28 rebuild
|
|
|
efa197 |
|
|
|
efa197 |
* Wed May 30 2018 Christopher Tubbs <ctubbsii@fedoraproject.org> - 0.10.0-11
|
|
|
efa197 |
- Fix FTBFS; update servlet-api dependency (rhbz#1581175)
|
|
|
efa197 |
|
|
|
efa197 |
* Thu Mar 08 2018 Christopher Tubbs <ctubbsii@fedoraproject.org> - 0.10.0-10
|
|
|
efa197 |
- Add gcc-c++ BuildRequires
|
|
|
efa197 |
|
|
|
efa197 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-9
|
|
|
efa197 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
efa197 |
|
|
|
efa197 |
* Fri Dec 22 2017 Christopher Tubbs <ctubbsii@fedoraproject.org> - 0.10.0-8
|
|
|
efa197 |
- Fix for rhbz#1507518
|
|
|
efa197 |
|
|
|
efa197 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-7
|
|
|
efa197 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
efa197 |
|
|
|
efa197 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-6
|
|
|
efa197 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
efa197 |
|
|
|
efa197 |
* Thu Jul 06 2017 Christopher Tubbs <ctubbsii@fedoraproject.org> - 0.10.0-5
|
|
|
efa197 |
- Fix FTBFS in rawhide: add BR javapackages-local
|
|
|
efa197 |
|
|
|
efa197 |
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.10.0-4
|
|
|
efa197 |
- Perl 5.26 rebuild
|
|
|
efa197 |
|
|
|
efa197 |
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-3
|
|
|
efa197 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
|
|
|
efa197 |
|
|
|
efa197 |
* Mon Mar 13 2017 Christopher Tubbs <ctubbsii@fedoraproject.org> - 0.10.0-2
|
|
|
efa197 |
- Build TNonblockingServer, remove useless man page, and use java-headless
|
|
|
efa197 |
|
|
|
efa197 |
* Tue Mar 07 2017 Christopher Tubbs <ctubbsii@fedoraproject.org> - 0.10.0-1
|
|
|
efa197 |
- Update to thrift 0.10.0
|
|
|
efa197 |
|
|
|
efa197 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-17.6
|
|
|
efa197 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
efa197 |
|
|
|
efa197 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-17.5
|
|
|
efa197 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
efa197 |
|
|
|
efa197 |
* Tue May 17 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.9.1-17.4
|
|
|
efa197 |
- Perl 5.24 rebuild
|
|
|
efa197 |
|
|
|
efa197 |
* Wed Mar 30 2016 Petr Pisar <ppisar@redhat.com> - 0.9.1-17.3
|
|
|
efa197 |
- Adapt to GCC 6 (bug #1306671)
|
|
|
efa197 |
|
|
|
efa197 |
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-17.2
|
|
|
efa197 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
efa197 |
|
|
|
efa197 |
* Sat Jan 16 2016 Jonathan Wakely <jwakely@redhat.com> - 0.9.1-17.1
|
|
|
efa197 |
- Rebuilt for Boost 1.60
|
|
|
efa197 |
|
|
|
efa197 |
* Mon Nov 23 2015 Peter Robinson <pbrobinson@fedoraproject.org> 0.9.1-17
|
|
|
efa197 |
- Fix release
|
|
|
efa197 |
|
|
|
efa197 |
* Wed Oct 21 2015 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 0.9.1-16.6
|
|
|
efa197 |
- Backport THRIFT-2214 fix to get package built on aarch64.
|
|
|
efa197 |
|
|
|
efa197 |
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 0.9.1-16.5
|
|
|
efa197 |
- Rebuilt for Boost 1.59
|
|
|
efa197 |
|
|
|
efa197 |
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-16.4
|
|
|
efa197 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
|
|
|
efa197 |
|
|
|
efa197 |
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 0.9.1-16.3
|
|
|
efa197 |
- rebuild for Boost 1.58
|
|
|
efa197 |
|
|
|
efa197 |
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-16.2
|
|
|
efa197 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
efa197 |
|
|
|
efa197 |
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.9.1-16.1
|
|
|
efa197 |
- Perl 5.22 rebuild
|
|
|
efa197 |
|
|
|
efa197 |
* Fri Apr 24 2015 Michal Srb <msrb@redhat.com> - 0.9.1-16
|
|
|
efa197 |
- Fix FTBFS (Resolves: rhbz#1195364)
|
|
|
efa197 |
|
|
|
efa197 |
* Mon Apr 20 2015 Will Benton <willb@redhat.com> - 0.9.1-15
|
|
|
efa197 |
- Dropped Erlang support for F22 and above, since erlang-jsx is orphaned
|
|
|
efa197 |
|
|
|
efa197 |
* Wed Apr 8 2015 Haïkel Guémar <hguemar@fedoraproject.org> - 0.9.1-14
|
|
|
efa197 |
- Split Qt4/GLib runtimes into separate subpackages
|
|
|
efa197 |
- Drop mono support, it's broken and not even shipped (and it pulls mono-core)
|
|
|
efa197 |
|
|
|
efa197 |
* Mon Jan 26 2015 Petr Machata <pmachata@redhat.com> - 0.9.1-13.3
|
|
|
efa197 |
- Rebuild for boost 1.57.0
|
|
|
efa197 |
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.9.1-13.2
|
|
|
efa197 |
- Perl 5.20 rebuild
|
|
|
efa197 |
|
|
|
efa197 |
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-13.1
|
|
|
efa197 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
efa197 |
|
|
|
efa197 |
* Fri Jun 27 2014 Petr Pisar <ppisar@redhat.com> - 0.9.1-13
|
|
|
efa197 |
- Use add_maven_depmap-generated file lists (bug #1107448)
|
|
|
efa197 |
|
|
|
efa197 |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-12.2
|
|
|
efa197 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
efa197 |
|
|
|
efa197 |
* Fri May 23 2014 Petr Machata <pmachata@redhat.com> - 0.9.1-12.1
|
|
|
efa197 |
- Rebuild for boost 1.55.0
|
|
|
efa197 |
|
|
|
efa197 |
* Mon May 05 2014 Lubomir Rintel <lkundrak@v3.sk> - 0.9.1-12
|
|
|
efa197 |
- Fix EPEL build
|
|
|
efa197 |
|
|
|
efa197 |
* Fri Feb 21 2014 willb <willb@redhat> - 0.9.1-11
|
|
|
efa197 |
- fix BZ 1068561
|
|
|
efa197 |
|
|
|
efa197 |
* Fri Dec 20 2013 willb <willb@redhat> - 0.9.1-10
|
|
|
efa197 |
- fix BZ 1045544
|
|
|
efa197 |
|
|
|
efa197 |
* Wed Oct 16 2013 willb <willb@redhat> - 0.9.1-9
|
|
|
efa197 |
- Remove spurious dependencies
|
|
|
efa197 |
- Move some versioned shared libraries from -devel
|
|
|
efa197 |
|
|
|
efa197 |
* Wed Oct 16 2013 Dan Horák <dan[at]danny.cz> - 0.9.1-8
|
|
|
efa197 |
- Mono available only on selected arches
|
|
|
efa197 |
|
|
|
efa197 |
* Sun Oct 13 2013 willb <willb@redhat> - 0.9.1-7
|
|
|
efa197 |
- minor specfile cleanups
|
|
|
efa197 |
|
|
|
efa197 |
* Fri Oct 11 2013 willb <willb@redhat> - 0.9.1-6
|
|
|
efa197 |
- added thrift man page
|
|
|
efa197 |
- integrated fb303
|
|
|
efa197 |
- fixed many fb303 library dependency problems
|
|
|
efa197 |
|
|
|
efa197 |
* Tue Oct 1 2013 willb <willb@redhat> - 0.9.1-5
|
|
|
efa197 |
- fixed extension library linking when an older thrift package is not
|
|
|
efa197 |
already installed
|
|
|
efa197 |
- fixed extension library dependencies in Makefile
|
|
|
efa197 |
|
|
|
efa197 |
* Tue Oct 1 2013 willb <willb@redhat> - 0.9.1-4
|
|
|
efa197 |
- addresses rpmlint warnings and errors
|
|
|
efa197 |
- properly links glib, qt, and z extension libraries
|
|
|
efa197 |
|
|
|
efa197 |
* Mon Sep 30 2013 willb <willb@redhat> - 0.9.1-3
|
|
|
efa197 |
- adds QT support
|
|
|
efa197 |
- clarified multiple licensing
|
|
|
efa197 |
- uses parallel make
|
|
|
efa197 |
- removes obsolete M4 macros
|
|
|
efa197 |
- specifies canonical location for source archive
|
|
|
efa197 |
|
|
|
efa197 |
* Tue Sep 24 2013 willb <willb@redhat> - 0.9.1-2
|
|
|
efa197 |
- fixes for i686
|
|
|
efa197 |
- fixes bogus requires for Java package
|
|
|
efa197 |
|
|
|
efa197 |
* Fri Sep 20 2013 willb <willb@redhat> - 0.9.1-1
|
|
|
efa197 |
- updated to upstream version 0.9.1
|
|
|
efa197 |
- disables PHP support, which FTBFS in this version
|
|
|
efa197 |
|
|
|
efa197 |
* Fri Sep 20 2013 willb <willb@redhat> - 0.9.0-5
|
|
|
efa197 |
- patch build xml to generate unversioned jars instead of moving after the fact
|
|
|
efa197 |
- unversioned doc dirs on Fedora versions where this is appropriate
|
|
|
efa197 |
- replaced some stray hardcoded paths with macros
|
|
|
efa197 |
- thanks to Gil for the above observations and suggestions for fixes
|
|
|
efa197 |
|
|
|
efa197 |
* Thu Aug 22 2013 willb <willb@redhat> - 0.9.0-4
|
|
|
efa197 |
- removed version number from jar name (obs pmackinn)
|
|
|
efa197 |
|
|
|
efa197 |
* Thu Aug 22 2013 willb <willb@redhat> - 0.9.0-3
|
|
|
efa197 |
- Fixes for F19 and Erlang support
|
|
|
efa197 |
|
|
|
efa197 |
* Thu Aug 15 2013 willb <willb@redhat> - 0.9.0-2
|
|
|
efa197 |
- Incorporates feedback from comments on review request
|
|
|
efa197 |
|
|
|
efa197 |
* Mon Jul 1 2013 willb <willb@redhat> - 0.9.0-1
|
|
|
efa197 |
- Initial package
|