Author: megabajt                     Date: Sat Mar 21 17:27:34 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 0.6.34
- removed obsolete readpst-install.patch
- added -devel and -static subpackages, utilities moved to -tools subpackage

---- Files affected:
SPECS:
   libpst.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/libpst.spec
diff -u SPECS/libpst.spec:1.7 SPECS/libpst.spec:1.8
--- SPECS/libpst.spec:1.7       Mon Jul 28 01:05:13 2008
+++ SPECS/libpst.spec   Sat Mar 21 18:27:28 2009
@@ -1,56 +1,123 @@
 # $Revision$, $Date$
-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.
 
-Jest to odgałęzienie projektu libpst na sourceforge.
+%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.
+
+%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*
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -58,6 +125,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2009/03/21 17:27:28  megabajt
+- updated to 0.6.34
+- removed obsolete readpst-install.patch
+- added -devel and -static subpackages, utilities moved to -tools subpackage
+
 Revision 1.7  2008/07/27 23:05:13  arekm
 - release 3
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libpst.spec?r1=1.7&r2=1.8&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to