diff --git a/README.md b/README.md index 9acc202..8703245 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # libpst +This project provides libraries and applications for the conversion of Outlook and Outlook Express data files to Linux MBOX format. +The flagship of this project is LibPST which converts Outlook files. + diff --git a/libpst.spec b/libpst.spec new file mode 100644 index 0000000..8bebd8a --- /dev/null +++ b/libpst.spec @@ -0,0 +1,170 @@ +Name: libpst +Version: 0.6.63 +Release: 1mamba +Summary: A library for the conversion of Outlook and Outlook Express data files to Linux MBOX format +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.five-ten-sg.com/libpst/ +Source: http://www.five-ten-sg.com/libpst/packages/libpst-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libexpat-devel +BuildRequires: libfontconfig-devel +BuildRequires: libfreetype-devel +BuildRequires: libgcc +BuildRequires: libgd-devel +BuildRequires: libjpeg-devel +BuildRequires: libpng-devel +BuildRequires: libpython-devel +BuildRequires: libstdc++6-devel +BuildRequires: libX11-devel +BuildRequires: libXau-devel +BuildRequires: libxcb-devel +BuildRequires: libXdmcp-devel +BuildRequires: libXpm-devel +BuildRequires: libz-devel +BuildRequires: python-boost +BuildRequires: libboost-devel +## AUTOBUILDREQ-END +BuildRequires: python27 +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +This project provides libraries and applications for the conversion of Outlook and Outlook Express data files to Linux MBOX format. +The flagship of this project is LibPST which converts Outlook files. + +%package devel +Summary: Devel package for %{name} +Group: Development/Libraries +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +This project provides libraries and applications for the conversion of Outlook and Outlook Express data files to Linux MBOX format. +The flagship of this project is LibPST which converts Outlook files. + +This package contains static libraries and header files need for development. + +%package -n readpst +Summary: Converts Outlook PST files to mbox and others ta files +Group: Applications/File +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n readpst +This package provides applications for the conversion of Outlook and Outlook Express data files to Linux MBOX format. The flagship of this project is LibPST which converts Outlook files. + +%prep +%setup -q + +%build +%configure \ + --enable-libpst-shared \ + --enable-static \ + PYTHON_VERSION=%{python27_version} + +%make pythonlibdir=%{python27_sitearch} + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall pythonlibdir=%{python27_sitearch} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libpst.so.* +%{python27_sitearch}/_libpst.a +%{python27_sitearch}/_libpst.la +%{python27_sitearch}/_libpst.so +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/libpst-4 +%{_includedir}/libpst-4/libpst/* +%{_libdir}/libpst.a +%{_libdir}/libpst.la +%{_libdir}/libpst.so +%{_libdir}/pkgconfig/*.pc +%doc ChangeLog NEWS README TODO + +%files -n readpst +%defattr(-,root,root) +%{_bindir}/lspst +%{_bindir}/nick2ldif +%{_bindir}/pst2dii +%{_bindir}/pst2ldif +%{_bindir}/readpst +%{_mandir}/man1/lspst.1.gz +%{_mandir}/man1/pst2dii.1.gz +%{_mandir}/man1/pst2ldif.1.gz +%{_mandir}/man1/readpst.1.gz +%{_mandir}/man5/outlook.pst.5.gz + +%changelog +* Mon Jan 27 2014 Automatic Build System 0.6.63-1mamba +- automatic version update by autodist + +* Mon Dec 02 2013 Silvan Calarco 0.6.61-2mamba +- rebuilt with boost 1.55 + +* Mon Aug 12 2013 Automatic Build System 0.6.61-1mamba +- automatic update by autodist + +* Mon Jun 17 2013 Automatic Build System 0.6.60-1mamba +- automatic version update by autodist + +* Fri May 24 2013 Automatic Build System 0.6.59-1mamba +- automatic version update by autodist + +* Wed Jan 23 2013 Automatic Build System 0.6.58-1mamba +- automatic version update by autodist + +* Sat Aug 11 2012 Automatic Build System 0.6.55-1mamba +- automatic version update by autodist + +* Fri Apr 27 2012 Automatic Build System 0.6.54-1mamba +- automatic version update by autodist + +* Mon Jul 25 2011 Automatic Build System 0.6.53-1mamba +- automatic version update by autodist + +* Sun Jun 19 2011 Automatic Build System 0.6.52-1mamba +- automatic update by autodist + +* Thu May 12 2011 Automatic Build System 0.6.51-1mamba +- automatic update by autodist + +* Tue Dec 14 2010 Automatic Build System 0.6.49-2mamba +- automatic rebuild by autodist + +* Tue Sep 28 2010 Automatic Build System 0.6.49-1mamba +- automatic update by autodist + +* Fri Jul 16 2010 Automatic Build System 0.6.47-1mamba +- automatic update by autodist + +* Sun Jun 13 2010 Automatic Build System 0.6.45-2mamba +- automatic rebuild by autodist + +* Thu May 13 2010 Silvan Calarco 0.6.45-1mamba +- based on rewritten readpst specfile with shared libpst + +* Tue Apr 28 2009 Silvan Calarco 0.5.3-1mamba +- update to 0.5.3 + +* Fri Feb 03 2006 Davide Madrisan 0.5.1-2qilnx +- rebuilt + +* Fri Feb 04 2005 Silvan Calarco 0.5.1-1qilnx +- update to version 0.5.1 by autospec + +* Fri Oct 24 2003 Silvan Calarco +- first build +