Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release-src > by-pkgid > ffe6c956802779736adc9ccaaf7295df > files > 3

libpst-0.6.61-9.mga5.src.rpm

%define major 4
%define libname	%mklibname pst %{major}
%define develname %mklibname -d pst

Summary:            Utilities to convert Outlook .pst files to other formats
Name:               libpst
Epoch:              1
Version:            0.6.61
Release:            %mkrel 9
License:            GPLv2+
Group:              Networking/Mail
Source:             http://www.five-ten-sg.com/%{name}/packages/%{name}-%{version}.tar.gz
Patch0:	            libpst-0.6.45-linkage.patch
URL:                http://www.five-ten-sg.com/%{name}/
Requires:           ImageMagick
Requires:	    %{libname} = %{epoch}:%{version}
BuildRequires:      ImageMagick
BuildRequires:      freetype-devel
BuildRequires:      gd-devel
BuildRequires:      jpeg-devel
BuildRequires:      zlib-devel
BuildRequires:      gettext-devel
BuildRequires:      python-devel
BuildRequires:      boost-devel
BuildRequires:      pkgconfig(libgsf-1)
Obsoletes:	    pst-utils
Provides:	    pst-utils

%description
The Libpst utilities include readpst which can convert email messages
to both mbox and MH mailbox formats, pst2ldif which can convert the
contacts to .ldif format for import into ldap databases, and pst2dii
which can convert email messages to the DII load file format used by
Summation.

%package -n	%{libname}
Summary:	A shared library for .pst files support
Group:          System/Libraries

%description -n	%{libname}
Library needed for running libpst tools.

%package -n	%{develname}
Summary:	Library and header files for the libpst library
Group:		Development/C
Provides:	%{name}-devel = %{epoch}:%{version}
Requires:	%{libname} = %{epoch}:%{version}

%description -n	%{develname}
Library and header files for the libpst library.

%package -n python-%name
Summary:	Python binding for the libpst library
Group:		Development/Python
Requires:	%libname = %epoch:%version-%release

%description -n	python-%name
Python module for using pst files.

%prep
%setup -q
%patch0 -p0

%build
%configure2_5x --enable-libpst-shared --enable-shared --disable-static
%make

%install
%makeinstall_std

find %{buildroot} -name '*.la' -delete

%files
%{_bindir}/*
%{_mandir}/man1/*
%{_mandir}/man5/*
%docdir %{_datadir}/doc/%{name}-%{version}
%{_datadir}/doc/%{name}-%{version}

%files -n %{libname}
%{_libdir}/*.so.%{major}*

%files -n %{develname}
%{_includedir}/libpst-4/
%{_libdir}/*.so
%{_libdir}/pkgconfig/%{name}.pc

%files -n python-%name
%py_platsitedir/_libpst.so


%changelog
* Mon Feb 16 2015 oden <oden> 1:0.6.61-9.mga5
+ Revision: 815148
- rebuilt for libgd-2.1.1

* Wed Oct 15 2014 umeabot <umeabot> 1:0.6.61-8.mga5
+ Revision: 742689
- Second Mageia 5 Mass Rebuild

* Sat Sep 27 2014 tv <tv> 1:0.6.61-7.mga5
+ Revision: 726843
- rebuild for missing pythoneggs deps

* Fri Sep 26 2014 wally <wally> 1:0.6.61-6.mga5
+ Revision: 724881
- define Epoch before it's used

  + oden <oden>
    - attempt to fix: libpst-0.6.61-4.mga5.x86_64 (due to unsatisfied lib64pst4[== %%{epoch}:0.6.61])

* Tue Sep 16 2014 umeabot <umeabot> 1:0.6.61-4.mga5
+ Revision: 681723
- Mageia 5 Mass Rebuild

* Sat Feb 08 2014 barjac <barjac> 1:0.6.61-3.mga5
+ Revision: 586671
- rebuild against boost-1.55

* Sat Oct 19 2013 umeabot <umeabot> 1:0.6.61-2.mga4
+ Revision: 531649
- Mageia 4 Mass Rebuild

* Wed Aug 07 2013 sander85 <sander85> 1:0.6.61-1.mga4
+ Revision: 464478
- New version: 0.6.61

* Mon Jul 08 2013 fwang <fwang> 1:0.6.59-2.mga4
+ Revision: 451135
- rebuild for new boost

* Tue May 28 2013 fwang <fwang> 1:0.6.59-1.mga4
+ Revision: 429343
- add br
- new version 0.6.59

* Tue May 28 2013 oden <oden> 1:0.6.55-5.mga4
+ Revision: 429285
- rebuilt against libgd.so.3

* Wed Apr 10 2013 malo <malo> 1:0.6.55-4.mga3
+ Revision: 409464
- rebuild for boost 1.53

* Sat Jan 12 2013 umeabot <umeabot> 1:0.6.55-3.mga3
+ Revision: 358012
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Thu Dec 20 2012 fwang <fwang> 1:0.6.55-2.mga3
+ Revision: 333069
- rebuild for new boost

* Fri Sep 14 2012 fwang <fwang> 1:0.6.55-1.mga3
+ Revision: 293756
- new version 0.6.55

* Wed Aug 01 2012 fwang <fwang> 1:0.6.54-3.mga3
+ Revision: 276865
- rebuild for new boost

* Tue May 29 2012 ovitters <ovitters> 1:0.6.54-2.mga3
+ Revision: 249437
- rebuild due to new boost

* Tue Jan 03 2012 fwang <fwang> 1:0.6.54-1.mga2
+ Revision: 189945
- new version 0.6.54

* Mon Nov 28 2011 fwang <fwang> 1:0.6.53-2.mga2
+ Revision: 173622
- rebuild for new boost
- rebuild for new boost

  + tv <tv>
    - new release
    - disabled static build

* Wed Jun 29 2011 fwang <fwang> 1:0.6.52-1.mga2
+ Revision: 115631
- new version 0.6.52

* Wed Jun 22 2011 fwang <fwang> 1:0.6.49-3.mga2
+ Revision: 112071
- use mt flavour of boost
- rebuild for new boost

* Sun Jan 23 2011 pterjan <pterjan> 1:0.6.49-2.mga1
+ Revision: 35407
- imported package libpst