update for libpst-0.6.74-1.fc32
This commit is contained in:
commit
2adfa40699
105
libpst.spec
105
libpst.spec
@ -1,24 +1,18 @@
|
|||||||
Summary: Utilities to convert Outlook .pst files to other formats
|
Summary: Utilities to convert Outlook .pst files to other formats
|
||||||
Name: libpst
|
Name: libpst
|
||||||
Version: 0.6.72
|
Version: 0.6.74
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Source: http://www.five-ten-sg.com/%{name}/packages/%{name}-%{version}.tar.gz
|
|
||||||
URL: http://www.five-ten-sg.com/%{name}/
|
URL: http://www.five-ten-sg.com/%{name}/
|
||||||
Requires: ImageMagick libgsf
|
Source: %{url}/packages/%{name}-%{version}.tar.gz
|
||||||
Requires: %{name}-libs = %{version}-%{release}
|
|
||||||
BuildRequires: libtool gcc-c++
|
BuildRequires: libtool gcc-c++
|
||||||
BuildRequires: ImageMagick gd-devel zlib-devel boost-devel libgsf-devel
|
BuildRequires: ImageMagick gd-devel zlib-devel boost-devel libgsf-devel
|
||||||
%if 0%{?fedora} > 27
|
|
||||||
BuildRequires: python3 python3-devel boost-python3 boost-python3-devel
|
BuildRequires: python3 python3-devel boost-python3 boost-python3-devel
|
||||||
Requires: boost-python3
|
Requires: boost-python3
|
||||||
%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)")}
|
|
||||||
|
|
||||||
|
Requires: ImageMagick%{?_isa}
|
||||||
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Libpst utilities include readpst which can convert email messages
|
The Libpst utilities include readpst which can convert email messages
|
||||||
@ -36,40 +30,22 @@ The libpst-libs package contains the shared library used by the pst
|
|||||||
utilities.
|
utilities.
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?fedora} > 27
|
|
||||||
%package -n python3-%{name}
|
%package -n python3-%{name}
|
||||||
Requires: python3
|
|
||||||
Provides: %{name}-python = %{version}-%{release}
|
|
||||||
%else
|
|
||||||
%package python
|
|
||||||
Requires: python
|
|
||||||
%endif
|
|
||||||
Summary: Python bindings for libpst
|
Summary: Python bindings for libpst
|
||||||
Requires: %{name}-libs = %{version}-%{release}
|
Provides: %{name}-python = %{version}-%{release}
|
||||||
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%if 0%{?fedora} >= 20
|
|
||||||
%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}^%{python_sitearch}/_.*\.so$
|
%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}^%{python_sitearch}/_.*\.so$
|
||||||
%else
|
|
||||||
%{?filter_setup:
|
|
||||||
%filter_provides_in %{python_sitearch}/_.*\.so$
|
|
||||||
%filter_setup
|
|
||||||
}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?fedora} > 27
|
|
||||||
%description -n python3-%{name}
|
%description -n python3-%{name}
|
||||||
%else
|
|
||||||
%description python
|
|
||||||
%endif
|
|
||||||
The libpst-python package allows you to use the libpst shared object
|
The libpst-python package allows you to use the libpst shared object
|
||||||
from python code.
|
from python code.
|
||||||
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Library links and header files for libpst application development
|
Summary: Library links and header files for libpst application development
|
||||||
Requires: pkgconfig
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
Requires: %{name}-libs = %{version}-%{release}
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The libpst-devel package contains the library links and header files
|
The libpst-devel package contains the library links and header files
|
||||||
@ -102,72 +78,48 @@ libpst utilities.
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -v -f -i
|
autoreconf -fiv
|
||||||
%configure --enable-libpst-shared
|
%configure --enable-libpst-shared \
|
||||||
%if 0%{?fedora} > 27
|
--with-boost-python=boost_python%{python3_version_nodots}
|
||||||
%make_build
|
%make_build
|
||||||
%else
|
|
||||||
make %{?_smp_mflags}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if 0%{?fedora} > 27
|
|
||||||
%make_install
|
%make_install
|
||||||
%else
|
#Remove libtool archives.
|
||||||
rm -rf $RPM_BUILD_ROOT
|
find %{buildroot} -name '*.la' -or -name '*.a' | xargs rm -f
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
mv %{buildroot}%{_datadir}/doc/%{name}-%{version} %{buildroot}%{_datadir}/doc/%{name}
|
||||||
%endif
|
|
||||||
rm $RPM_BUILD_ROOT%{_libdir}/libpst.la
|
|
||||||
rm $RPM_BUILD_ROOT%{_libdir}/libpst.a
|
|
||||||
mv $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version} $RPM_BUILD_ROOT%{_datadir}/doc/%{name}
|
|
||||||
|
|
||||||
|
|
||||||
%ldconfig_scriptlets libs
|
%ldconfig_scriptlets libs
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%{_mandir}/man5/*
|
%{_mandir}/man5/*
|
||||||
|
|
||||||
|
|
||||||
%files libs
|
%files libs
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_libdir}/libpst.so.*
|
%{_libdir}/libpst.so.*
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?fedora} > 27
|
|
||||||
%files -n python3-%{name}
|
%files -n python3-%{name}
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{python3_sitearch}/_*.so
|
%{python3_sitearch}/_*.so
|
||||||
%exclude %{python3_sitearch}/*.a
|
|
||||||
%exclude %{python3_sitearch}/*.la
|
|
||||||
%else
|
|
||||||
%files python
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{python_sitearch}/_*.so
|
|
||||||
%exclude %{python_sitearch}/*.a
|
|
||||||
%exclude %{python_sitearch}/*.la
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_libdir}/libpst.so
|
%{_libdir}/libpst.so
|
||||||
%{_includedir}/%{name}-4/
|
%{_includedir}/%{name}-4/
|
||||||
%{_libdir}/pkgconfig/libpst.pc
|
%{_libdir}/pkgconfig/libpst.pc
|
||||||
|
|
||||||
|
|
||||||
%files devel-doc
|
%files devel-doc
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_datadir}/doc/%{name}/devel/
|
%{_datadir}/doc/%{name}/devel/
|
||||||
|
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%dir %{_datadir}/doc/%{name}/
|
%dir %{_datadir}/doc/%{name}/
|
||||||
%{_datadir}/doc/%{name}/*.html
|
%{_datadir}/doc/%{name}/*.html
|
||||||
%{_datadir}/doc/%{name}/AUTHORS
|
%{_datadir}/doc/%{name}/AUTHORS
|
||||||
@ -178,8 +130,32 @@ mv $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version} $RPM_BUILD_ROOT%{_datadir}/
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Jun 07 2019 Carl Byington <carl@five-ten-sg.com> 0.6.72-4
|
* Sun Jan 12 2020 Carl Byington <carl@five-ten-sg.com> 0.6.74-1
|
||||||
- fixes for python3
|
- Paul Wise - many changes for debian:
|
||||||
|
- Add missing linking with zlib and libpthread/librt
|
||||||
|
- Use PKG_CHECK_MODULES to find the gsf-1 library
|
||||||
|
- Fix usage of indefinite articles
|
||||||
|
- Fix a number of spelling mistakes
|
||||||
|
- Use plain make when building from Mercurial
|
||||||
|
- Add operator and quotes to the AX_PYTHON_DEVEL parameter
|
||||||
|
- Remove files copied in by autotools
|
||||||
|
- Add AM_GNU_GETTEXT macros
|
||||||
|
- Rename configure.in to configure.ac
|
||||||
|
- add extern "C" to header for use with C++ code
|
||||||
|
|
||||||
|
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.6.72-6
|
||||||
|
- Rebuilt for Python 3.8
|
||||||
|
|
||||||
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.72-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 25 2019 Carl Byington <carl@five-ten-sg.com> 0.6.73-1
|
||||||
|
- Tim Dufrane - fix segfault in pst_close()
|
||||||
|
|
||||||
|
* Sat Jun 08 2019 Leigh Scott <leigh123linux@googlemail.com> - 0.6.72-4
|
||||||
|
- Add configure option for boost-python
|
||||||
|
- Remove all old fedora conditionals
|
||||||
|
- Update spec file to comply with packaging guidelines
|
||||||
|
|
||||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.72-3
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.72-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
@ -600,4 +576,3 @@ mv $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version} $RPM_BUILD_ROOT%{_datadir}/
|
|||||||
|
|
||||||
* Sun Feb 19 2006 Carl Byington <carl@five-ten-sg.com> - 0.5.3
|
* Sun Feb 19 2006 Carl Byington <carl@five-ten-sg.com> - 0.5.3
|
||||||
- initial spec file using autoconf and http://www.fedora.us/docs/rpm-packaging-guidelines.html
|
- initial spec file using autoconf and http://www.fedora.us/docs/rpm-packaging-guidelines.html
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user