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