]> git.pld-linux.org Git - packages/libpst.git/blame - libpst.spec
- install _libpst.so in proper place
[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
a624d136 5Release: 3
31608406
MB
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
a624d136 99install -d $RPM_BUILD_ROOT%{py_sitedir}
31608406 100
34878604 101%{__make} install \
34878604 102 DESTDIR=$RPM_BUILD_ROOT
790368a3 103
a624d136 104install python/.libs/_libpst.so $RPM_BUILD_ROOT%{py_sitedir}
8a1b1bd1 105
790368a3
JB
106%clean
107rm -rf $RPM_BUILD_ROOT
108
31608406
MB
109%post -p /sbin/ldconfig
110%postun -p /sbin/ldconfig
111
790368a3
JB
112%files
113%defattr(644,root,root,755)
31608406
MB
114%doc AUTHORS ChangeLog README TODO
115%attr(755,root,root) %{_libdir}/libpst.so.*.*.*
8a1b1bd1 116%attr(755,root,root) %ghost %{_libdir}/libpst.so.4
31608406
MB
117
118%files devel
119%defattr(644,root,root,755)
120%attr(755,root,root) %{_libdir}/libpst.so
121%{_libdir}/libpst.la
8a1b1bd1 122%{_includedir}/libpst-4
31608406
MB
123%{_pkgconfigdir}/libpst.pc
124
125%files static
126%defattr(644,root,root,755)
127%{_libdir}/libpst.a
128
129%files tools
130%defattr(644,root,root,755)
131%attr(755,root,root) %{_bindir}/lspst
132%attr(755,root,root) %{_bindir}/pst2dii
133%attr(755,root,root) %{_bindir}/pst2ldif
34878604 134%attr(755,root,root) %{_bindir}/readpst
31608406
MB
135%{_mandir}/man1/lspst.1*
136%{_mandir}/man1/pst2dii.1*
137%{_mandir}/man1/pst2ldif.1*
34878604 138%{_mandir}/man1/readpst.1*
31608406 139%{_mandir}/man5/outlook.pst.5*
8a1b1bd1
MB
140
141%files -n python-libpst
142%defattr(644,root,root,755)
143%attr(755,root,root) %{py_sitedir}/_libpst.so
This page took 0.134579 seconds and 4 git commands to generate.