update to 0.6.71

This commit is contained in:
Carl Byington 2017-07-23 07:56:15 -07:00
parent e1b63478ec
commit 6f11e59f73

View File

@ -1,7 +1,7 @@
Summary: Utilities to convert Outlook .pst files to other formats
Name: libpst
Version: 0.6.70
Release: 3%{?dist}
Version: 0.6.71
Release: 1%{?dist}
License: GPLv2+
Group: Applications/Productivity
Source: http://www.five-ten-sg.com/%{name}/packages/%{name}-%{version}.tar.gz
@ -10,7 +10,12 @@ URL: http://www.five-ten-sg.com/%{name}/
Requires: ImageMagick libgsf
Requires: %{name}-libs = %{version}-%{release}
BuildRequires: libtool
BuildRequires: ImageMagick gd-devel zlib-devel python-devel boost-devel libgsf-devel
BuildRequires: ImageMagick gd-devel zlib-devel boost-devel libgsf-devel
%if 0%{?fedora} > 25
BuildRequires: python2-devel
%else
BuildRequires: python-devel
%endif
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
@ -33,10 +38,15 @@ The libpst-libs package contains the shared library used by the pst
utilities.
%if 0%{?fedora} > 25
%package python2
Requires: python2
%else
%package python
Requires: python
%endif
Summary: Python bindings for libpst
Group: Development/Libraries
Requires: python
Requires: %{name}-libs = %{version}-%{release}
%if 0%{?fedora} >= 20
@ -49,7 +59,11 @@ Requires: %{name}-libs = %{version}-%{release}
%endif
%if 0%{?fedora} > 25
%description python2
%else
%description python
%endif
The libpst-python package allows you to use the libpst shared object
from python code.
@ -129,11 +143,19 @@ rm -rf $RPM_BUILD_ROOT
%doc COPYING
%if 0%{?fedora} > 25
%files python2
%defattr(-,root,root,-)
%{python2_sitearch}/_*.so
%exclude %{python2_sitearch}/*.a
%exclude %{python2_sitearch}/*.la
%else
%files python
%defattr(-,root,root,-)
%{python_sitearch}/_*.so
%exclude %{python_sitearch}/*.a
%exclude %{python_sitearch}/*.la
%endif
%files devel
@ -160,6 +182,11 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Fri Jul 21 2017 Carl Byington <carl@five-ten-sg.com> 0.6.71-1
- fedora python naming scheme changes
- Zachary Travis - Add support for the OST 2013 format, and
Content-Disposition filename key fix for outlook compatibility
* Thu Jul 20 2017 Kalev Lember <klember@redhat.com> - 0.6.70-3
- Rebuilt for Boost 1.64