From: Marcin Banasiak Date: Thu, 25 Feb 2010 20:52:58 +0000 (+0000) Subject: - updated to 0.6.45 (new soname) X-Git-Tag: auto/th/libpst-0_6_45-1~1 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=8a1b1bd12a64aa444b90a8a3349288a70a69686b;p=packages%2Flibpst.git - updated to 0.6.45 (new soname) - added -m4.patch and -asneeded.patch - added python-libpst package Changed files: libpst.spec -> 1.9 --- diff --git a/libpst.spec b/libpst.spec index 3d0b91a..77d6ba0 100644 --- a/libpst.spec +++ b/libpst.spec @@ -1,16 +1,19 @@ Summary: Library for reading .pst files Summary(pl.UTF-8): Biblioteka do czytania plików .pst Name: libpst -Version: 0.6.34 +Version: 0.6.45 Release: 1 License: GPL v2 Group: Libraries Source0: http://www.five-ten-sg.com/libpst/packages/%{name}-%{version}.tar.gz -# Source0-md5: 092067121a7f8c5f8bea8b3cdc31f5e6 +# Source0-md5: c77174cd4566f4701a12948cbc7777a3 +Patch0: %{name}-m4.patch +Patch1: %{name}-asneeded.patch URL: http://www.five-ten-sg.com/libpst/ BuildRequires: ImageMagick BuildRequires: autoconf >= 2.59 BuildRequires: automake +BuildRequires: boost-python-devel BuildRequires: gd-devel BuildRequires: libstdc++-devel BuildRequires: libtool @@ -60,8 +63,21 @@ Utilities for converting Microsoft Outlook .pst files. %description tools -l pl.UTF-8 Narzędzia do konwertowania plików .pst Microsoft Outlooka. +%package -n python-libpst +Summary: libpst Python bindings +Summary(pl.UTF-8): Wiązania libpst dla Pythona +Group: Development/Languages/Python + +%description -n python-libpst +libpst Python bindings. + +%description -n python-libpst -l pl.UTF-8 +Wiązania libpst dla Pythona. + %prep %setup -q +%patch0 -p1 +%patch1 -p1 %build %{__libtoolize} @@ -81,6 +97,8 @@ rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT +rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.{a,la} + %clean rm -rf $RPM_BUILD_ROOT @@ -91,13 +109,13 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %doc AUTHORS ChangeLog README TODO %attr(755,root,root) %{_libdir}/libpst.so.*.*.* -%attr(755,root,root) %ghost %{_libdir}/libpst.so.1 +%attr(755,root,root) %ghost %{_libdir}/libpst.so.4 %files devel %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libpst.so %{_libdir}/libpst.la -%{_includedir}/libpst +%{_includedir}/libpst-4 %{_pkgconfigdir}/libpst.pc %files static @@ -110,10 +128,12 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{_bindir}/pst2dii %attr(755,root,root) %{_bindir}/pst2ldif %attr(755,root,root) %{_bindir}/readpst -%attr(755,root,root) %{_bindir}/readpstlog %{_mandir}/man1/lspst.1* %{_mandir}/man1/pst2dii.1* %{_mandir}/man1/pst2ldif.1* %{_mandir}/man1/readpst.1* -%{_mandir}/man1/readpstlog.1* %{_mandir}/man5/outlook.pst.5* + +%files -n python-libpst +%defattr(644,root,root,755) +%attr(755,root,root) %{py_sitedir}/_libpst.so