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