Mercurial > libpst
comparison libpst.spec.in @ 176:ac6e22c8a9cf
build separate libpst, libpst-libs, libpst-devel rpms.
remove many functions from the interface by making them static.
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Wed, 08 Apr 2009 14:13:06 -0700 |
parents | c1a2fd06ffe6 |
children | 83cb32e41f80 |
comparison
equal
deleted
inserted
replaced
175:03dbd449290f | 176:ac6e22c8a9cf |
---|---|
6 Group: Applications/Productivity | 6 Group: Applications/Productivity |
7 Source: http://www.five-ten-sg.com/%{name}/packages/%{name}-%{version}.tar.gz | 7 Source: http://www.five-ten-sg.com/%{name}/packages/%{name}-%{version}.tar.gz |
8 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) | 8 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) |
9 URL: http://www.five-ten-sg.com/%{name}/ | 9 URL: http://www.five-ten-sg.com/%{name}/ |
10 Requires: ImageMagick | 10 Requires: ImageMagick |
11 Requires: %{name}-libs = %{version}-%{release} | |
11 BuildRequires: ImageMagick freetype-devel gd-devel libjpeg-devel zlib-devel | 12 BuildRequires: ImageMagick freetype-devel gd-devel libjpeg-devel zlib-devel |
12 | |
13 | 13 |
14 %description | 14 %description |
15 The Libpst utilities include readpst which can convert email messages | 15 The Libpst utilities include readpst which can convert email messages |
16 to both mbox and MH mailbox formats, pst2ldif which can convert the | 16 to both mbox and MH mailbox formats, pst2ldif which can convert the |
17 contacts to .ldif format for import into ldap databases, and pst2dii | 17 contacts to .ldif format for import into ldap databases, and pst2dii |
18 which can convert email messages to the DII load file format used by | 18 which can convert email messages to the DII load file format used by |
19 Summation. | 19 Summation. |
20 | 20 |
21 | 21 |
22 %package libs | |
23 Summary: Shared library used by the pst utilities | |
24 Group: Development/Libraries | |
25 | |
26 %description libs | |
27 libpst-libs contains the shared library used by the pst utilities. | |
28 | |
29 | |
30 %package devel | |
31 Summary: Library links and header files for libpst application development | |
32 Group: Development/Libraries | |
33 Requires: pkgconfig freetype-devel gd-devel libjpeg-devel zlib-devel | |
34 Requires: %{name}-libs = %{version}-%{release} | |
35 | |
36 %description devel | |
37 libpst-devel contains the library links and header fles you'll | |
38 need to develop applications using the libpst shared library. | |
39 You do not need to install it if you just want to use the libpst | |
40 utilities. | |
41 | |
42 | |
43 | |
22 %prep | 44 %prep |
23 %setup -q | 45 %setup -q |
24 | 46 |
25 | 47 |
26 %build | 48 %build |
27 %configure | 49 %configure --enable-libpst-shared |
28 make %{?_smp_mflags} | 50 make %{?_smp_mflags} |
29 | 51 |
30 | 52 |
31 %install | 53 %install |
32 rm -rf $RPM_BUILD_ROOT | 54 rm -rf $RPM_BUILD_ROOT |
33 make DESTDIR=$RPM_BUILD_ROOT install | 55 make DESTDIR=$RPM_BUILD_ROOT install |
56 rm $RPM_BUILD_ROOT%{_libdir}/libpst.la | |
57 rm $RPM_BUILD_ROOT%{_libdir}/libpst.a | |
34 | 58 |
35 | 59 |
36 %clean | 60 %clean |
37 rm -rf $RPM_BUILD_ROOT | 61 rm -rf $RPM_BUILD_ROOT |
62 | |
63 | |
64 %post libs -p /sbin/ldconfig | |
65 | |
66 | |
67 %postun libs -p /sbin/ldconfig | |
38 | 68 |
39 | 69 |
40 %files | 70 %files |
41 %defattr(-,root,root,-) | 71 %defattr(-,root,root,-) |
42 %{_bindir}/* | 72 %{_bindir}/* |
44 %{_mandir}/man5/* | 74 %{_mandir}/man5/* |
45 %docdir %{_datadir}/doc/%{name}-%{version} | 75 %docdir %{_datadir}/doc/%{name}-%{version} |
46 %{_datadir}/doc/%{name}-%{version} | 76 %{_datadir}/doc/%{name}-%{version} |
47 | 77 |
48 | 78 |
79 %files libs | |
80 %{_libdir}/libpst.so.* | |
81 | |
82 | |
83 %files devel | |
84 %{_libdir}/libpst.so | |
85 %dir %{_includedir}/%{name}-@LIBPST_SO_MAJOR@ | |
86 %{_includedir}/%{name}-@LIBPST_SO_MAJOR@/* | |
87 %{_libdir}/pkgconfig/libpst.pc | |
88 | |
89 | |
49 %changelog | 90 %changelog |
91 * Wed Apr 08 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.35-1 | |
92 - properly add trailing mime boundary in all modes. | |
93 - build separate libpst, libpst-libs, libpst-devel rpms. | |
94 | |
50 * Thu Mar 19 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.34-1 | 95 * Thu Mar 19 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.34-1 |
51 - avoid putting mixed item types into the same output folder. | 96 - avoid putting mixed item types into the same output folder. |
52 | 97 |
53 * Tue Mar 17 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.33-1 | 98 * Tue Mar 17 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.33-1 |
54 - compensate for iconv conversion to utf-7 that produces strings that | 99 - compensate for iconv conversion to utf-7 that produces strings that |