]>
Commit | Line | Data |
---|---|---|
31608406 MB |
1 | Summary: Library for reading .pst files |
2 | Summary(pl.UTF-8): Biblioteka do czytania plików .pst | |
790368a3 | 3 | Name: libpst |
31608406 MB |
4 | Version: 0.6.34 |
5 | Release: 1 | |
6 | License: GPL v2 | |
7 | Group: Libraries | |
8 | Source0: http://www.five-ten-sg.com/libpst/packages/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 092067121a7f8c5f8bea8b3cdc31f5e6 | |
10 | URL: http://www.five-ten-sg.com/libpst/ | |
11 | BuildRequires: ImageMagick | |
12 | BuildRequires: autoconf >= 2.59 | |
13 | BuildRequires: automake | |
14 | BuildRequires: gd-devel | |
15 | BuildRequires: libstdc++-devel | |
16 | BuildRequires: libtool | |
790368a3 JB |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
18 | ||
19 | %description | |
31608406 | 20 | Library for reading .pst files. |
790368a3 | 21 | |
5cca55a2 | 22 | %description -l pl.UTF-8 |
31608406 MB |
23 | Biblioteka do czytania plików .pst. |
24 | ||
25 | %package devel | |
26 | Summary: Header files for libpst library | |
27 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libpst | |
28 | Group: Development/Libraries | |
29 | Requires: %{name} = %{version}-%{release} | |
30 | ||
31 | %description devel | |
32 | Header files for libpst library. | |
33 | ||
34 | %description devel -l pl.UTF-8 | |
35 | Pliki nagłówkowe biblioteki libpst. | |
36 | ||
37 | %package static | |
38 | Summary: Static libpst library | |
39 | Summary(pl.UTF-8): Statyczna biblioteka libpst | |
40 | Group: Development/Libraries | |
41 | Requires: %{name}-devel = %{version}-%{release} | |
42 | ||
43 | %description static | |
44 | Static libpst library. | |
45 | ||
46 | %description static -l pl.UTF-8 | |
47 | Statyczna biblioteka libpst. | |
48 | ||
49 | %package tools | |
50 | Summary: Utilities for converting Microsoft Outlook .pst files | |
51 | Summary(pl.UTF-8): Narzędzia do konwertowania plików .pst Microsoft Outlooka | |
52 | Group: Applications | |
53 | Requires: %{name} = %{version}-%{release} | |
54 | Requires: ImageMagick | |
55 | Obsoletes: readpst | |
56 | ||
57 | %description tools | |
58 | Utilities for converting Microsoft Outlook .pst files. | |
34878604 | 59 | |
31608406 MB |
60 | %description tools -l pl.UTF-8 |
61 | Narzędzia do konwertowania plików .pst Microsoft Outlooka. | |
790368a3 JB |
62 | |
63 | %prep | |
b18e1b26 | 64 | %setup -q |
790368a3 JB |
65 | |
66 | %build | |
31608406 MB |
67 | %{__libtoolize} |
68 | %{__aclocal} -I m4 | |
69 | %{__autoconf} | |
70 | %{__autoheader} | |
71 | %{__automake} | |
72 | %configure \ | |
73 | --enable-dii \ | |
74 | --enable-libpst-shared | |
75 | ||
76 | %{__make} | |
790368a3 JB |
77 | |
78 | %install | |
79 | rm -rf $RPM_BUILD_ROOT | |
31608406 | 80 | |
34878604 | 81 | %{__make} install \ |
34878604 | 82 | DESTDIR=$RPM_BUILD_ROOT |
790368a3 JB |
83 | |
84 | %clean | |
85 | rm -rf $RPM_BUILD_ROOT | |
86 | ||
31608406 MB |
87 | %post -p /sbin/ldconfig |
88 | %postun -p /sbin/ldconfig | |
89 | ||
790368a3 JB |
90 | %files |
91 | %defattr(644,root,root,755) | |
31608406 MB |
92 | %doc AUTHORS ChangeLog README TODO |
93 | %attr(755,root,root) %{_libdir}/libpst.so.*.*.* | |
94 | %attr(755,root,root) %ghost %{_libdir}/libpst.so.1 | |
95 | ||
96 | %files devel | |
97 | %defattr(644,root,root,755) | |
98 | %attr(755,root,root) %{_libdir}/libpst.so | |
99 | %{_libdir}/libpst.la | |
100 | %{_includedir}/libpst | |
101 | %{_pkgconfigdir}/libpst.pc | |
102 | ||
103 | %files static | |
104 | %defattr(644,root,root,755) | |
105 | %{_libdir}/libpst.a | |
106 | ||
107 | %files tools | |
108 | %defattr(644,root,root,755) | |
109 | %attr(755,root,root) %{_bindir}/lspst | |
110 | %attr(755,root,root) %{_bindir}/pst2dii | |
111 | %attr(755,root,root) %{_bindir}/pst2ldif | |
34878604 ER |
112 | %attr(755,root,root) %{_bindir}/readpst |
113 | %attr(755,root,root) %{_bindir}/readpstlog | |
31608406 MB |
114 | %{_mandir}/man1/lspst.1* |
115 | %{_mandir}/man1/pst2dii.1* | |
116 | %{_mandir}/man1/pst2ldif.1* | |
34878604 ER |
117 | %{_mandir}/man1/readpst.1* |
118 | %{_mandir}/man1/readpstlog.1* | |
31608406 | 119 | %{_mandir}/man5/outlook.pst.5* |