]> git.pld-linux.org Git - packages/libpst.git/blame - libpst.spec
- updated to 0.6.59
[packages/libpst.git] / libpst.spec
CommitLineData
c66895d8
ER
1#
2# Conditional build:
3%bcond_without static_libs # don't build static libraries
35f6d1e2 4#
31608406
MB
5Summary: Library for reading .pst files
6Summary(pl.UTF-8): Biblioteka do czytania plików .pst
790368a3 7Name: libpst
762b0f98 8Version: 0.6.59
b937826e 9Release: 1
5b65699d 10License: GPL v2+
31608406
MB
11Group: Libraries
12Source0: http://www.five-ten-sg.com/libpst/packages/%{name}-%{version}.tar.gz
762b0f98 13# Source0-md5: 5805ee18944b1e2579717f0061c22c2b
31608406
MB
14URL: http://www.five-ten-sg.com/libpst/
15BuildRequires: ImageMagick
16BuildRequires: autoconf >= 2.59
17BuildRequires: automake
8a1b1bd1 18BuildRequires: boost-python-devel
31608406 19BuildRequires: gd-devel
762b0f98 20BuildRequires: libgsf-devel
31608406
MB
21BuildRequires: libstdc++-devel
22BuildRequires: libtool
8cc9c34d 23BuildRequires: python-devel
24BuildRequires: python-modules
25BuildRequires: rpm-pythonprov
790368a3
JB
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
1f2cd581 29Library for reading PST (MS Outlook Personal Folders) files.
790368a3 30
5cca55a2 31%description -l pl.UTF-8
31608406
MB
32Biblioteka do czytania plików .pst.
33
34%package devel
35Summary: Header files for libpst library
36Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libpst
37Group: Development/Libraries
38Requires: %{name} = %{version}-%{release}
39
40%description devel
41Header files for libpst library.
42
43%description devel -l pl.UTF-8
44Pliki nagłówkowe biblioteki libpst.
45
46%package static
47Summary: Static libpst library
48Summary(pl.UTF-8): Statyczna biblioteka libpst
49Group: Development/Libraries
50Requires: %{name}-devel = %{version}-%{release}
51
52%description static
53Static libpst library.
54
55%description static -l pl.UTF-8
56Statyczna biblioteka libpst.
57
58%package tools
59Summary: Utilities for converting Microsoft Outlook .pst files
60Summary(pl.UTF-8): Narzędzia do konwertowania plików .pst Microsoft Outlooka
61Group: Applications
62Requires: %{name} = %{version}-%{release}
63Requires: ImageMagick
64Obsoletes: readpst
65
66%description tools
67Utilities for converting Microsoft Outlook .pst files.
34878604 68
31608406
MB
69%description tools -l pl.UTF-8
70Narzędzia do konwertowania plików .pst Microsoft Outlooka.
790368a3 71
8a1b1bd1
MB
72%package -n python-libpst
73Summary: libpst Python bindings
74Summary(pl.UTF-8): Wiązania libpst dla Pythona
75Group: Development/Languages/Python
76
77%description -n python-libpst
78libpst Python bindings.
79
80%description -n python-libpst -l pl.UTF-8
81Wiązania libpst dla Pythona.
82
790368a3 83%prep
b18e1b26 84%setup -q
790368a3
JB
85
86%build
31608406
MB
87%{__libtoolize}
88%{__aclocal} -I m4
89%{__autoconf}
90%{__autoheader}
91%{__automake}
92%configure \
c66895d8 93 %{!?with_static_libs:--disable-static} \
31608406
MB
94 --enable-dii \
95 --enable-libpst-shared
96
97%{__make}
790368a3
JB
98
99%install
100rm -rf $RPM_BUILD_ROOT
a624d136 101install -d $RPM_BUILD_ROOT%{py_sitedir}
31608406 102
34878604 103%{__make} install \
34878604 104 DESTDIR=$RPM_BUILD_ROOT
790368a3 105
c66895d8 106rm -f $RPM_BUILD_ROOT%{py_sitedir}/_libpst.{a,la}
8a1b1bd1 107
790368a3
JB
108%clean
109rm -rf $RPM_BUILD_ROOT
110
31608406
MB
111%post -p /sbin/ldconfig
112%postun -p /sbin/ldconfig
113
790368a3
JB
114%files
115%defattr(644,root,root,755)
558bf123 116%doc AUTHORS ChangeLog NEWS README TODO
31608406 117%attr(755,root,root) %{_libdir}/libpst.so.*.*.*
8a1b1bd1 118%attr(755,root,root) %ghost %{_libdir}/libpst.so.4
31608406
MB
119
120%files devel
121%defattr(644,root,root,755)
122%attr(755,root,root) %{_libdir}/libpst.so
123%{_libdir}/libpst.la
8a1b1bd1 124%{_includedir}/libpst-4
31608406
MB
125%{_pkgconfigdir}/libpst.pc
126
c66895d8 127%if %{with static_libs}
31608406
MB
128%files static
129%defattr(644,root,root,755)
130%{_libdir}/libpst.a
c66895d8 131%endif
31608406
MB
132
133%files tools
134%defattr(644,root,root,755)
135%attr(755,root,root) %{_bindir}/lspst
558bf123 136%attr(755,root,root) %{_bindir}/nick2ldif
31608406
MB
137%attr(755,root,root) %{_bindir}/pst2dii
138%attr(755,root,root) %{_bindir}/pst2ldif
34878604 139%attr(755,root,root) %{_bindir}/readpst
31608406
MB
140%{_mandir}/man1/lspst.1*
141%{_mandir}/man1/pst2dii.1*
142%{_mandir}/man1/pst2ldif.1*
34878604 143%{_mandir}/man1/readpst.1*
31608406 144%{_mandir}/man5/outlook.pst.5*
8a1b1bd1
MB
145
146%files -n python-libpst
147%defattr(644,root,root,755)
148%attr(755,root,root) %{py_sitedir}/_libpst.so
This page took 0.061553 seconds and 4 git commands to generate.