]> git.pld-linux.org Git - packages/libpst.git/commitdiff
- updated to 0.6.45 (new soname)
authorMarcin Banasiak <marcin.banasiak@gmail.com>
Thu, 25 Feb 2010 20:52:58 +0000 (20:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added -m4.patch and -asneeded.patch
- added python-libpst package

Changed files:
    libpst.spec -> 1.9

libpst.spec

index 3d0b91a39232e89d372fbc3401ca19aff22f8236..77d6ba04787c3be4affa9a8733d7ccdef6e55f12 100644 (file)
@@ -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
This page took 0.19528 seconds and 4 git commands to generate.