Blame SPECS/libpst.spec

caea3d
Summary:            Utilities to convert Outlook .pst files to other formats
caea3d
Name:               libpst
caea3d
Version:            0.6.59
caea3d
Release:            4%{?dist}
caea3d
License:            GPLv2+
caea3d
Group:              Applications/Productivity
caea3d
Source:             http://www.five-ten-sg.com/%{name}/packages/%{name}-%{version}.tar.gz
caea3d
BuildRoot:          %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
caea3d
URL:                http://www.five-ten-sg.com/%{name}/
caea3d
Requires:           ImageMagick libgsf
caea3d
Requires:           %{name}-libs = %{version}-%{release}
caea3d
BuildRequires:      libtool
caea3d
BuildRequires:      ImageMagick gd-devel zlib-devel python-devel boost-devel libgsf-devel
caea3d
caea3d
%{!?python_sitelib:  %global python_sitelib  %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
caea3d
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
caea3d
caea3d
caea3d
%description
caea3d
The Libpst utilities include readpst which can convert email messages
caea3d
to both mbox and MH mailbox formats, pst2ldif which can convert the
caea3d
contacts to .ldif format for import into ldap databases, and pst2dii
caea3d
which can convert email messages to the DII load file format used by
caea3d
Summation.
caea3d
caea3d
caea3d
%package libs
caea3d
Summary:            Shared library used by the pst utilities
caea3d
Group:              Development/Libraries
caea3d
caea3d
%description libs
caea3d
The libpst-libs package contains the shared library used by the pst
caea3d
utilities.
caea3d
caea3d
caea3d
%package python
caea3d
Summary:            Python bindings for libpst
caea3d
Group:              Development/Libraries
caea3d
Requires:           python
caea3d
Requires:           %{name}-libs = %{version}-%{release}
caea3d
caea3d
%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}^%{python_sitearch}/_.*\.so$
caea3d
caea3d
%description python
caea3d
The libpst-python package allows you to use the libpst shared object
caea3d
from python code.
caea3d
caea3d
caea3d
%package devel
caea3d
Summary:            Library links and header files for libpst application development
caea3d
Group:              Development/Libraries
caea3d
Requires:           pkgconfig
caea3d
Requires:           %{name}-libs = %{version}-%{release}
caea3d
caea3d
%description devel
caea3d
The libpst-devel package contains the library links and header files
caea3d
you'll need to develop applications using the libpst shared library.
caea3d
You do not need to install it if you just want to use the libpst
caea3d
utilities.
caea3d
caea3d
caea3d
%package devel-doc
caea3d
Summary:            Documentation for libpst.so for libpst application development
caea3d
Group:              Documentation
caea3d
Requires:           %{name}-doc = %{version}-%{release}
caea3d
caea3d
%description devel-doc
caea3d
The libpst-devel-doc package contains the doxygen generated
caea3d
documentation for the libpst.so shared library.
caea3d
caea3d
caea3d
%package doc
caea3d
Summary:            Documentation for the pst utilities in html format
caea3d
Group:              Documentation
caea3d
caea3d
%description doc
caea3d
The libpst-doc package contains the html documentation for the pst
caea3d
utilities.  You do not need to install it if you just want to use the
caea3d
libpst utilities.
caea3d
caea3d
caea3d
caea3d
%prep
caea3d
%setup -q
caea3d
caea3d
caea3d
%build
caea3d
autoreconf -v -f -i
caea3d
%configure --enable-libpst-shared
caea3d
make %{?_smp_mflags}
caea3d
caea3d
caea3d
%install
caea3d
rm -rf $RPM_BUILD_ROOT
caea3d
make DESTDIR=$RPM_BUILD_ROOT install
caea3d
rm $RPM_BUILD_ROOT%{_libdir}/libpst.la
caea3d
rm $RPM_BUILD_ROOT%{_libdir}/libpst.a
caea3d
caea3d
caea3d
%clean
caea3d
rm -rf $RPM_BUILD_ROOT
caea3d
caea3d
caea3d
%post libs -p /sbin/ldconfig
caea3d
caea3d
caea3d
%postun libs -p /sbin/ldconfig
caea3d
caea3d
caea3d
%files
caea3d
%defattr(-,root,root,-)
caea3d
%{_bindir}/*
caea3d
%{_mandir}/man1/*
caea3d
%{_mandir}/man5/*
caea3d
caea3d
caea3d
%files libs
caea3d
%defattr(-,root,root,-)
caea3d
%{_libdir}/libpst.so.*
caea3d
%doc COPYING
caea3d
caea3d
caea3d
%files python
caea3d
%defattr(-,root,root,-)
caea3d
%{python_sitearch}/_*.so
caea3d
%exclude %{python_sitearch}/*.a
caea3d
%exclude %{python_sitearch}/*.la
caea3d
caea3d
caea3d
%files devel
caea3d
%defattr(-,root,root,-)
caea3d
%{_libdir}/libpst.so
caea3d
%{_includedir}/%{name}-4/
caea3d
%{_libdir}/pkgconfig/libpst.pc
caea3d
caea3d
caea3d
%files devel-doc
caea3d
%defattr(-,root,root,-)
caea3d
%{_datadir}/doc/%{name}-%{version}/devel/
caea3d
caea3d
caea3d
%files doc
caea3d
%defattr(-,root,root,-)
caea3d
%dir %{_datadir}/doc/%{name}-%{version}/
caea3d
%{_datadir}/doc/%{name}-%{version}/*.html
caea3d
%{_datadir}/doc/%{name}-%{version}/AUTHORS
caea3d
%{_datadir}/doc/%{name}-%{version}/COPYING
caea3d
%{_datadir}/doc/%{name}-%{version}/ChangeLog
caea3d
%{_datadir}/doc/%{name}-%{version}/NEWS
caea3d
%{_datadir}/doc/%{name}-%{version}/README
caea3d
caea3d
caea3d
%changelog
caea3d
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.6.59-4
caea3d
- Mass rebuild 2014-01-24
caea3d
caea3d
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.6.59-3
caea3d
- Mass rebuild 2013-12-27
caea3d
caea3d
* Thu Oct 31 2013 Petr Pisar <ppisar@redhat.com> - 0.6.59-2
caea3d
- Correct package changelog entry (bug #1025251)
caea3d
caea3d
* Thu Jul 11 2013 Petr Pisar <ppisar@redhat.com> - 0.6.59-1%{?dist}.1
caea3d
- Use modern dependency filter to preserve file color (bug #983596)
caea3d
caea3d
* Fri May 17 2013 Carl Byington <carl@five-ten-sg.com> 0.6.59-1
caea3d
- add autoconf checking for libgsf
caea3d
caea3d
* Fri Mar 29 2013 Carl Byington <carl@five-ten-sg.com> 0.6.58-4
caea3d
- add autoreconf for aarch64
caea3d
caea3d
* Sun Feb 10 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 0.6.58-3
caea3d
- Rebuild for Boost-1.53.0
caea3d
caea3d
* Sat Feb 09 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 0.6.58-2
caea3d
- Rebuild for Boost-1.53.0
caea3d
caea3d
* Fri Dec 28 2012 Carl Byington <carl@five-ten-sg.com> - 0.6.58-1
caea3d
- fix From quoting on embedded rfc/822 messages
caea3d
caea3d
* Wed Dec 26 2012 Carl Byington <carl@five-ten-sg.com> - 0.6.57-1
caea3d
- bugzilla 852414, remove unnecessary dependencies
caea3d
caea3d
* Mon Dec 24 2012 Carl Byington <carl@five-ten-sg.com> - 0.6.56-1
caea3d
- filter private provides from rpm
caea3d
- merge -m .msg files code into main branch
caea3d
caea3d
* Thu Aug 09 2012 Carl Byington <carl@five-ten-sg.com> - 0.6.55-2
caea3d
- rebuild for python
caea3d
caea3d
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.54-6
caea3d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
caea3d
caea3d
* Tue May 08 2012 Carl Byington <carl@five-ten-sg.com> - 0.6.55-1
caea3d
- preserve bcc headers
caea3d
- document -C switch to set default character set
caea3d
- space after colon is not required in header fields
caea3d
caea3d
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.54-5
caea3d
- Rebuilt for c++ ABI breakage
caea3d
caea3d
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.54-4
caea3d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
caea3d
caea3d
* Sat Dec 24 2011 Carl Byington <carl@five-ten-sg.com> - 0.6.54-3
caea3d
- bump versions and prep for fedora build
caea3d
caea3d
* Wed Nov 30 2011 Petr Pisar <ppisar@redhat.com> - 0.6.53-3
caea3d
- Rebuild against boost-1.48
caea3d
caea3d
* Mon Nov 14 2011 Carl Byington <carl@five-ten-sg.com> - 0.6.54-2
caea3d
- failed to bump version number
caea3d
caea3d
* Fri Nov 04 2011 Carl Byington <carl@five-ten-sg.com> - 0.6.54-1
caea3d
- embedded rfc822 messages might contain rtf encoded bodies
caea3d
caea3d
* Fri Sep 02 2011 Petr Pisar <ppisar@redhat.com> - 0.6.53-2
caea3d
- Rebuild against boost-1.47
caea3d
caea3d
* Sun Jul 10 2011 Carl Byington <carl@five-ten-sg.com> - 0.6.53-1
caea3d
- add Status: header in output
caea3d
- allow fork for parallel processing of individual email folders
caea3d
  in separate mode
caea3d
- proper handling of --with-boost-python option
caea3d
caea3d
* Sun May 22 2011 Carl Byington <carl@five-ten-sg.com> - 0.6.52-1
caea3d
- fix dangling freed pointer in embedded rfc822 message processing
caea3d
- allow broken outlook internet header field - it sometimes contains
caea3d
  fragments of the message body rather than headers
caea3d
caea3d
* Sun Apr 17 2011 Carl Byington <carl@five-ten-sg.com> - 0.6.51-1
caea3d
- fix for buffer overrun; attachment size from the secondary
caea3d
  list of mapi elements overwrote proper size from the primary
caea3d
  list of mapi elements.
caea3d
  fedora bugzilla 696263
caea3d
caea3d
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.49-4
caea3d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
caea3d
caea3d
* Mon Feb 07 2011 Thomas Spura <tomspur@fedoraproject.org> - 0.6.49-3
caea3d
- rebuild for new boost
caea3d
caea3d
* Fri Dec 24 2010 Carl Byington <carl@five-ten-sg.com> - 0.6.50-1
caea3d
- rfc2047 and rfc2231 encoding for non-ascii headers and
caea3d
  attachment filenames.
caea3d
caea3d
* Wed Sep 29 2010 jkeating - 0.6.49-2
caea3d
- Rebuilt for gcc bug 634757
caea3d
caea3d
* Mon Sep 13 2010 Carl Byington <carl@five-ten-sg.com> - 0.6.49-1
caea3d
- fix to ignore embedded objects that are not email messages
caea3d
  fedora bugzilla 633498
caea3d
caea3d
* Thu Sep 02 2010 Carl Byington <carl@five-ten-sg.com> - 0.6.48-1
caea3d
- fix for broken internet headers from Outlook
caea3d
- fix ax_python.m4 to look for python2.7
caea3d
- use mboxrd from quoting for output formats with multiple messages per file
caea3d
- use no from quoting for output formats with single message per file
caea3d
caea3d
* Sat Jul 31 2010 Carl Byington <carl@five-ten-sg.com> - 0.6.47-6
caea3d
- rebuild for python dependencies
caea3d
caea3d
* Mon Jul 26 2010 David Malcolm <dmalcolm@redhat.com> - 0.6.47-4
caea3d
- hack up configure so that it looks for python 2.7
caea3d
caea3d
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.6.47-3
caea3d
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
caea3d
caea3d
* Wed Jul 07 2010 Carl Byington <carl@five-ten-sg.com> - 0.6.47-2
caea3d
- Subpackage Licensing, add COPYING to -libs.
caea3d
- patches from Kenneth Berland for solaris
caea3d
caea3d
* Fri May 07 2010 Carl Byington <carl@five-ten-sg.com> - 0.6.47-1
caea3d
- patches from Kenneth Berland for solaris
caea3d
caea3d
* Thu Jan 21 2010 Carl Byington <carl@five-ten-sg.com> - 0.6.46-1
caea3d
- prefer libpthread over librt for finding sem_init function.
caea3d
caea3d
* Thu Jan 21 2010 Carl Byington <carl@five-ten-sg.com> - 0.6.45-2
caea3d
- rebuild for new boost package
caea3d
caea3d
* Wed Nov 18 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.45-1
caea3d
- patch from Hugo DesRosiers to export categories and notes into vcards.
caea3d
- extend that patch to export categories into vcalendar appointments also.
caea3d
caea3d
* Sun Sep 20 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.44-1
caea3d
- patch from Lee Ayres to add file name extensions in separate mode.
caea3d
- allow mixed items types in a folder in separate mode.
caea3d
caea3d
* Sat Sep 12 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.43-1
caea3d
- decode more of the pst format, some minor bug fixes
caea3d
- add support for code pages 1200 and 1201.
caea3d
- add readpst -t option to select output item types, which can
caea3d
  now be used to process folders containing mixed item types.
caea3d
- fix segfault with embedded appointments
caea3d
- add readpst -u option for Thunderbird mode .size and .type files
caea3d
- better detection of embedded rfc822 message attachments
caea3d
caea3d
* Thu Sep 03 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.42-1
caea3d
- patch from Fridrich Strba to build with DJGPP DOS cross-compiler.
caea3d
caea3d
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.41-2
caea3d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
caea3d
caea3d
* Tue Jun 23 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.41-1
caea3d
- fix ax_python detection - should not use locate command
caea3d
- checking for fedora versions is not needed
caea3d
caea3d
* Tue Jun 23 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.40-1
caea3d
- fedora 11 has python2.6
caea3d
- remove pdf version of the man pages
caea3d
caea3d
* Sun Jun 21 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.39-1
caea3d
- fedora > 10 moved to boost-python-devel
caea3d
caea3d
* Sun Jun 21 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.38-1
caea3d
- add python interface to the shared library.
caea3d
- bump soname to version 4 for many changes to the interface.
caea3d
- better decoding of recurrence data in appointments.
caea3d
- remove readpstlog since debug log files are now plain text.
caea3d
- add readpst -j option for parallel jobs for each folder.
caea3d
- make nested mime multipart/alternative to hold the text/html parts.
caea3d
caea3d
* Fri Apr 17 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.37-1
caea3d
- add pst_attach_to_mem() back into the shared library interface.
caea3d
- fix memory leak caught by valgrind.
caea3d
caea3d
* Tue Apr 14 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.36-1
caea3d
- build separate -doc and -devel-doc subpackages.
caea3d
- other spec file cleanup
caea3d
caea3d
* Wed Apr 08 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.35-1
caea3d
- properly add trailing mime boundary in all modes.
caea3d
- build separate libpst, libpst-libs, libpst-devel rpms.
caea3d
caea3d
* Thu Mar 19 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.34-1
caea3d
- avoid putting mixed item types into the same output folder.
caea3d
caea3d
* Tue Mar 17 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.33-1
caea3d
- compensate for iconv conversion to utf-7 that produces strings that
caea3d
  are not null terminated.
caea3d
- don't produce empty attachment files in separate mode.
caea3d
caea3d
* Sat Mar 14 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.32-1
caea3d
- fix ppc64 compile error
caea3d
caea3d
* Sat Mar 14 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.31-1
caea3d
- bump version for fedora cvs tagging mistake
caea3d
caea3d
* Sat Mar 14 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.30-1
caea3d
- track character set individually for each mapi element.
caea3d
- remove charset option from pst2ldif since we get that from each
caea3d
  object now.
caea3d
- avoid emitting bogus empty email messages into contacts and
caea3d
  calendar files.
caea3d
caea3d
* Tue Feb 24 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.29-1
caea3d
- fix for 64bit on Fedora 11
caea3d
caea3d
* Tue Feb 24 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.28-1
caea3d
- improve decoding of multipart/report and message/rfc822 mime types.
caea3d
- improve character set handling.
caea3d
- fix embedded rfc822 messages with attachments.
caea3d
caea3d
* Sat Feb 07 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.27-1
caea3d
- fix for const correctness on Fedora 11
caea3d
caea3d
* Sat Feb 07 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.26-1
caea3d
- patch from Fridrich Strba for building on mingw and general
caea3d
- cleanup of autoconf files.
caea3d
- add processing for pst files of type 0x0f.
caea3d
- strip and regenerate all MIME headers to avoid duplicates.
caea3d
- do a better job of making unique MIME boundaries.
caea3d
- only use base64 coding when strictly necessary.
caea3d
caea3d
* Fri Jan 16 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.25-1
caea3d
- improve handling of content-type charset values in mime parts
caea3d
caea3d
* Thu Dec 11 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.24-1
caea3d
- patch from Chris Eagle to build on cygwin
caea3d
caea3d
* Thu Dec 04 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.23-1
caea3d
- bump version to avoid cvs tagging mistake in fedora
caea3d
caea3d
* Fri Nov 28 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.22-1
caea3d
- patch from David Cuadrado to process emails with type PST_TYPE_OTHER
caea3d
- base64_encode_multiple() may insert newline, needs larger malloc
caea3d
- subject lines shorter than 2 bytes could segfault
caea3d
caea3d
* Tue Oct 21 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.21-1
caea3d
- fix title bug with old schema in pst2ldif.
caea3d
- also escape commas in distinguished names per rfc4514.
caea3d
caea3d
* Thu Oct 09 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.20-1
caea3d
- add configure option --enable-dii=no to remove dependency on libgd.
caea3d
- many fixes in pst2ldif by Robert Harris.
caea3d
- add -D option to include deleted items, from Justin Greer
caea3d
- fix from Justin Greer to add missing email headers
caea3d
- fix from Justin Greer for my_stristr()
caea3d
- fix for orphan children when building descriptor tree
caea3d
- avoid writing uninitialized data to debug log file
caea3d
- remove unreachable code
caea3d
- create dummy top-of-folder descriptor if needed for corrupt pst files
caea3d
caea3d
* Sun Sep 14 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.19-1
caea3d
- Fix base64 encoding that could create long lines.
caea3d
- Initial work on a .so shared library from Bharath Acharya.
caea3d
caea3d
* Thu Aug 28 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.18-1
caea3d
- Fixes for iconv on Mac from Justin Greer.
caea3d
caea3d
* Tue Aug 05 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.17-1
caea3d
- More fixes for 32/64 bit portability on big endian ppc.
caea3d
caea3d
* Tue Aug 05 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.16-1
caea3d
- Use inttypes.h for portable printing of 64 bit items.
caea3d
caea3d
* Wed Jul 30 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.15-1
caea3d
- Patch from Robert Simpson for file handle leak in error case.
caea3d
- Fix for missing length on lz decompression, bug found by Chris White.
caea3d
caea3d
* Sun Jun 15 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.14-1
caea3d
- Fix my mistake in debian packaging.
caea3d
caea3d
* Fri Jun 13 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.13-1
caea3d
- Patch from Robert Simpson for encryption type 2.
caea3d
caea3d
* Tue Jun 10 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.12-1
caea3d
- Patch from Joachim Metz for debian packaging and
caea3d
- fix for incorrect length on lz decompression
caea3d
caea3d
* Tue Jun 03 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.11-1
caea3d
- Use ftello/fseeko to properly handle large files.
caea3d
- Document and properly use datasize field in b5 blocks.
caea3d
- Fix some MSVC compile issues and collect MSVC dependencies into one place.
caea3d
caea3d
* Thu May 29 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.10-1
caea3d
- Patch from Robert Simpson for doubly-linked list code and arrays of unicode strings.
caea3d
caea3d
* Fri May 16 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.9
caea3d
- Patch from Joachim Metz for 64 bit compile.
caea3d
- Fix pst format documentation for 8 byte backpointers.
caea3d
caea3d
* Wed Mar 05 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.8
caea3d
- Initial version of pst2dii to convert to Summation dii load file format
caea3d
- changes for Fedora packaging guidelines (#434727)
caea3d
caea3d
* Tue Jul 10 2007 Carl Byington <carl@five-ten-sg.com> - 0.5.5
caea3d
- merge changes from Joe Nahmias version
caea3d
caea3d
* Sun Feb 19 2006 Carl Byington <carl@five-ten-sg.com> - 0.5.3
caea3d
- initial spec file using autoconf and http://www.fedora.us/docs/rpm-packaging-guidelines.html
caea3d