]> git.pld-linux.org Git - packages/libpst.git/blob - libpst.spec
- updated to 0.6.34
[packages/libpst.git] / libpst.spec
1 Summary:        Library for reading .pst files
2 Summary(pl.UTF-8):      Biblioteka do czytania plików .pst
3 Name:           libpst
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
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Library for reading .pst files.
21
22 %description -l pl.UTF-8
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.
59
60 %description tools -l pl.UTF-8
61 Narzędzia do konwertowania plików .pst Microsoft Outlooka.
62
63 %prep
64 %setup -q
65
66 %build
67 %{__libtoolize}
68 %{__aclocal} -I m4
69 %{__autoconf}
70 %{__autoheader}
71 %{__automake}
72 %configure \
73         --enable-dii \
74         --enable-libpst-shared
75
76 %{__make}
77
78 %install
79 rm -rf $RPM_BUILD_ROOT
80
81 %{__make} install \
82         DESTDIR=$RPM_BUILD_ROOT
83
84 %clean
85 rm -rf $RPM_BUILD_ROOT
86
87 %post   -p /sbin/ldconfig
88 %postun -p /sbin/ldconfig
89
90 %files
91 %defattr(644,root,root,755)
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
112 %attr(755,root,root) %{_bindir}/readpst
113 %attr(755,root,root) %{_bindir}/readpstlog
114 %{_mandir}/man1/lspst.1*
115 %{_mandir}/man1/pst2dii.1*
116 %{_mandir}/man1/pst2ldif.1*
117 %{_mandir}/man1/readpst.1*
118 %{_mandir}/man1/readpstlog.1*
119 %{_mandir}/man5/outlook.pst.5*
This page took 0.253638 seconds and 4 git commands to generate.