]> git.pld-linux.org Git - packages/libpst.git/commitdiff
- updated to 0.6.34 auto/th/libpst-0_6_34-1
authorMarcin Banasiak <marcin.banasiak@gmail.com>
Sat, 21 Mar 2009 17:27:28 +0000 (17:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- removed obsolete readpst-install.patch
- added -devel and -static subpackages, utilities moved to -tools subpackage

Changed files:
    libpst.spec -> 1.8

libpst.spec

index b2b672396aec2d59502a9dbbed0e92296630ce9f..3d0b91a39232e89d372fbc3401ca19aff22f8236 100644 (file)
-Summary:       Utility for converting Microsoft Outlook mail files
-Summary(pl.UTF-8):     Narzędzie do konwertowania plików wiadomości Microsoft Outlooka
+Summary:       Library for reading .pst files
+Summary(pl.UTF-8):     Biblioteka do czytania plików .pst
 Name:          libpst
-Version:       0.5.1
-Release:       3
-License:       GPL
-Group:         Applications
-Source0:       http://alioth.debian.org/download.php/844/%{name}-%{version}.tar.gz
-# Source0-md5: 0a80562bf7c503f9d3fdd96e0de10408
-Patch0:                readpst-install.patch
-URL:           http://alioth.debian.org/projects/libpst/
-Obsoletes:     readpst
+Version:       0.6.34
+Release:       1
+License:       GPL v2
+Group:         Libraries
+Source0:       http://www.five-ten-sg.com/libpst/packages/%{name}-%{version}.tar.gz
+# Source0-md5: 092067121a7f8c5f8bea8b3cdc31f5e6
+URL:           http://www.five-ten-sg.com/libpst/
+BuildRequires: ImageMagick
+BuildRequires: autoconf >= 2.59
+BuildRequires: automake
+BuildRequires: gd-devel
+BuildRequires: libstdc++-devel
+BuildRequires: libtool
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-readpst is a utility for converting Microsoft Outlook mail files
-(personal folders) to standard UNIX mbox format.
-
-This is a fork of the libpst project at sourceforge.
+Library for reading .pst files.
 
 %description -l pl.UTF-8
-readpst to narzędzie do konwertowania plików wiadomości programu
-Microsoft Outlook (osobistych katalogów) do standardowego formatu Unix
-mbox.
+Biblioteka do czytania plików .pst.
+
+%package devel
+Summary:       Header files for libpst library
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki libpst
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+Header files for libpst library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki libpst.
+
+%package static
+Summary:       Static libpst library
+Summary(pl.UTF-8):     Statyczna biblioteka libpst
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+
+%description static
+Static libpst library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka libpst.
+
+%package tools
+Summary:       Utilities for converting Microsoft Outlook .pst files
+Summary(pl.UTF-8):     Narzędzia do konwertowania plików .pst Microsoft Outlooka
+Group:         Applications
+Requires:      %{name} = %{version}-%{release}
+Requires:      ImageMagick
+Obsoletes:     readpst
+
+%description tools
+Utilities for converting Microsoft Outlook .pst files.
 
-Jest to odgałęzienie projektu libpst na sourceforge.
+%description tools -l pl.UTF-8
+Narzędzia do konwertowania plików .pst Microsoft Outlooka.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
-%{__make} \
-       CC="%{__cc}" \
-       CFLAGS="%{rpmcflags}"
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+       --enable-dii \
+       --enable-libpst-shared
+
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 %{__make} install \
-       PREFIX=%{_prefix} \
        DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS CREDITS ChangeLog FILE-FORMAT TODO
+%doc AUTHORS ChangeLog README TODO
+%attr(755,root,root) %{_libdir}/libpst.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libpst.so.1
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libpst.so
+%{_libdir}/libpst.la
+%{_includedir}/libpst
+%{_pkgconfigdir}/libpst.pc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libpst.a
+
+%files tools
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/lspst
+%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*
This page took 0.096739 seconds and 4 git commands to generate.