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