SHA256
1
0
forked from pool/thrift

- Update to version 0.10.0:

* lots of changes, see provided CHANGES for details
  * fixes building with recent openss (boo#1042675)
- Switch from qt4 to qt5

OBS-URL: https://build.opensuse.org/package/show/devel:tools/thrift?expand=0&rev=15
This commit is contained in:
Martin Pluskal 2017-06-14 07:22:10 +00:00 committed by Git OBS Bridge
parent 798e2c480f
commit 82f128d752
6 changed files with 45 additions and 29 deletions

3
thrift-0.10.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2289d02de6e8db04cbbabb921aeb62bfe3098c4c83f36eec6c31194301efa10b
size 3340748

7
thrift-0.10.0.tar.gz.asc Normal file
View File

@ -0,0 +1,7 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iF4EABEIAAYFAlhcC3QACgkQuwY2j2a3ePmJSgD9E+zcpmqiKEMa73dJnFLeOXp6
3OOf0loYkwxt9XpiwJsA/2lAf31DhykMzCvYPlbrapDrsQ0KK5Ns1qwBDnJPRrAt
=atv5
-----END PGP SIGNATURE-----

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b0740a070ac09adde04d43e852ce4c320564a292f26521c46b78e0641564969e
size 8897936

View File

@ -1,7 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iF4EABEIAAYFAlYNWdIACgkQuwY2j2a3ePmSowD+O/RoHll7EY/2NbrWe/RXGdV2
AV4wGygur/V27khvd5UA/RjVlCaAb8qxmXDVkg5LM+IxFX3fcyj59gzfvwIFTOlO
=9nfj
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Jun 14 07:19:46 UTC 2017 - mpluskal@suse.com
- Update to version 0.10.0:
* lots of changes, see provided CHANGES for details
* fixes building with recent openss (boo#1042675)
- Switch from qt4 to qt5
-------------------------------------------------------------------
Thu Feb 2 15:08:22 UTC 2017 - adam.majer@suse.de

View File

@ -16,16 +16,16 @@
#
%define libversion 0_9_3
%define libversion 0_10_0
%define libname %{version}
%bcond_without perl
%bcond_without c
%bcond_without python
%bcond_with java
%bcond_with ruby
%bcond_without qt
%bcond_without qt5
Name: thrift
Version: 0.9.3
Version: 0.10.0
Release: 0
Summary: Framework for scalable cross-language services development
License: Apache-2.0
@ -36,26 +36,26 @@ Source1: https://www.apache.org/dist/thrift/%{version}/%{name}-%{version}
Source2: %{name}.keyring
BuildRequires: automake
BuildRequires: bison
BuildRequires: fdupes
BuildRequires: flex
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libevent)
BuildRequires: pkgconfig(openssl)
%if 0%{?suse_version} > 1325
BuildRequires: libboost_headers-devel
%else
BuildRequires: boost-devel
%endif
BuildRequires: fdupes
BuildRequires: flex
BuildRequires: gcc-c++
BuildRequires: libevent-devel
BuildRequires: openssl-devel
BuildRequires: pkg-config
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if %{with qt}
BuildRequires: qt-devel
%if %{with qt5}
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Network)
%endif
%if %{with python}
BuildRequires: python-devel
BuildRequires: pkgconfig(python2)
%endif
%if %{with c}
BuildRequires: glib2-devel
BuildRequires: pkgconfig(glib-2.0)
%endif
%if %{with java}
BuildRequires: ant
@ -96,7 +96,7 @@ Objective Caml, and Haskell.
%package -n libthrift-devel
Summary: Thrift C++ library development files
Group: Development/Libraries
Group: Development/Libraries/C and C++
Requires: libthrift-%{libversion} = %{version}
%description -n libthrift-devel
@ -141,7 +141,7 @@ Objective Caml, and Haskell.
%prep
%setup
%setup -q
%build
export CXXFLAGS="%{optflags} -fPIC"
@ -150,8 +150,10 @@ export CXXFLAGS="%{optflags} -fPIC"
%configure \
--disable-tests \
--enable-static=no
make %{?_smp_mflags}
%install
%make_install
pushd compiler/cpp
%make_install
popd
@ -171,10 +173,12 @@ pushd lib/perl
perl Makefile.PL
%perl_make_install
%perl_process_packlist
mv %{buildroot}%{_prefix}/local/lib/perl5 \
%{buildroot}%{_perl_vendorlib}
popd
%endif
rm %{buildroot}%{_libdir}/*.la
find %{buildroot} -type f -name "*.la" -delete -print
%files
%defattr(-,root,root)
@ -185,16 +189,20 @@ rm %{buildroot}%{_libdir}/*.la
%defattr(-,root,root)
%{_libdir}/libthrift-*.so
%{_libdir}/libthriftnb-*.so
%{_libdir}/libthriftqt-*.so
%{_libdir}/libthriftqt5-*.so
%{_libdir}/libthriftz-*.so
%{_libdir}/libthrift_c_glib.so.*
%{_libdir}/libthriftc.so.*
%files -n libthrift-devel
%defattr(-,root,root)
%{_includedir}/thrift
%{_libdir}/libthrift.so
%{_libdir}/libthriftnb.so
%{_libdir}/libthriftqt.so
%{_libdir}/libthriftqt5.so
%{_libdir}/libthriftz.so
%{_libdir}/libthrift_c_glib.so
%{_libdir}/libthriftc.so
%{_libdir}/pkgconfig/*.pc
%if %{with perl}